10 float en = superCluster.
energy();
11 float eta = fabs(superCluster.
eta());
12 float et = en/cosh(eta);
23 if ( eta < 1.5 ) offset = 0;
24 else if ( eta >= 1.5 ) offset = 36;
33 if ( mode == 0 ) offset += 0;
34 else if ( mode == -1 ) offset += 12;
35 else if ( mode == 1 ) offset += 24;
56 float p0 = (br0_0 + br0_1*brem) + (br0_2 + br0_3*brem)/
et;
57 float p1 = (br1_0 + br1_1*brem) + (br1_2 + br1_3*brem)/
et;
58 float p2 = (br2_0 + br2_1*brem) + (br2_2 + br2_3*brem)/
et;
62 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
virtual float getValue(const reco::SuperCluster &, const int mode) const
et
define resolution functions of each parameter
const EcalClusterEnergyUncertaintyParameters * params_
#define DEFINE_EDM_PLUGIN(factory, type, name)