Public Member Functions | |
void | fill (const edm::Event &, const edm::EventSetup &) final |
HGCalTriggerNtupleGenTau (const edm::ParameterSet &) | |
void | initialize (TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final |
Public Member Functions inherited from HGCalTriggerNtupleBase | |
HGCalTriggerNtupleBase (const edm::ParameterSet &conf) | |
virtual | ~HGCalTriggerNtupleBase () |
Private Member Functions | |
void | clear () final |
bool | isChargedHadron (const reco::GenParticle &daughter) const |
bool | isChargedHadronFromResonance (const reco::GenParticle &daughter) const |
bool | isElectron (const reco::GenParticle &daughter) const |
bool | isGamma (const reco::GenParticle &daughter) const |
bool | isGoodTau (const reco::GenParticle &candidate) const |
bool | isIntermediateResonance (const reco::GenParticle &daughter) const |
bool | isMuon (const reco::GenParticle &daughter) const |
bool | isNeutralPion (const reco::GenParticle &daughter) const |
bool | isNeutralPionFromResonance (const reco::GenParticle &daughter) const |
bool | isStableLepton (const reco::GenParticle &daughter) const |
bool | isStableNeutralHadron (const reco::GenParticle &daughter) const |
Private Attributes | |
edm::EDGetToken | gen_token_ |
std::vector< int > | gentau_decayMode_ |
std::vector< float > | gentau_energy_ |
std::vector< float > | gentau_eta_ |
std::vector< float > | gentau_mass_ |
std::vector< float > | gentau_phi_ |
std::vector< std::vector< float > > | gentau_products_energy_ |
std::vector< std::vector< float > > | gentau_products_eta_ |
std::vector< std::vector< int > > | gentau_products_id_ |
std::vector< std::vector< float > > | gentau_products_mass_ |
std::vector< std::vector< float > > | gentau_products_phi_ |
std::vector< std::vector< float > > | gentau_products_pt_ |
std::vector< float > | gentau_pt_ |
std::vector< int > | gentau_totNcharged_ |
std::vector< int > | gentau_totNgamma_ |
std::vector< int > | gentau_totNpiZero_ |
std::vector< int > | gentau_totNproducts_ |
std::vector< float > | gentau_vis_energy_ |
std::vector< float > | gentau_vis_eta_ |
std::vector< float > | gentau_vis_mass_ |
std::vector< float > | gentau_vis_phi_ |
std::vector< float > | gentau_vis_pt_ |
bool | isPythia8generator_ |
Additional Inherited Members |
Definition at line 9 of file HGCalTriggerNtupleGenTau.cc.
HGCalTriggerNtupleGenTau::HGCalTriggerNtupleGenTau | ( | const edm::ParameterSet & | conf | ) |
Definition at line 61 of file HGCalTriggerNtupleGenTau.cc.
|
finalprivatevirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 309 of file HGCalTriggerNtupleGenTau.cc.
References gentau_decayMode_, gentau_energy_, gentau_eta_, gentau_mass_, gentau_phi_, gentau_products_energy_, gentau_products_eta_, gentau_products_id_, gentau_products_mass_, gentau_products_phi_, gentau_products_pt_, gentau_pt_, gentau_totNcharged_, gentau_totNgamma_, gentau_totNproducts_, gentau_vis_energy_, gentau_vis_eta_, gentau_vis_mass_, gentau_vis_phi_, and gentau_vis_pt_.
Referenced by fill().
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 146 of file HGCalTriggerNtupleGenTau.cc.
References clear(), BPhysicsValidation_cfi::daughters, gen_token_, gentau_decayMode_, gentau_energy_, gentau_eta_, gentau_mass_, gentau_phi_, gentau_products_energy_, gentau_products_eta_, gentau_products_id_, gentau_products_mass_, gentau_products_phi_, gentau_products_pt_, gentau_pt_, gentau_totNcharged_, gentau_totNgamma_, gentau_totNpiZero_, gentau_totNproducts_, gentau_vis_energy_, gentau_vis_eta_, gentau_vis_mass_, gentau_vis_phi_, gentau_vis_pt_, edm::Event::getByToken(), isChargedHadron(), isChargedHadronFromResonance(), isElectron(), isGamma(), isGoodTau(), isIntermediateResonance(), isMuon(), isNeutralPion(), isNeutralPionFromResonance(), isPythia8generator_, isStableLepton(), isStableNeutralHadron(), dumpMFGeometry_cfg::prod, and edm::RefVector< C, T, F >::push_back().
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 63 of file HGCalTriggerNtupleGenTau.cc.
References gen_token_, gentau_decayMode_, gentau_energy_, gentau_eta_, gentau_mass_, gentau_phi_, gentau_products_energy_, gentau_products_eta_, gentau_products_id_, gentau_products_mass_, gentau_products_phi_, gentau_products_pt_, gentau_pt_, gentau_totNcharged_, gentau_totNgamma_, gentau_totNpiZero_, gentau_totNproducts_, gentau_vis_energy_, gentau_vis_eta_, gentau_vis_mass_, gentau_vis_phi_, gentau_vis_pt_, edm::ParameterSet::getParameter(), and isPythia8generator_.
|
private |
Definition at line 96 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill(), and isStableNeutralHadron().
|
private |
Definition at line 101 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isLastCopy(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 111 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), and reco::LeafCandidate::pdgId().
Referenced by fill().
|
private |
Definition at line 130 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), reco::GenStatusFlags::isTauDecayProduct(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::status(), and reco::GenParticle::statusFlags().
Referenced by fill().
|
private |
Definition at line 92 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 135 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 116 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), and reco::LeafCandidate::pdgId().
Referenced by fill().
|
private |
Definition at line 121 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenStatusFlags::isTauDecayProduct(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::status(), and reco::GenParticle::statusFlags().
Referenced by fill().
|
private |
Definition at line 126 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenStatusFlags::isTauDecayProduct(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::status(), and reco::GenParticle::statusFlags().
Referenced by fill().
|
private |
Definition at line 106 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 141 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), isChargedHadron(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 31 of file HGCalTriggerNtupleGenTau.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 45 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 37 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 35 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 38 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 36 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 54 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 52 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 56 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 55 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 53 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 51 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 34 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 49 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 47 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 48 of file HGCalTriggerNtupleGenTau.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 46 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 43 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 41 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 44 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 42 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 40 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 32 of file HGCalTriggerNtupleGenTau.cc.
Referenced by fill(), and initialize().