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; }
56  void setTimeDiscriminator(double x) { timediscriminator = x; }
60  //Specific to EB:
63  void setHoverE(double x) { hovere = x; }
65  //Specific to EE:
66  void setH2overE(double x) { h2overe = x; }
67  void setNbEarlyCrystals(int x) { nbearlycrystals = 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
reco::HaloClusterCandidateECAL::bhrhcandidates
edm::RefVector< EcalRecHitCollection > bhrhcandidates
Definition: HaloClusterCandidateECAL.h:85
reco::HaloClusterCandidateECAL::setNbEarlyCrystals
void setNbEarlyCrystals(int x)
Definition: HaloClusterCandidateECAL.h:67
Cylinder.h
reco::HaloClusterCandidateECAL::setSeedR
void setSeedR(double x)
Definition: HaloClusterCandidateECAL.h:54
reco::HaloClusterCandidateECAL::getSeedEt
double getSeedEt() const
Definition: HaloClusterCandidateECAL.h:27
reco::HaloClusterCandidateECAL::getSeedZ
double getSeedZ() const
Definition: HaloClusterCandidateECAL.h:30
reco::HaloClusterCandidateECAL::getClusterEt
double getClusterEt() const
Definition: HaloClusterCandidateECAL.h:26
reco::HaloClusterCandidateECAL::getSeedEta
double getSeedEta() const
Definition: HaloClusterCandidateECAL.h:28
deltaPhi.h
reco::HaloClusterCandidateECAL::clustersize
int clustersize
Definition: HaloClusterCandidateECAL.h:83
EBDetId.h
EEDetId.h
reco::HaloClusterCandidateECAL::setSeedTime
void setSeedTime(double x)
Definition: HaloClusterCandidateECAL.h:55
reco::HaloClusterCandidateECAL::setTimeDiscriminator
void setTimeDiscriminator(double x)
Definition: HaloClusterCandidateECAL.h:56
reco::HaloClusterCandidateECAL::getSeedTime
double getSeedTime() const
Definition: HaloClusterCandidateECAL.h:32
reco::HaloClusterCandidateECAL::ishalofrompattern
bool ishalofrompattern
Definition: HaloClusterCandidateECAL.h:75
reco::HaloClusterCandidateECAL::~HaloClusterCandidateECAL
~HaloClusterCandidateECAL()
Definition: HaloClusterCandidateECAL.h:24
reco::HaloClusterCandidateECAL::seed_phi
double seed_phi
Definition: HaloClusterCandidateECAL.h:73
edm::RefVector
Definition: EDProductfwd.h:27
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::HaloClusterCandidateECAL::timediscriminator
double timediscriminator
Definition: HaloClusterCandidateECAL.h:74
reco::HaloClusterCandidateECAL::seed_eta
double seed_eta
Definition: HaloClusterCandidateECAL.h:73
reco::HaloClusterCandidateECAL::ishalofrompattern_hlt
bool ishalofrompattern_hlt
Definition: HaloClusterCandidateECAL.h:76
reco::HaloClusterCandidateECAL::getNbLateCrystals
int getNbLateCrystals() const
Definition: HaloClusterCandidateECAL.h:46
EcalRecHitCollections.h
reco::HaloClusterCandidateECAL::getTimeDiscriminator
double getTimeDiscriminator() const
Definition: HaloClusterCandidateECAL.h:33
reco::HaloClusterCandidateECAL::setSeedEta
void setSeedEta(double x)
Definition: HaloClusterCandidateECAL.h:51
reco::HaloClusterCandidateECAL::setIsHaloFromPattern_HLT
void setIsHaloFromPattern_HLT(bool x)
Definition: HaloClusterCandidateECAL.h:58
reco::HaloClusterCandidateECAL::setSeedZ
void setSeedZ(double x)
Definition: HaloClusterCandidateECAL.h:53
reco::HaloClusterCandidateECAL::getHoverE
double getHoverE() const
Definition: HaloClusterCandidateECAL.h:41
Plane.h
reco::HaloClusterCandidateECAL::getBeamHaloRecHitsCandidates
const edm::RefVector< EcalRecHitCollection > & getBeamHaloRecHitsCandidates() const
Definition: HaloClusterCandidateECAL.h:36
reco::HaloClusterCandidateECAL::h2overe
double h2overe
Definition: HaloClusterCandidateECAL.h:82
reco::HaloClusterCandidateECAL::setBeamHaloRecHitsCandidates
void setBeamHaloRecHitsCandidates(edm::RefVector< EcalRecHitCollection > x)
Definition: HaloClusterCandidateECAL.h:59
reco::HaloClusterCandidateECAL::getEtStripIPhiSeedPlus1
double getEtStripIPhiSeedPlus1() const
Definition: HaloClusterCandidateECAL.h:39
reco::HaloClusterCandidateECAL::hovere
double hovere
Definition: HaloClusterCandidateECAL.h:78
reco::HaloClusterCandidateECAL::nbearlycrystals
int nbearlycrystals
Definition: HaloClusterCandidateECAL.h:83
reco::HaloClusterCandidateECAL::setSeedPhi
void setSeedPhi(double x)
Definition: HaloClusterCandidateECAL.h:52
EcalSubdetector.h
Cone.h
reco::HaloClusterCandidateECAL::getSeedPhi
double getSeedPhi() const
Definition: HaloClusterCandidateECAL.h:29
reco::HaloClusterCandidateECAL::getSeedR
double getSeedR() const
Definition: HaloClusterCandidateECAL.h:31
reco::HaloClusterCandidateECAL::seed_R
double seed_R
Definition: HaloClusterCandidateECAL.h:73
reco::HaloClusterCandidateECAL::etstrip_iphiseedminus1
double etstrip_iphiseedminus1
Definition: HaloClusterCandidateECAL.h:80
reco::HaloClusterCandidateECAL::setEtStripIPhiSeedPlus1
void setEtStripIPhiSeedPlus1(double x)
Definition: HaloClusterCandidateECAL.h:61
reco::HaloClusterCandidateECAL::etstrip_iphiseedplus1
double etstrip_iphiseedplus1
Definition: HaloClusterCandidateECAL.h:80
reco::HaloClusterCandidateECAL
Definition: HaloClusterCandidateECAL.h:21
reco::HaloClusterCandidateECAL::getEtStripIPhiSeedMinus1
double getEtStripIPhiSeedMinus1() const
Definition: HaloClusterCandidateECAL.h:40
reco::HaloClusterCandidateECALCollection
std::vector< HaloClusterCandidateECAL > HaloClusterCandidateECALCollection
Definition: HaloClusterCandidateECAL.h:87
reco::HaloClusterCandidateECAL::getNbEarlyCrystals
int getNbEarlyCrystals() const
Definition: HaloClusterCandidateECAL.h:45
reco::HaloClusterCandidateECAL::setClusterEt
void setClusterEt(double x)
Definition: HaloClusterCandidateECAL.h:49
HBHERecHit.h
reco::HaloClusterCandidateECAL::setIsHaloFromPattern
void setIsHaloFromPattern(bool x)
Definition: HaloClusterCandidateECAL.h:57
reco::HaloClusterCandidateECAL::setSeedEt
void setSeedEt(double x)
Definition: HaloClusterCandidateECAL.h:50
reco::HaloClusterCandidateECAL::seed_time
double seed_time
Definition: HaloClusterCandidateECAL.h:73
DetId.h
LocalPoint.h
reco::HaloClusterCandidateECAL::seed_et
double seed_et
Definition: HaloClusterCandidateECAL.h:73
reco::HaloClusterCandidateECAL::setNbofCrystalsInEta
void setNbofCrystalsInEta(double x)
Definition: HaloClusterCandidateECAL.h:64
GlobalVector.h
HcalRecHitCollections.h
reco::HaloClusterCandidateECAL::getIsHaloFromPattern_HLT
bool getIsHaloFromPattern_HLT() const
Definition: HaloClusterCandidateECAL.h:35
reco::HaloClusterCandidateECAL::getNbofCrystalsInEta
int getNbofCrystalsInEta() const
Definition: HaloClusterCandidateECAL.h:42
reco::HaloClusterCandidateECAL::nblatecrystals
int nblatecrystals
Definition: HaloClusterCandidateECAL.h:83
reco::HaloClusterCandidateECAL::setH2overE
void setH2overE(double x)
Definition: HaloClusterCandidateECAL.h:66
reco::HaloClusterCandidateECAL::setClusterSize
void setClusterSize(int x)
Definition: HaloClusterCandidateECAL.h:69
reco::HaloClusterCandidateECAL::setEtStripIPhiSeedMinus1
void setEtStripIPhiSeedMinus1(double x)
Definition: HaloClusterCandidateECAL.h:62
reco::HaloClusterCandidateECAL::setNbLateCrystals
void setNbLateCrystals(int x)
Definition: HaloClusterCandidateECAL.h:68
LocalVector.h
reco::HaloClusterCandidateECAL::getH2overE
double getH2overE() const
Definition: HaloClusterCandidateECAL.h:44
GlobalPoint.h
reco::HaloClusterCandidateECAL::HaloClusterCandidateECAL
HaloClusterCandidateECAL()
Definition: HaloClusterCandidateECAL.cc:4
reco::HaloClusterCandidateECAL::getClusterSize
int getClusterSize() const
Definition: HaloClusterCandidateECAL.h:47
reco::HaloClusterCandidateECAL::seed_Z
double seed_Z
Definition: HaloClusterCandidateECAL.h:73
reco::HaloClusterCandidateECAL::getIsHaloFromPattern
bool getIsHaloFromPattern() const
Definition: HaloClusterCandidateECAL.h:34
reco::HaloClusterCandidateECAL::setHoverE
void setHoverE(double x)
Definition: HaloClusterCandidateECAL.h:63
reco::HaloClusterCandidateECAL::numberofcrystalsineta
int numberofcrystalsineta
Definition: HaloClusterCandidateECAL.h:79
reco::HaloClusterCandidateECAL::et
double et
Definition: HaloClusterCandidateECAL.h:72