#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::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
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) |
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 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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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(), TFileService::kSharedResource, l1GenData_, TFileService::make(), pileupInfoToken_, and tree_.
|
override |
Definition at line 99 of file L1GenTreeProducer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 109 of file L1GenTreeProducer.cc.
References funct::abs(), GenEventInfoProduct::binningValues(), nano_mu_digi_cff::bx, Exception, genInfoToken_, l1tCaloJetHTTProducer_cfi::genJets, genJetToken_, AJJGenJetFilter_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 |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 204 of file L1GenTreeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 207 of file L1GenTreeProducer.cc.
|
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().