CMS 3D CMS Logo

HaloClusterCandidateECAL.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_METRECO_HALOCLUSTERCANDIDATEECAL_H
2 #define DATAFORMATS_METRECO_HALOCLUSTERCANDIDATEECAL_H
3 
4 
5 
21 
22 
23 namespace reco {
25 
26  public:
29 
30 
31 
32  double getClusterEt() const {return et;}
33  double getSeedEt() const {return seed_et;}
34  double getSeedEta() const {return seed_eta;}
35  double getSeedPhi() const {return seed_phi;}
36  double getSeedZ() const {return seed_Z;}
37  double getSeedR() const {return seed_R;}
38  double getSeedTime() const {return seed_time;}
39  double getTimeDiscriminator() const {return timediscriminator;}
40  bool getIsHaloFromPattern() const {return ishalofrompattern;}
43 
44  //Specific to EB:
47  double getHoverE() const {return hovere;}
49  //Specific to EE:
50  double getH2overE() const {return h2overe;}
51  int getNbEarlyCrystals() const {return nbearlycrystals;}
52  int getNbLateCrystals() const {return nblatecrystals;}
53  int getClusterSize() const {return clustersize;}
54 
55 
56  void setClusterEt(double x){ et=x;}
57  void setSeedEt(double x){ seed_et=x;}
58  void setSeedEta(double x){ seed_eta=x;}
59  void setSeedPhi(double x){ seed_phi=x;}
60  void setSeedZ(double x){ seed_Z=x;}
61  void setSeedR(double x){ seed_R=x;}
62  void setSeedTime(double x){ seed_time=x;}
67  //Specific to EB:
70  void setHoverE(double x){hovere=x;}
72  //Specific to EE:
73  void setH2overE(double x){h2overe=x;}
76  void setClusterSize(int x){clustersize=x;}
77 
78 
79  private:
80  double et;
85  //Specific to EB:
86  double hovere;
89  //Specific to EE:
90  double h2overe;
92 
94 
95 };
96  typedef std::vector<HaloClusterCandidateECAL> HaloClusterCandidateECALCollection;
97 }
98 #endif
edm::RefVector< EcalRecHitCollection > bhrhcandidates
std::vector< HaloClusterCandidateECAL > HaloClusterCandidateECALCollection
fixed size matrix
void setBeamHaloRecHitsCandidates(edm::RefVector< EcalRecHitCollection > x)
const edm::RefVector< EcalRecHitCollection > & getBeamHaloRecHitsCandidates() const