1 #ifndef CALORECO_EMCCLUSTER_H
2 #define CALORECO_EMCCLUSTER_H
25 EmcModule(
int ich_,
float amp_,
float tof_);
105 float& pxx,
float& pxy,
float& pyy);
111 int GetSubClusters(std::vector<EmcCluster>* sClList, std::vector<EmcModule>* ppeaks);
112 float GetProb(
float& chi2,
int& ndf);
127 static int max(
int a,
int b)
129 return a > b ? a : b;
131 static float max(
float a,
float b)
133 return a > b ? a : b;
135 static double max(
double a,
double b)
137 return a > b ? a : b;
140 static int min(
int a,
int b)
142 return a < b ? a : b;
144 static float min(
float a,
float b)
146 return a < b ? a : b;
148 static double min(
double a,
double b)
150 return a < b ? a : b;
168 return x < 0. ? int(x - 1) : int(x);