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 | isChargedPion (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 | isStableLepton (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_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 64 of file HGCalTriggerNtupleGenTau.cc.
References initialize().
|
finalprivatevirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 298 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 152 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_totNproducts_, gentau_vis_energy_, gentau_vis_eta_, gentau_vis_mass_, gentau_vis_phi_, gentau_vis_pt_, edm::Event::getByToken(), isChargedPion(), isElectron(), isGamma(), isGoodTau(), isIntermediateResonance(), isMuon(), isNeutralPion(), isPythia8generator_, isStableLepton(), parseEventContent::prod, and edm::RefVector< C, T, F >::push_back().
Referenced by isIntermediateResonance().
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 70 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_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 104 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 117 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), and reco::LeafCandidate::pdgId().
Referenced by fill().
|
private |
Definition at line 136 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 99 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 143 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), fill(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 123 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), and reco::LeafCandidate::pdgId().
Referenced by fill().
|
private |
Definition at line 129 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 110 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 30 of file HGCalTriggerNtupleGenTau.cc.
Referenced by fill(), and initialize().
|
private |
Definition at line 44 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 34 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 52 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 50 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 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 49 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 33 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 46 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 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 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 39 of file HGCalTriggerNtupleGenTau.cc.
Referenced by clear(), fill(), and initialize().
|
private |
Definition at line 31 of file HGCalTriggerNtupleGenTau.cc.
Referenced by fill(), and initialize().