10 float en = superCluster.
energy();
11 float eta = fabs(superCluster.
eta());
12 float et = en/cosh(eta);
20 if ( eta < 1.5 ) offset = 0;
21 else if ( eta >= 1.5 ) offset = 36;
30 if ( mode == 0 ) offset += 0;
31 else if ( mode == -1 ) offset += 12;
32 else if ( mode == 1 ) offset += 24;
53 float p0 = (br0_0 + br0_1*brem) + (br0_2 + br0_3*brem)/et;
54 float p1 = (br1_0 + br1_1*brem) + (br1_2 + br1_3*brem)/et;
55 float p2 = (br2_0 + br2_1*brem) + (br2_2 + br2_3*brem)/et;
59 float uncertainty = en*(p0 + p1*fabs(eta) + p2*eta*
eta);
double phiWidth() const
obtain phi and eta width of the Super Cluster
double eta() const
pseudorapidity of cluster centroid
EcalFunctionParameters & params()
double energy() const
cluster energy
unsigned int offset(bool)
virtual float getValue(const reco::SuperCluster &, const int mode) const
const EcalClusterEnergyUncertaintyParameters * params_
#define DEFINE_EDM_PLUGIN(factory, type, name)