#include <TruthTauDecayModeProducer.cc>
Classes | |
struct | tauObjectsHolder |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
AddFourMomenta | addP4 |
bool | iAmSignal_ |
edm::InputTag | inputTag_ |
double | leadTrackEtaCut_ |
double | leadTrackPtCut_ |
double | totalEtaCut_ |
double | totalPtCut_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: Produces reco::PFTauDecayModes corresponding to MonteCarlo objects For signal, it uses decayed MC taus For background, it uses GenJets
Implementation: <Notes on="" implementation>="">
Definition at line 43 of file TruthTauDecayModeProducer.cc.
|
explicit |
Definition at line 68 of file TruthTauDecayModeProducer.cc.
References edm::ParameterSet::getParameter(), iAmSignal_, inputTag_, leadTrackEtaCut_, leadTrackPtCut_, totalEtaCut_, and totalPtCut_.
TruthTauDecayModeProducer::~TruthTauDecayModeProducer | ( | ) |
Definition at line 84 of file TruthTauDecayModeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 212 of file TruthTauDecayModeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 218 of file TruthTauDecayModeProducer.cc.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 89 of file TruthTauDecayModeProducer.cc.
References funct::abs(), reco::CompositeCandidate::addDaughter(), addP4, TruthTauDecayModeProducer::tauObjectsHolder::chargedObjects, edm::Event::getByLabel(), GeneratorTau::getGenChargedPions(), GeneratorTau::getGenNeutralPions(), iAmSignal_, GeneratorTau::init(), inputTag_, GeneratorTau::isFinalStateTau(), leadTrackEtaCut_, leadTrackPtCut_, TruthTauDecayModeProducer::tauObjectsHolder::neutralObjects, reco::LeafCandidate::p4(), benchmark_cfg::pdgId, edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, AddFourMomenta::set(), reco::PFTauDecayMode::setPFTauRef(), totalEtaCut_, totalPtCut_, and listHistos::trackPt.
|
private |
Definition at line 65 of file TruthTauDecayModeProducer.cc.
Referenced by produce().
|
private |
Definition at line 59 of file TruthTauDecayModeProducer.cc.
Referenced by produce(), and TruthTauDecayModeProducer().
|
private |
Definition at line 60 of file TruthTauDecayModeProducer.cc.
Referenced by produce(), and TruthTauDecayModeProducer().
|
private |
Definition at line 62 of file TruthTauDecayModeProducer.cc.
Referenced by produce(), and TruthTauDecayModeProducer().
|
private |
Definition at line 61 of file TruthTauDecayModeProducer.cc.
Referenced by produce(), and TruthTauDecayModeProducer().
|
private |
Definition at line 64 of file TruthTauDecayModeProducer.cc.
Referenced by produce(), and TruthTauDecayModeProducer().
|
private |
Definition at line 63 of file TruthTauDecayModeProducer.cc.
Referenced by produce(), and TruthTauDecayModeProducer().