1 #ifndef _PNDSDSCHARGEWEIGHTINGALGORITHMS_H 2 #define _PNDSDSCHARGEWEIGHTINGALGORITHMS_H 6 #include "TClonesArray.h" 28 : TObject(other), fDigiArray(other.fDigiArray), fCalcStrip(other.fCalcStrip), fChargeConverter(other.fChargeConverter), fVerbose(other.fVerbose){};
32 fDigiArray = other.fDigiArray;
33 fCalcStrip = other.fCalcStrip;
34 fChargeConverter = other.fChargeConverter;
35 fVerbose = other.fVerbose;
78 std::pair<Double_t, Double_t>
Eta(
const PndSdsCluster *Cluster,
const TH2F *PosVsEta);
80 std::pair<Double_t, Double_t>
EtaValue(
const PndSdsCluster *Cluster, Double_t &stripno, Int_t &NmbOfStrips);
141 Double_t DigiCharge(Int_t digiIndex);
142 Double_t DigiChargeError(Int_t digiIndex);
143 Int_t DigiStripno(Int_t digiIndex);
144 Double_t Erfmod(Double_t x, Double_t p0, Double_t p1, Double_t p2, Double_t p3);
145 TClonesArray *fDigiArray;
std::pair< Double_t, Double_t > HeadTail(const PndSdsCluster *Cluster)
std::pair< Double_t, Double_t > CenterOfGravity(const PndSdsCluster *Cluster)
std::pair< Double_t, Double_t > Median(const PndSdsCluster *Cluster)
std::pair< Double_t, Double_t > AutoSelect(const PndSdsCluster *Cluster)
std::pair< Double_t, Double_t > Binary(const PndSdsCluster *Cluster)
void SetCalcStrip(PndSdsCalcStrip *calc)
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
PndSdsChargeWeightingAlgorithms(TClonesArray *arr)
std::pair< Double_t, Double_t > EtaValue(const PndSdsCluster *Cluster, Double_t &stripno, Int_t &NmbOfStrips)
Class for calculating strip indices from wafer hits.
void SetChargeConverter(PndSdsChargeConversion *ChargeConverter)
PndSdsChargeWeightingAlgorithms(PndSdsChargeWeightingAlgorithms &other)
void SetVerbose(Int_t level=0)
std::pair< Double_t, Double_t > Eta(const PndSdsCluster *Cluster, const TH2F *PosVsEta)
virtual ~PndSdsChargeWeightingAlgorithms()
PndSdsChargeWeightingAlgorithms & operator=(PndSdsChargeWeightingAlgorithms &other)
void SetDigiArray(TClonesArray *darray)