CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ClusterShape.h
Go to the documentation of this file.
1 #ifndef EgammaReco_ClusterShape_h
2 #define EgammaReco_ClusterShape_h
3 
15 #include <Rtypes.h>
16 
19 
20 namespace reco {
21 
22  class ClusterShape {
23  public:
25  ClusterShape( double cEE, double cEP, double cPP,
26  double eMax, DetId eMaxId, double e2nd, DetId e2ndId,
27  double e2x2, double e3x2, double e3x3, double e4x4,
28  double e5x5, double E10_Right_, double E10_Left_,
29  double E10_Top_, double E10_Bottom_, double e3x2Ratio,
30  double LAT, double etaLAT, double phiLAT, double A20, double A42,
31  std::vector<double> energyBasketFractionEta_,
32  std::vector<double> energyBasketFractionPhi_);
33  double eMax() const { return eMax_; }
34  double e2nd() const { return e2nd_; }
35  double e2x2() const { return e2x2_; }
36  double e3x2() const { return e3x2_; }
37  double e3x3() const { return e3x3_; }
38  double e4x4() const { return e4x4_; }
39  double e5x5() const { return e5x5_; }
40  double e2x5Right() const { return e2x5Right_; }
41  double e2x5Left() const { return e2x5Left_; }
42  double e2x5Top() const { return e2x5Top_; }
43  double e2x5Bottom() const { return e2x5Bottom_; }
44  double e3x2Ratio() const { return e3x2Ratio_; }
45  double covEtaEta() const { return covEtaEta_; }
46  double covEtaPhi() const { return covEtaPhi_; }
47  double covPhiPhi() const { return covPhiPhi_; }
48  double lat() const { return LAT_; }
49  double etaLat() const { return etaLAT_; }
50  double phiLat() const { return phiLAT_; }
51  double zernike20() const { return A20_; }
52  double zernike42() const { return A42_; }
53 
54  std::vector<double> energyBasketFractionEta() const { return energyBasketFractionEta_;}
55  std::vector<double> energyBasketFractionPhi() const { return energyBasketFractionPhi_;}
56  DetId eMaxId() const { return eMaxId_;}
57  DetId e2ndId() const { return e2ndId_;}
58 
59  private:
61  Double32_t eMax_, e2nd_, e2x2_, e3x2_, e3x3_, e4x4_, e5x5_;
63  Double32_t e3x2Ratio_;
64  Double32_t LAT_;
65  Double32_t etaLAT_;
66  Double32_t phiLAT_;
67  Double32_t A20_, A42_;
68  std::vector<double> energyBasketFractionEta_;
69  std::vector<double> energyBasketFractionPhi_;
71  };
72 
73 }
74 
75 #endif
double e2nd() const
Definition: ClusterShape.h:34
DetId e2ndId() const
Definition: ClusterShape.h:57
Double32_t e3x2Ratio_
Definition: ClusterShape.h:63
double e3x3() const
Definition: ClusterShape.h:37
Double32_t etaLAT_
Definition: ClusterShape.h:65
DetId eMaxId() const
Definition: ClusterShape.h:56
Double32_t e2x2_
Definition: ClusterShape.h:61
double e4x4() const
Definition: ClusterShape.h:38
double e3x2Ratio() const
Definition: ClusterShape.h:44
double covEtaPhi() const
Definition: ClusterShape.h:46
double e5x5() const
Definition: ClusterShape.h:39
Double32_t covEtaEta_
Definition: ClusterShape.h:60
Double32_t e2x5Right_
Definition: ClusterShape.h:62
Double32_t e5x5_
Definition: ClusterShape.h:61
double covPhiPhi() const
Definition: ClusterShape.h:47
std::vector< double > energyBasketFractionEta_
Definition: ClusterShape.h:68
double eMax() const
Definition: ClusterShape.h:33
double zernike42() const
Definition: ClusterShape.h:52
double covEtaEta() const
Definition: ClusterShape.h:45
double phiLat() const
Definition: ClusterShape.h:50
Double32_t e2x5Left_
Definition: ClusterShape.h:62
double lat() const
Definition: ClusterShape.h:48
Double32_t e3x3_
Definition: ClusterShape.h:61
Double32_t e4x4_
Definition: ClusterShape.h:61
std::vector< double > energyBasketFractionEta() const
Definition: ClusterShape.h:54
Double32_t e2x5Top_
Definition: ClusterShape.h:62
Definition: DetId.h:20
Double32_t eMax_
Definition: ClusterShape.h:61
std::vector< double > energyBasketFractionPhi() const
Definition: ClusterShape.h:55
double e2x5Right() const
Definition: ClusterShape.h:40
double e3x2() const
Definition: ClusterShape.h:36
Double32_t phiLAT_
Definition: ClusterShape.h:66
double e2x5Bottom() const
Definition: ClusterShape.h:43
std::vector< double > energyBasketFractionPhi_
Definition: ClusterShape.h:69
Double32_t e3x2_
Definition: ClusterShape.h:61
Double32_t covPhiPhi_
Definition: ClusterShape.h:60
Double32_t covEtaPhi_
Definition: ClusterShape.h:60
double zernike20() const
Definition: ClusterShape.h:51
Double32_t e2x5Bottom_
Definition: ClusterShape.h:62
double e2x5Left() const
Definition: ClusterShape.h:41
double etaLat() const
Definition: ClusterShape.h:49
double e2x5Top() const
Definition: ClusterShape.h:42
double e2x2() const
Definition: ClusterShape.h:35
Double32_t e2nd_
Definition: ClusterShape.h:61