60 std::unique_ptr<L1Analysis::L1AnalysisEvent>
l1Event;
75 : hltSource_(consumes<edm::TriggerResults>(iConfig.getParameter<edm::
InputTag>(
"hltSource"))) {
86 l1Event = std::make_unique<L1Analysis::L1AnalysisEvent>(
87 puMCFile, puMCHist, puDataFile, puDataHist, useAvgVtx, maxAllowedWeight,
consumesCollector());
92 tree_->Branch(
"Event",
"L1Analysis::L1AnalysisEventDataFormat", &l1EventData, 32000, 3);
static const std::string kSharedResource
T getUntrackedParameter(std::string const &, T const &) const
void beginJob(void) override
#define DEFINE_FWK_MODULE(type)
constexpr bool isUninitialized() const noexcept
T * make(const Args &...args) const
make new ROOT object
std::unique_ptr< L1Analysis::L1AnalysisEvent > l1Event
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::Service< TFileService > fs_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
L1Analysis::L1AnalysisEventDataFormat * l1EventData
const edm::EDGetTokenT< edm::TriggerResults > hltSource_
~L1EventTreeProducer() override=default
L1EventTreeProducer(const edm::ParameterSet &)