#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 | |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 56 of file L1GenTreeProducer.cc.
|
explicit |
Definition at line 90 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 106 of file L1GenTreeProducer.cc.
|
overrideprivate |
Definition at line 121 of file L1GenTreeProducer.cc.
References funct::abs(), GenEventInfoProduct::binningValues(), reco::LeafCandidate::charge(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), Exception, genInfoToken_, ttbarCategorization_cff::genJets, genJetToken_, GenHFHadronMatcher_cfi::genParticles, genParticleToken_, edm::Event::getByToken(), GenEventInfoProduct::hasBinningValues(), mps_fire::i, edm::HandleBase::isValid(), l1GenData_, reco::CompositeRefCandidateT< D >::mother(), nPart(), reco::CompositeRefCandidateT< D >::numberOfMothers(), AlCaHLTBitMon_ParallelJobs::p, common_cff::pdgId, reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), pileupInfoToken_, reco::LeafCandidate::pt(), reco::LeafCandidate::status(), tree_, and GenEventInfoProduct::weight().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 242 of file L1GenTreeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 248 of file L1GenTreeProducer.cc.
References DEFINE_FWK_MODULE.
|
private |
Definition at line 72 of file L1GenTreeProducer.cc.
Referenced by L1GenTreeProducer().
|
private |
Definition at line 84 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 82 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 69 of file L1GenTreeProducer.cc.
|
private |
Definition at line 83 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().
|
private |
Definition at line 75 of file L1GenTreeProducer.cc.
Referenced by analyze(), and L1GenTreeProducer().