Go to the documentation of this file.
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()) {
61 const CaloTower* towerCandidate = dynamic_cast<const CaloTower*>(
dau.get());
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) {
Jets made from CaloTowers.
std::vector< Constituent > Constituents
float energyFractionHadronic() const
virtual CaloTowerPtr getCaloConstituent(unsigned fIndex) const
Physics Eta (loop over constituents)
std::string print() const override
Print object.
float hadEnergyInHF() const
float hadEnergyInHB() const
float emEnergyInEE() const
LorentzVector physicsP4(const Particle::Point &vertex) const
Physics Eta (use jet Z and kinematics only)
float hadEnergyInHE() const
daughters dau
collection of references to daughters
virtual std::string print() const
Print object.
float emEnergyInEB() const
float hadEnergyInHO() const
Structure Point Contains parameters of Gaussian fits to DMRs.
T get() const
get a component
virtual std::vector< CaloTowerPtr > getCaloConstituents() const
get all constituents
LorentzVector detectorP4() const
detector p4 for full 3d vertex correction.
CaloJet * clone() const override
Polymorphic clone.
edm::Ptr< CaloTower > CaloTowerPtr
const Point & vertex() const override
vertex position (overwritten by PF...)
size_t numberOfDaughters() const override
number of daughters
bool overlap(const Candidate &) const override
Polymorphic overlap.
static Candidate::LorentzVector detectorP4(const Candidate::Point &vertex, const Candidate &inParticle)
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))
math::XYZPoint Point
point in the space
math::XYZTLorentzVector LorentzVector
Lorentz vector.
float emEnergyInHF() const
float emEnergyFraction() const
virtual CandidatePtr daughterPtr(size_type i) const
reference to daughter at given position