1 #ifndef DATAFORMATS_CALOTOWERS_CALOTOWER_H 2 #define DATAFORMATS_CALOTOWERS_CALOTOWER_H 1 87 if (ct_ieta <= lastHB)
89 else if (ct_ieta <= lastHE)
91 else if (ct_ieta <= lastHF)
95 if (ct_ieta <= lastHO)
101 if (ct_ieta == lastHB)
111 unsigned int numBadEcalChan,
112 unsigned int numRecHcalChan,
113 unsigned int numRecEcalChan,
114 unsigned int numProbHcalChan,
115 unsigned int numProbEcalChan);
144 using LeafCandidate::p4;
149 double p(
double vtxZ)
const {
return p4(vtxZ).P(); }
150 double et(
double vtxZ)
const {
return p4(vtxZ).Et(); }
unsigned int numProblematicEcalCells() const
double emEt(double vtxZ) const
double energyInHO() const
double outerEnergy() const
double hadEnergyHeInnerLayer() const
int ietaAbs() const
get the absolute value of the tower ieta
const std::vector< DetId > & constituents() const
double energyInHE() const
void setCaloTowerStatus(unsigned int numBadHcalChan, unsigned int numBadEcalChan, unsigned int numRecHcalChan, unsigned int numRecEcalChan, unsigned int numProbHcalChan, unsigned int numProbEcalChan)
double et(const Point &v) const
double hadEt(double vtxZ) const
math::PtEtaPhiMLorentzVector emP4(const Point &v) const
Sin< T >::type sin(const T &t)
double hadEt(const Point &v) const
math::PtEtaPhiMLorentzVector hadP4(const Point &v) const
double p(double vtxZ) const
void setHcalSubdet(int lastHB, int lastHE, int lastHF, int lastHO)
const LorentzVector & p4() const final
four-momentum Lorentz vector
void setHottestCellE(double e)
bool operator==(const CaloTower &t1, const CaloTower &t2)
unsigned int numProblematicHcalCells() const
unsigned int numRecoveredHcalCells() const
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
double emEt(const Point &v) const
double et(double vtxZ) const
double p(const Point &v) const
const GlobalPoint & emPosition() const
double energyInHB() const
double theta() const final
momentum polar angle
void addConstituents(const std::vector< DetId > &ids)
uint32_t towerStatusWord() const
double outerEt(double vtxZ) const
void setConstituents(std::vector< DetId > &&ids)
DetId constituent(size_t i) const
std::ostream & operator<<(std::ostream &s, const CaloTower &ct)
unsigned int numBadEcalCells() const
unsigned int numRecoveredEcalCells() const
math::PtEtaPhiMLorentzVector p4_HO() const
double hadEnergyHeOuterLayer() const
double hottestCellE() const
const GlobalPoint & hadPosition() const
int iphi() const
get the tower iphi
size_t constituentsSize() const
int ieta() const
get the tower ieta
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Structure Point Contains parameters of Gaussian fits to DMRs.
int zside() const
get the z-side of the tower (1/-1)
double outerEt(const Point &v) const
unsigned int numBadHcalCells() const
void setCaloTowerStatus(uint32_t s)
CaloTowerDetId id() const
double energyInHF() const
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
std::vector< DetId > constituents_
void addConstituent(DetId id)