13 #include "CLHEP/Vector/LorentzVector.h"
26 const std::vector<double>&
e1e9Cut,
28 const std::vector<double>&
eSeLCut,
49 double lowC = 0.00911;
51 double logSlope = 0.0146;
52 double logIntercept = -0.00988;
56 else if ((logel > 1.25) && (logel <= 2))
57 corEta += (logIntercept + logSlope * logel) *
sgn;
79 double corEnergy =
original.energy();
82 double energyCorrect = 0.7397;
83 corEnergy = corEnergy / energyCorrect;
87 double etabounds[30] = {
88 2.846, 2.957, 3.132, 3.307, 3.482, 3.657, 3.833, 4.006, 4.184, 4.357, 4.532, 4.709, 4.882, 5.184};
89 for (
int kk = 0;
kk <= 12;
kk++) {
90 if ((fabs(corEta) < etabounds[
kk + 1]) && (fabs(corEta) > etabounds[
kk])) {
91 ieta = (corEta > 0) ? (
kk + 29) : (-
kk - 29);
100 double corPx = corEnergy *
cos(corPhi) / cosh(corEta);
101 double corPy = corEnergy *
sin(corPhi) / cosh(corEta);
102 double corPz = corEnergy * tanh(corEta);
115 for (
unsigned int i = 0;
i < SuperClusters->size(); ++
i) {
124 double pz = supClus.
energy() * tanh(supClus.
eta());
136 bool isAcceptable =
true;
137 isAcceptable = isAcceptable && (e9e25 >
m_e9e25Cut);
144 theCand.setSuperCluster(theClusRef);
145 RecoECand.push_back(theCand);