#include <L1Trigger/L1TNtuples/src/L1RecoTreeProducer.cc>
Public Attributes | |
L1Analysis::L1AnalysisRecoVertexDataFormat * | vtxData_ |
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_ |
unsigned int | maxVtx_ |
TTree * | tree_ |
edm::EDGetTokenT< reco::VertexCollection > | vtxToken_ |
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 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: Produces tree containing reco quantities
Definition at line 43 of file L1RecoTreeProducer.cc.
|
explicit |
Definition at line 74 of file L1RecoTreeProducer.cc.
References fs_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), TFileService::make(), maxVtx_, tree_, vtxData_, and vtxToken_.
|
override |
Definition at line 90 of file L1RecoTreeProducer.cc.
|
overrideprivate |
Definition at line 104 of file L1RecoTreeProducer.cc.
References edm::Event::getByToken(), edm::HandleBase::isValid(), maxVtx_, L1Analysis::L1AnalysisRecoVertexDataFormat::NDoF, L1Analysis::L1AnalysisRecoVertexDataFormat::nVtx, L1Analysis::L1AnalysisRecoVertexDataFormat::Reset(), L1Analysis::L1AnalysisRecoVertexDataFormat::Rho, tree_, electrons_cff::vertices, vtxData_, vtxToken_, and L1Analysis::L1AnalysisRecoVertexDataFormat::Z.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 135 of file L1RecoTreeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 141 of file L1RecoTreeProducer.cc.
References DEFINE_FWK_MODULE.
|
private |
Definition at line 60 of file L1RecoTreeProducer.cc.
Referenced by L1RecoTreeProducer().
|
private |
Definition at line 68 of file L1RecoTreeProducer.cc.
Referenced by analyze(), and L1RecoTreeProducer().
|
private |
Definition at line 63 of file L1RecoTreeProducer.cc.
Referenced by analyze(), and L1RecoTreeProducer().
L1Analysis::L1AnalysisRecoVertexDataFormat* L1RecoTreeProducer::vtxData_ |
Definition at line 55 of file L1RecoTreeProducer.cc.
Referenced by analyze(), and L1RecoTreeProducer().
|
private |
Definition at line 66 of file L1RecoTreeProducer.cc.
Referenced by analyze(), and L1RecoTreeProducer().