#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 | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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(), makePileupJSON::bx, reco::LeafCandidate::charge(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), Exception, genInfoToken_, genJetToken_, genParticleCandidates2GenParticles_cfi::genParticles, genParticleToken_, edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), l1GenData_, reco::CompositeRefCandidateT< D >::mother(), nPart(), reco::CompositeRefCandidateT< D >::numberOfMothers(), AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), pileupInfoToken_, reco::LeafCandidate::pt(), reco::LeafCandidate::status(), and tree_.
|
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().