#include <TruthTauDecayModeProducer.cc>
Classes | |
struct | tauObjectsHolder |
Private Member Functions | |
void | beginJob () override |
void | endJob () override |
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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_.
|
override |
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.
References DEFINE_FWK_MODULE.
|
overrideprivate |
Definition at line 89 of file TruthTauDecayModeProducer.cc.
References funct::abs(), reco::CompositeCandidate::addDaughter(), addP4, TruthTauDecayModeProducer::tauObjectsHolder::chargedObjects, slimmedGenJetsFlavourInfos_cfi::genJets, edm::Event::getByLabel(), GeneratorTau::getGenChargedPions(), GeneratorTau::getGenNeutralPions(), iAmSignal_, GeneratorTau::init(), inputTag_, GeneratorTau::isFinalStateTau(), leadTrackEtaCut_, leadTrackPtCut_, eostools::move(), TruthTauDecayModeProducer::tauObjectsHolder::neutralObjects, reco::LeafCandidate::p4(), common_cff::pdgId, edm::Event::put(), 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().