#include <L1TriggerDPG/L1Ntuples/src/L1GenTreeProducer.cc>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob (void) override |
void | endJob () override |
Private Attributes | |
edm::Service< TFileService > | fs_ |
edm::EDGetTokenT< GenEventInfoProduct > | genInfoToken_ |
edm::EDGetTokenT< reco::GenJetCollection > | genJetToken_ |
edm::EDGetTokenT< reco::GenParticleCollection > | genParticleToken_ |
std::unique_ptr< 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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: Produce L1 Extra tree
Implementation:
Definition at line 54 of file L1GenTreeProducer.cc.
|
explicit |
Definition at line 83 of file L1GenTreeProducer.cc.
References fs_, genInfoToken_, genJetToken_, genParticleToken_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), l1GenData_, TFileService::make(), pileupInfoToken_, and tree_.
|
override |
Definition at line 98 of file L1GenTreeProducer.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 108 of file L1GenTreeProducer.cc.
References funct::abs(), GenEventInfoProduct::binningValues(), l1GtPatternGenerator_cfi::bx, Exception, genInfoToken_, ttbarCategorization_cff::genJets, genJetToken_, genParticles2HepMC_cfi::genParticles, genParticleToken_, GenEventInfoProduct::hasBinningValues(), mps_fire::i, iEvent, edm::HandleBase::isValid(), l1GenData_, nPart(), AlCaHLTBitMon_ParallelJobs::p, EgammaValidation_cff::pdgId, pileupInfoToken_, tree_, and GenEventInfoProduct::weight().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
private |
Definition at line 68 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 77 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 78 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 74 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 65 of file L1GenTreeProducer.cc.
|
private |
Definition at line 79 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 71 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().