CMS 3D CMS Logo

HFEMClusterShape.cc
Go to the documentation of this file.
2 
4  double eShort1x1,
5  double eLong3x3,
6  double eShort3x3,
7  double eLong5x5,
8  double eShort5x5,
9  double eLongCore,
10  double CellEta,
11  double CellPhi,
12  DetId seed)
13  : eLong1x1_(eLong1x1),
14  eShort1x1_(eShort1x1),
15  eLong3x3_(eLong3x3),
16  eShort3x3_(eShort3x3),
17  eLong5x5_(eLong5x5),
18  eShort5x5_(eShort5x5),
19  eLongCore_(eLongCore),
20  CellEta_(CellEta),
21  CellPhi_(CellPhi),
22  seed_(seed) {}
23 
24 double reco::HFEMClusterShape::e1x1() const { return eLong1x1_ + eShort1x1_; }
25 double reco::HFEMClusterShape::e3x3() const { return eLong3x3_ + eShort3x3_; }
26 double reco::HFEMClusterShape::e5x5() const { return eLong5x5_ + eShort5x5_; }
27 
28 double reco::HFEMClusterShape::eSeL() const { return eShort3x3() / eLong3x3(); }
29 double reco::HFEMClusterShape::eCOREe9() const { return eCore() / eLong3x3(); }
30 double reco::HFEMClusterShape::e9e25() const { return (eLong3x3() + eShort3x3()) / (eLong5x5() + eShort5x5()); }
Definition: DetId.h:17