14 :
Jet(fP4, fVertex), m_specific(fSpecific) {}
20 :
Jet(fP4, fVertex, fConstituents), m_specific(fSpecific) {}
23 :
Jet(fP4,
Point(0, 0, 0), fConstituents), m_specific(fSpecific) {}
60 if (
dau.isNonnull() &&
dau.isAvailable()) {
68 throw cms::Exception(
"Invalid Constituent") <<
"CaloJet constituent is not of CaloTowere type";
79 std::vector<CaloTowerPtr>
result;
90 std::ostringstream
out;
92 <<
" CaloJet specific:" << std::endl
98 <<
" constituent towers area: " <<
towersArea() << std::endl;
99 out <<
" Towers:" << std::endl;
101 for (
unsigned i = 0;
i <
towers.size();
i++) {
103 out <<
" #" <<
i <<
" " << *(
towers[
i]) << std::endl;
105 out <<
" #" <<
i <<
" tower is not available in the event" << std::endl;
116 std::vector<CaloTowerDetId>
result;
118 for (
unsigned i = 0;
i <
towers.size(); ++
i) {
CaloJet * clone() const override
Polymorphic clone.
virtual std::vector< CaloTowerPtr > getCaloConstituents() const
get all constituents
virtual CandidatePtr daughterPtr(size_type i) const
reference to daughter at given position
Jets made from CaloTowers.
float emEnergyInHF() const
float emEnergyInEE() const
std::vector< Constituent > Constituents
const Point & vertex() const override
vertex position (overwritten by PF...)
float emEnergyInEB() const
LorentzVector detectorP4() const
detector p4 for full 3d vertex correction.
daughters dau
collection of references to daughters
virtual std::string print() const
Print object.
virtual CaloTowerPtr getCaloConstituent(unsigned fIndex) const
Physics Eta (loop over constituents)
float hadEnergyInHO() const
math::XYZPoint Point
point in the space
size_t numberOfDaughters() const override
number of daughters
float hadEnergyInHF() const
float hadEnergyInHE() const
static Candidate::LorentzVector detectorP4(const Candidate::Point &vertex, const Candidate &inParticle)
float hadEnergyInHB() const
math::XYZTLorentzVector LorentzVector
Lorentz vector.
float energyFractionHadronic() const
Structure Point Contains parameters of Gaussian fits to DMRs.
LorentzVector physicsP4(const Particle::Point &vertex) const
Physics Eta (use jet Z and kinematics only)
std::string print() const override
Print object.
edm::Ptr< CaloTower > CaloTowerPtr
bool overlap(const Candidate &) const override
Polymorphic overlap.
std::vector< CaloTowerDetId > getTowerIndices() const
CaloTowers indexes.
static Candidate::LorentzVector physicsP4(const Candidate::Point &newVertex, const Candidate &inParticle, const Candidate::Point &oldVertex=Candidate::Point(0, 0, 0))
float emEnergyFraction() const