13 double emE,
double hadE,
double outerE,
14 int ecal_tp,
int hcal_tp,
25 double emE,
double hadE,
double outerE,
26 int ecal_tp,
int hcal_tp,
51 double newEta = asinh(ctgTheta);
52 double pf = 1.0/cosh(newEta);
66 double newEta = asinh(ctgTheta);
67 double pf = 1.0/cosh(newEta);
120 newP4 +=
hadP4(vtxZ);
124 double newEta = asinh(ctgTheta);
125 double pf = 1.0/cosh(newEta);
195 std::vector<DetId>::const_iterator it =
constituents_.begin();
209 unsigned int numRecHcalChan,
unsigned int numRecEcalChan,
210 unsigned int numProbHcalChan,
unsigned int numProbEcalChan) {
263 return s << ct.
id() <<
":" << ct.
et()
264 <<
" GeV ET (EM=" << ct.
emEt() <<
265 " HAD=" << ct.
hadEt() <<
" OUTER=" << ct.
outerEt() <<
") (" << ct.
eta() <<
"," << ct.
phi() <<
")";
virtual double p() const
magnitude of momentum vector
double energyInHO() const
double energyInHF() const
math::PtEtaPhiMLorentzVector emP4(Point v) const
int ietaAbs() const
get the absolute value of the tower ieta
void setCaloTowerStatus(unsigned int numBadHcalChan, unsigned int numBadEcalChan, unsigned int numRecHcalChan, unsigned int numRecEcalChan, unsigned int numProbHcalChan, unsigned int numProbEcalChan)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Sin< T >::type sin(const T &t)
Geom::Phi< T > phi() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
virtual double eta() const
momentum pseudorapidity
double energyInHB() const
Geom::Theta< T > theta() const
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
virtual double energy() const
energy
void addConstituents(const std::vector< DetId > &ids)
math::PtEtaPhiMLorentzVector p4_HO() const
CaloTowerDetId id() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
double energyInHE() const
math::XYZTLorentzVector LorentzVector
Lorentz vector.
LeafCandidate()
default constructor
math::XYZPoint Point
point in the space
double et(double vtxZ) const
virtual double phi() const
momentum azimuthal angle
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
math::PtEtaPhiMLorentzVector hadP4(Point v) const
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
std::vector< DetId > constituents_