1 #ifndef DATAFORMATS_CALOTOWERS_CALOTOWER_H
2 #define DATAFORMATS_CALOTOWERS_CALOTOWER_H 1
38 double emE,
double hadE,
double outerE,
39 int ecal_tp,
int hcal_tp,
44 double emE,
double hadE,
double outerE,
45 int ecal_tp,
int hcal_tp,
60 unsigned int numRecHcalChan,
unsigned int numRecEcalChan,
61 unsigned int numProbHcalChan,
unsigned int numProbEcalChan);
100 double p (
double vtxZ)
const {
return p4(vtxZ).P(); }
101 double et(
double vtxZ)
const {
return p4(vtxZ).Et(); }
212 return t1.
id() == t2.
id();
unsigned int numRecoveredEcalCells() const
double energyInHO() const
double energyInHF() const
size_t constituentsSize() const
math::PtEtaPhiMLorentzVector emP4(Point v) const
int ietaAbs() const
get the absolute value of the tower ieta
DetId constituent(size_t i) const
void setCaloTowerStatus(unsigned int numBadHcalChan, unsigned int numBadEcalChan, unsigned int numRecHcalChan, unsigned int numRecEcalChan, unsigned int numProbHcalChan, unsigned int numProbEcalChan)
Sin< T >::type sin(const T &t)
unsigned int numRecoveredHcalCells() const
unsigned int numBadHcalCells() const
bool operator==(const CaloTower &t1, const CaloTower &t2)
double hottestCellE() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const GlobalPoint & emPosition() const
double p(double vtxZ) const
double hadEnergyHeInnerLayer() const
void setHottestCellE(double e)
double energyInHB() const
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
unsigned int numBadEcalCells() const
void addConstituents(const std::vector< DetId > &ids)
double hadEnergyHeOuterLayer() const
const GlobalPoint & hadPosition() const
int iphi() const
get the tower iphi
const std::vector< DetId > & constituents() const
double emEt(double vtxZ) const
virtual double theta() const
momentum polar angle
math::PtEtaPhiMLorentzVector p4_HO() const
double outerEt(Point v) const
CaloTowerDetId id() const
unsigned int numProblematicEcalCells() const
uint32_t towerStatusWord() const
unsigned int numProblematicHcalCells() const
double energyInHE() const
double outerEt(double vtxZ) const
int zside() const
get the z-side of the tower (1/-1)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
double emEt(Point v) const
double hadEt(Point v) const
math::XYZPoint Point
point in the space
double et(double vtxZ) const
void setCaloTowerStatus(uint32_t s)
int ieta() const
get the tower ieta
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
double hadEt(double vtxZ) const
double outerEnergy() const
math::PtEtaPhiMLorentzVector hadP4(Point v) const
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
std::vector< DetId > constituents_
void addConstituent(DetId id)