36 Clusterizer(
bool applyCorrectionZ = 1,
bool applyCorrectionE = 1);
40 void findClusters(
const gsl::span<const Digit>&
digits, std::vector<Cluster>& foundClusters, std::vector<Cluster>& unfoldedClusters);
42 void makeUnfoldings(std::vector<Cluster>& foundClusters, std::vector<Cluster>& unfoldedClusters);
43 void unfoldOneCluster(
Cluster* iniClu,
int nMax,
int* digitId,
float* maxAtEnergy, std::vector<Cluster>& unfoldedClusters);
46 double showerShape(
double dx,
double dz,
bool isCrystal);
57 std::vector<std::vector<int>> mDigitIndices;
58 bool mUnfoldClusters =
true;
59 double mCrystalDigitThreshold = 0.040;
60 double mSamplingDigitThreshold = 0.100;
61 double mClusteringThreshold = 0.050;
62 double mClusteringTimeGate = 1e9;
64 double mLogWeight = 4.;
65 double mUnfogingEAccuracy = 1.e-4;
66 double mUnfogingXZAccuracy = 1.e-2;
67 int mNMaxIterations = 100;
68 double mLocalMaximumCut = 0.015;
69 bool mApplyCorrectionZ = 1;
70 bool mApplyCorrectionE = 1;
71 TF1* fCrystalShowerShape;
72 TF1* fSamplingShowerShape;
74 std::vector<double> mCrystalEnergyCorrectionPars;
75 std::vector<double> mSamplingEnergyCorrectionPars;
76 std::vector<double> mCrystalZCorrectionPars;
77 std::vector<double> mSamplingZCorrectionPars;