#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::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 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 () |
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: Produces tree containing reco quantities
Definition at line 41 of file L1RecoTreeProducer.cc.
|
explicit |
Definition at line 67 of file L1RecoTreeProducer.cc.
References fs_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), TFileService::kSharedResource, TFileService::make(), maxVtx_, tree_, vtxData_, and vtxToken_.
|
override |
Definition at line 81 of file L1RecoTreeProducer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 91 of file L1RecoTreeProducer.cc.
References iEvent, maxVtx_, L1Analysis::L1AnalysisRecoVertexDataFormat::NDoF, L1Analysis::L1AnalysisRecoVertexDataFormat::nVtx, L1Analysis::L1AnalysisRecoVertexDataFormat::Reset(), L1Analysis::L1AnalysisRecoVertexDataFormat::Rho, tree_, AlignmentTracksFromVertexSelector_cfi::vertices, vtxData_, vtxToken_, and L1Analysis::L1AnalysisRecoVertexDataFormat::Z.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 114 of file L1RecoTreeProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 117 of file L1RecoTreeProducer.cc.
|
private |
Definition at line 56 of file L1RecoTreeProducer.cc.
Referenced by L1RecoTreeProducer().
|
private |
Definition at line 64 of file L1RecoTreeProducer.cc.
Referenced by analyze(), and L1RecoTreeProducer().
|
private |
Definition at line 59 of file L1RecoTreeProducer.cc.
Referenced by analyze(), and L1RecoTreeProducer().
L1Analysis::L1AnalysisRecoVertexDataFormat* L1RecoTreeProducer::vtxData_ |
Definition at line 52 of file L1RecoTreeProducer.cc.
Referenced by analyze(), and L1RecoTreeProducer().
|
private |
Definition at line 62 of file L1RecoTreeProducer.cc.
Referenced by analyze(), and L1RecoTreeProducer().