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 68 of file HGCalTriggerNtupleGenTau.cc.
References initialize().
|
finalprivatevirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 337 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 174 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(), parseEventContent::prod, and edm::RefVector< C, T, F >::push_back().
Referenced by isStableNeutralHadron().
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 74 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_.
Referenced by HGCalTriggerNtupleGenTau().
|
private |
Definition at line 109 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 114 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isLastCopy(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 127 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), and reco::LeafCandidate::pdgId().
Referenced by fill().
|
private |
Definition at line 152 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 104 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 158 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 133 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), and reco::LeafCandidate::pdgId().
Referenced by fill().
|
private |
Definition at line 139 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 146 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 120 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 165 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), fill(), isChargedHadron(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 33 of file HGCalTriggerNtupleGenTau.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 47 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 39 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 40 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 56 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 58 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 57 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 36 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 49 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 50 of file HGCalTriggerNtupleGenTau.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 48 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 45 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 46 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 34 of file HGCalTriggerNtupleGenTau.cc.
Referenced by fill(), and initialize().