17 m_specific (fSpecific)
23 :
Jet (fP4, fVertex, fConstituents),
24 m_specific (fSpecific)
30 :
Jet (fP4,
Point(0,0,0), fConstituents),
31 m_specific (fSpecific)
83 throw cms::Exception(
"Invalid Constituent") <<
"CaloJet constituent is not of CaloTowere type";
95 std::vector <CaloTowerPtr>
result;
110 std::ostringstream
out;
112 <<
" CaloJet specific:" << std::endl
116 <<
" constituent towers area: " <<
towersArea() << std::endl;
117 out <<
" Towers:" << std::endl;
119 for (
unsigned i = 0;
i < towers.size ();
i++) {
120 if (towers[
i].
get ()) {
121 out <<
" #" <<
i <<
" " << *(towers[
i]) << std::endl;
124 out <<
" #" <<
i <<
" tower is not available in the event" << std::endl;
135 std::vector<CaloTowerDetId>
result;
137 for (
unsigned i = 0;
i < towers.size(); ++
i) {
138 result.push_back (towers[
i]->
id());
float hadEnergyInHE() const
float emEnergyInEE() const
Jets made from CaloTowers.
LorentzVector detectorP4() const
detector p4 for full 3d vertex correction.
CandidatePtr daughterPtr(size_type i) const
reference to daughter at given position
virtual const Point & vertex() const
vertex position (overwritten by PF...)
Base class for all types of Jets.
virtual CaloTowerPtr getCaloConstituent(unsigned fIndex) const
Physics Eta (loop over constituents)
std::vector< Constituent > Constituents
float emEnergyInHF() const
virtual std::vector< CaloTowerPtr > getCaloConstituents() const
get all constituents
float hadEnergyInHO() const
virtual CaloJet * clone() const
Polymorphic clone.
daughters dau
collection of references to daughters
bool isNonnull() const
Checks for non-null.
virtual size_t numberOfDaughters() const
number of daughters
T const * get() const
Returns C++ pointer to the item.
virtual bool overlap(const Candidate &) const
Polymorphic overlap.
edm::Ptr< CaloTower > CaloTowerPtr
ProductID id() const
Accessor for product ID.
float emEnergyInEB() const
math::XYZPoint Point
point in the space
virtual std::string print() const
Print object.
LorentzVector physicsP4(const Particle::Point &vertex) const
Physics Eta (use jet Z and kinematics only)
std::vector< CaloTowerDetId > getTowerIndices() const
CaloTowers indexes.
math::XYZTLorentzVector LorentzVector
Lorentz vector.
static Candidate::LorentzVector detectorP4(const Candidate::Point &vertex, const Candidate &inParticle)
static Candidate::LorentzVector physicsP4(const Candidate::Point &newVertex, const Candidate &inParticle, const Candidate::Point &oldVertex=Candidate::Point(0, 0, 0))
float energyFractionHadronic() const
float hadEnergyInHB() const
math::XYZPoint Point
point in the space
virtual std::string print() const
Print object.
float hadEnergyInHF() const
float emEnergyFraction() const