#include <L1TriggerDPG/L1Ntuples/src/L1GenTreeProducer.cc>
Public Member Functions | |
L1GenTreeProducer (const edm::ParameterSet &) | |
~L1GenTreeProducer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob (void) |
virtual void | endJob () |
Private Attributes | |
edm::Service< TFileService > | fs_ |
edm::EDGetTokenT < reco::GenJetCollection > | genJetToken_ |
edm::EDGetTokenT < reco::GenParticleCollection > | genParticleToken_ |
L1Analysis::L1AnalysisGeneratorDataFormat * | l1GenData_ |
unsigned | maxL1Upgrade_ |
edm::EDGetTokenT< std::vector < PileupSummaryInfo > > | pileupInfoToken_ |
TTree * | tree_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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: Produce L1 Extra tree
Implementation:
Definition at line 55 of file L1GenTreeProducer.cc.
|
explicit |
Definition at line 88 of file L1GenTreeProducer.cc.
References fs_, genJetToken_, genParticleToken_, edm::ParameterSet::getUntrackedParameter(), l1GenData_, TFileService::make(), pileupInfoToken_, and tree_.
L1GenTreeProducer::~L1GenTreeProducer | ( | ) |
Definition at line 102 of file L1GenTreeProducer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 117 of file L1GenTreeProducer.cc.
References funct::abs(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), Exception, genJetToken_, genParticleCandidates2GenParticles_cfi::genParticles, genParticleToken_, edm::Event::getByToken(), i, edm::HandleBase::isValid(), L1Analysis::L1AnalysisGeneratorDataFormat::jetEta, L1Analysis::L1AnalysisGeneratorDataFormat::jetPhi, L1Analysis::L1AnalysisGeneratorDataFormat::jetPt, l1GenData_, reco::CompositeRefCandidateT< D >::mother(), L1Analysis::L1AnalysisGeneratorDataFormat::nJet, L1Analysis::L1AnalysisGeneratorDataFormat::nMeanPU, reco::CompositeRefCandidateT< D >::numberOfMothers(), L1Analysis::L1AnalysisGeneratorDataFormat::nVtx, AlCaHLTBitMon_ParallelJobs::p, L1Analysis::L1AnalysisGeneratorDataFormat::partE, L1Analysis::L1AnalysisGeneratorDataFormat::partEta, L1Analysis::L1AnalysisGeneratorDataFormat::partId, L1Analysis::L1AnalysisGeneratorDataFormat::partParent, L1Analysis::L1AnalysisGeneratorDataFormat::partPhi, L1Analysis::L1AnalysisGeneratorDataFormat::partPt, L1Analysis::L1AnalysisGeneratorDataFormat::partStat, SingleMuPt40Fwdv2_cfi_GEN_SIM::pdgId, reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), pileupInfoToken_, reco::LeafCandidate::pt(), L1Analysis::L1AnalysisGeneratorDataFormat::Reset(), reco::LeafCandidate::status(), and tree_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 239 of file L1GenTreeProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 245 of file L1GenTreeProducer.cc.
|
private |
Definition at line 71 of file L1GenTreeProducer.cc.
Referenced by L1GenTreeProducer().
|
private |
Definition at line 80 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 81 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 77 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 68 of file L1GenTreeProducer.cc.
|
private |
Definition at line 82 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 74 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().