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 
19 
20 namespace reco {
22  public:
25 
26  double getClusterEt() const { return et; }
27  double getSeedEt() const { return seed_et; }
28  double getSeedEta() const { return seed_eta; }
29  double getSeedPhi() const { return seed_phi; }
30  double getSeedZ() const { return seed_Z; }
31  double getSeedR() const { return seed_R; }
32  double getSeedTime() const { return seed_time; }
33  double getTimeDiscriminator() const { return timediscriminator; }
34  bool getIsHaloFromPattern() const { return ishalofrompattern; }
37 
38  //Specific to EB:
41  double getHoverE() const { return hovere; }
43  //Specific to EE:
44  double getH2overE() const { return h2overe; }
45  int getNbEarlyCrystals() const { return nbearlycrystals; }
46  int getNbLateCrystals() const { return nblatecrystals; }
47  int getClusterSize() const { return clustersize; }
48 
49  void setClusterEt(double x) { et = x; }
50  void setSeedEt(double x) { seed_et = x; }
51  void setSeedEta(double x) { seed_eta = x; }
52  void setSeedPhi(double x) { seed_phi = x; }
53  void setSeedZ(double x) { seed_Z = x; }
54  void setSeedR(double x) { seed_R = x; }
55  void setSeedTime(double x) { seed_time = x; }
60  //Specific to EB:
63  void setHoverE(double x) { hovere = x; }
65  //Specific to EE:
66  void setH2overE(double x) { h2overe = x; }
68  void setNbLateCrystals(int x) { nblatecrystals = x; }
69  void setClusterSize(int x) { clustersize = x; }
70 
71  private:
72  double et;
77  //Specific to EB:
78  double hovere;
81  //Specific to EE:
82  double h2overe;
84 
86  };
87  typedef std::vector<HaloClusterCandidateECAL> HaloClusterCandidateECALCollection;
88 } // namespace reco
89 #endif
edm::RefVector< EcalRecHitCollection > bhrhcandidates
std::vector< HaloClusterCandidateECAL > HaloClusterCandidateECALCollection
fixed size matrix
float x
void setBeamHaloRecHitsCandidates(edm::RefVector< EcalRecHitCollection > x)
const edm::RefVector< EcalRecHitCollection > & getBeamHaloRecHitsCandidates() const