Belle II Software prerelease-10-00-00a
SVDMaxSampleCharge.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/SVDMaxSampleCharge.h>
10#include <TMath.h>
11
12using namespace std;
13
14namespace Belle2 {
19
20 namespace SVD {
21
22
23 void SVDMaxSampleCharge::computeClusterCharge(Belle2::SVD::RawCluster& rawCluster, double& charge, double& SNR, double& seedCharge)
24 {
25 applyMaxSampleCharge(rawCluster, charge, SNR, seedCharge);
26 }
27
28 } //SVD namespace
30} //Belle2 namespace
Class representing a raw cluster candidate during clustering of the SVD.
Definition RawCluster.h:33
void applyMaxSampleCharge(const Belle2::SVD::RawCluster &rawCluster, double &charge, double &SNR, double &seedCharge)
MaxSample Charge Algorithm.
void computeClusterCharge(Belle2::SVD::RawCluster &rawCluster, double &charge, double &SNR, double &seedCharge) override
compute the cluster charge, charge error and SNR with MaxSample
Namespace to encapsulate code needed for simulation and reconstrucion of the SVD.
Abstract base class for different kinds of events.
STL namespace.