Make Jets from protoobjects. More...
Functions | |
HcalSubdetector | hcalSubdetector (int fEta) |
converts eta to the corresponding HCAL subdetector. More... | |
bool | makeSpecific (const JetReco::InputCollection &fConstituents, const CaloSubdetectorGeometry &fTowerGeometry, reco::CaloJet::Specific *fJetSpecific) |
Make CaloJet specifics. Assumes ProtoJet is made from CaloTowerCandidates. More... | |
bool | makeSpecific (const JetReco::InputCollection &fConstituents, reco::PFJet::Specific *fJetSpecific) |
Make PFlowJet specifics. Assumes ProtoJet is made from ParticleFlowCandidates. More... | |
bool | makeSpecific (const JetReco::InputCollection &fConstituents, reco::GenJet::Specific *fJetSpecific) |
Make GenJet specifics. Assumes ProtoJet is made from HepMCCandidate. More... | |
Make Jets from protoobjects.
HcalSubdetector JetMaker::hcalSubdetector | ( | int | fEta | ) |
converts eta to the corresponding HCAL subdetector.
Definition at line 247 of file JetMaker.cc.
References abs, eta(), HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalTopology::lastHBRing(), HcalTopology::lastHERing(), HcalTopology::lastHFRing(), and HcalTopologyMode::LHC.
Referenced by makeSpecific().
bool JetMaker::makeSpecific | ( | const JetReco::InputCollection & | fConstituents, |
const CaloSubdetectorGeometry & | fTowerGeometry, | ||
reco::CaloJet::Specific * | fJetSpecific | ||
) |
Make CaloJet specifics. Assumes ProtoJet is made from CaloTowerCandidates.
Definition at line 21 of file JetMaker.cc.
References dtNoiseDBValidation_cfg::cerr, dPhi(), CaloTower::emEnergy(), reco::LeafCandidate::energy(), geometry, reco::Candidate::get(), CaloCellGeometry::getCorners(), CaloSubdetectorGeometry::getGeometry(), CaloTower::hadEnergy(), HcalBarrel, HcalEndcap, HcalForward, hcalSubdetector(), CaloTower::id(), CaloTowerDetId::ieta(), reco::CaloJet::Specific::mEmEnergyInEB, reco::CaloJet::Specific::mEmEnergyInEE, reco::CaloJet::Specific::mEmEnergyInHF, reco::CaloJet::Specific::mEnergyFractionEm, reco::CaloJet::Specific::mEnergyFractionHadronic, reco::CaloJet::Specific::mHadEnergyInHB, reco::CaloJet::Specific::mHadEnergyInHE, reco::CaloJet::Specific::mHadEnergyInHF, reco::CaloJet::Specific::mHadEnergyInHO, reco::CaloJet::Specific::mMaxEInEmTowers, reco::CaloJet::Specific::mMaxEInHadTowers, reco::CaloJet::Specific::mTowersArea, CaloTower::outerEnergy(), and python.multivaluedict::sort().
Referenced by PFRootEventManager::reconstructGenJets(), and PFRootEventManager::reconstructPFJets().
bool JetMaker::makeSpecific | ( | const JetReco::InputCollection & | fConstituents, |
reco::PFJet::Specific * | fJetSpecific | ||
) |
Make PFlowJet specifics. Assumes ProtoJet is made from ParticleFlowCandidates.
@@ PFJET *************************
Definition at line 127 of file JetMaker.cc.
References dtNoiseDBValidation_cfg::cerr, alignCSCRings::e, reco::LeafCandidate::energy(), reco::Candidate::get(), h, reco::PFJet::Specific::mChargedEmEnergy, reco::PFJet::Specific::mChargedHadronEnergy, reco::PFJet::Specific::mChargedMuEnergy, reco::PFJet::Specific::mChargedMultiplicity, reco::PFJet::Specific::mMuonMultiplicity, reco::PFJet::Specific::mNeutralEmEnergy, reco::PFJet::Specific::mNeutralHadronEnergy, reco::PFJet::Specific::mNeutralMultiplicity, RPCpg::mu, and reco::PFCandidate::particleId().
bool JetMaker::makeSpecific | ( | const JetReco::InputCollection & | fConstituents, |
reco::GenJet::Specific * | fJetSpecific | ||
) |
Make GenJet specifics. Assumes ProtoJet is made from HepMCCandidate.
Definition at line 204 of file JetMaker.cc.
References abs, dtNoiseDBValidation_cfg::cerr, alignCSCRings::e, reco::LeafCandidate::energy(), edm::RefToBase< T >::get(), reco::Candidate::get(), reco::Candidate::hasMasterClone(), reco::GenJet::Specific::m_AuxiliaryEnergy, reco::GenJet::Specific::m_EmEnergy, reco::GenJet::Specific::m_HadEnergy, reco::GenJet::Specific::m_InvisibleEnergy, reco::Candidate::masterClone(), and reco::LeafCandidate::pdgId().