Belle II Software development
SVDSumSamplesCharge.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include <svd/reconstruction/SVDSumSamplesCharge.h>
10#include <TMath.h>
11
12using namespace std;
13
14namespace Belle2 {
20 namespace SVD {
21
22 void SVDSumSamplesCharge::computeClusterCharge(Belle2::SVD::RawCluster& rawCluster, double& charge, double& SNR, double& seedCharge)
23 {
24 applySumSamplesCharge(rawCluster, charge, SNR, seedCharge);
25 }
26
27
28 } //SVD namespace
30} //Belle2 namespace
Class representing a raw cluster candidate during clustering of the SVD.
Definition: RawCluster.h:33
void applySumSamplesCharge(const Belle2::SVD::RawCluster &rawCluster, double &charge, double &SNR, double &seedCharge)
SumSamples Charge Algorithm.
void computeClusterCharge(Belle2::SVD::RawCluster &rawCluster, double &charge, double &SNR, double &seedCharge) override
compute the cluster charge, charge error and SNR with SumSample
Abstract base class for different kinds of events.
STL namespace.