Public Member Functions | |
void | fill (const edm::Event &, const HGCalTriggerNtupleEventSetup &) final |
HGCalTriggerNtupleGenTau (const edm::ParameterSet &) | |
void | initialize (TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final |
Public Member Functions inherited from HGCalTriggerNtupleBase | |
bool | accessEventSetup () const |
virtual void | fill (const edm::Event &, const edm::EventSetup &) |
HGCalTriggerNtupleBase (const edm::ParameterSet &conf) | |
const std::string & | name () const |
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 | |
Protected Attributes inherited from HGCalTriggerNtupleBase | |
bool | accessEventSetup_ = true |
const std::string | name_ |
Definition at line 9 of file HGCalTriggerNtupleGenTau.cc.
HGCalTriggerNtupleGenTau::HGCalTriggerNtupleGenTau | ( | const edm::ParameterSet & | conf | ) |
Definition at line 61 of file HGCalTriggerNtupleGenTau.cc.
References HGCalTriggerNtupleBase::accessEventSetup_.
|
finalprivatevirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 311 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 |
Reimplemented from HGCalTriggerNtupleBase.
Definition at line 148 of file HGCalTriggerNtupleGenTau.cc.
References clear(), 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(), and edm::RefVector< C, T, F >::push_back().
|
finalvirtual |
Implements HGCalTriggerNtupleBase.
Definition at line 65 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 98 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 103 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isLastCopy(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 113 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), and reco::LeafCandidate::pdgId().
Referenced by fill().
|
private |
Definition at line 132 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 94 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 137 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::LeafCandidate::pdgId(), and reco::LeafCandidate::status().
Referenced by fill().
|
private |
Definition at line 118 of file HGCalTriggerNtupleGenTau.cc.
References funct::abs(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), reco::GenParticle::isLastCopy(), and reco::LeafCandidate::pdgId().
Referenced by fill().
|
private |
Definition at line 123 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 128 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 108 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 143 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().