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 
14 #include <Rtypes.h>
15 
18 
19 namespace reco {
20 
21  class ClusterShape {
22  public:
24  ClusterShape( double cEE, double cEP, double cPP,
25  double eMax, DetId eMaxId, double e2nd, DetId e2ndId,
26  double e2x2, double e3x2, double e3x3, double e4x4,
27  double e5x5, double E10_Right_, double E10_Left_,
28  double E10_Top_, double E10_Bottom_, double e3x2Ratio,
29  double LAT, double etaLAT, double phiLAT, double A20, double A42,
30  const std::vector<double>& energyBasketFractionEta_,
31  const std::vector<double>& energyBasketFractionPhi_);
32  double eMax() const { return eMax_; }
33  double e2nd() const { return e2nd_; }
34  double e2x2() const { return e2x2_; }
35  double e3x2() const { return e3x2_; }
36  double e3x3() const { return e3x3_; }
37  double e4x4() const { return e4x4_; }
38  double e5x5() const { return e5x5_; }
39  double e2x5Right() const { return e2x5Right_; }
40  double e2x5Left() const { return e2x5Left_; }
41  double e2x5Top() const { return e2x5Top_; }
42  double e2x5Bottom() const { return e2x5Bottom_; }
43  double e3x2Ratio() const { return e3x2Ratio_; }
44  double covEtaEta() const { return covEtaEta_; }
45  double covEtaPhi() const { return covEtaPhi_; }
46  double covPhiPhi() const { return covPhiPhi_; }
47  double lat() const { return LAT_; }
48  double etaLat() const { return etaLAT_; }
49  double phiLat() const { return phiLAT_; }
50  double zernike20() const { return A20_; }
51  double zernike42() const { return A42_; }
52 
53  std::vector<double> energyBasketFractionEta() const { return energyBasketFractionEta_;}
54  std::vector<double> energyBasketFractionPhi() const { return energyBasketFractionPhi_;}
55  DetId eMaxId() const { return eMaxId_;}
56  DetId e2ndId() const { return e2ndId_;}
57 
58  private:
60  Double32_t eMax_, e2nd_, e2x2_, e3x2_, e3x3_, e4x4_, e5x5_;
62  Double32_t e3x2Ratio_;
63  Double32_t LAT_;
64  Double32_t etaLAT_;
65  Double32_t phiLAT_;
66  Double32_t A20_, A42_;
67  std::vector<double> energyBasketFractionEta_;
68  std::vector<double> energyBasketFractionPhi_;
70  };
71 
72 }
73 
74 #endif
double e2nd() const
Definition: ClusterShape.h:33
DetId e2ndId() const
Definition: ClusterShape.h:56
Double32_t e3x2Ratio_
Definition: ClusterShape.h:62
double e3x3() const
Definition: ClusterShape.h:36
Double32_t etaLAT_
Definition: ClusterShape.h:64
DetId eMaxId() const
Definition: ClusterShape.h:55
Double32_t e2x2_
Definition: ClusterShape.h:60
double e4x4() const
Definition: ClusterShape.h:37
double e3x2Ratio() const
Definition: ClusterShape.h:43
double covEtaPhi() const
Definition: ClusterShape.h:45
double e5x5() const
Definition: ClusterShape.h:38
Double32_t covEtaEta_
Definition: ClusterShape.h:59
Double32_t e2x5Right_
Definition: ClusterShape.h:61
Double32_t e5x5_
Definition: ClusterShape.h:60
double covPhiPhi() const
Definition: ClusterShape.h:46
std::vector< double > energyBasketFractionEta_
Definition: ClusterShape.h:67
double eMax() const
Definition: ClusterShape.h:32
double zernike42() const
Definition: ClusterShape.h:51
double covEtaEta() const
Definition: ClusterShape.h:44
double phiLat() const
Definition: ClusterShape.h:49
Double32_t e2x5Left_
Definition: ClusterShape.h:61
double lat() const
Definition: ClusterShape.h:47
Double32_t e3x3_
Definition: ClusterShape.h:60
Double32_t e4x4_
Definition: ClusterShape.h:60
std::vector< double > energyBasketFractionEta() const
Definition: ClusterShape.h:53
Double32_t e2x5Top_
Definition: ClusterShape.h:61
Definition: DetId.h:18
Double32_t eMax_
Definition: ClusterShape.h:60
std::vector< double > energyBasketFractionPhi() const
Definition: ClusterShape.h:54
double e2x5Right() const
Definition: ClusterShape.h:39
double e3x2() const
Definition: ClusterShape.h:35
Double32_t phiLAT_
Definition: ClusterShape.h:65
double e2x5Bottom() const
Definition: ClusterShape.h:42
std::vector< double > energyBasketFractionPhi_
Definition: ClusterShape.h:68
Double32_t e3x2_
Definition: ClusterShape.h:60
Double32_t covPhiPhi_
Definition: ClusterShape.h:59
Double32_t covEtaPhi_
Definition: ClusterShape.h:59
double zernike20() const
Definition: ClusterShape.h:50
Double32_t e2x5Bottom_
Definition: ClusterShape.h:61
double e2x5Left() const
Definition: ClusterShape.h:40
double etaLat() const
Definition: ClusterShape.h:48
double e2x5Top() const
Definition: ClusterShape.h:41
double e2x2() const
Definition: ClusterShape.h:34
Double32_t e2nd_
Definition: ClusterShape.h:60