59 : hoDataFrameToken_(consumes<edm::SortedCollection<
HODataFrame>>(
60 iConfig.getUntrackedParameter<edm::
InputTag>(
"hoDataFrameToken"))) {
66 tree_->Branch(
"L1HO",
"L1Analysis::L1AnalysisL1HODataFormat", &
l1HOData, 32000, 3);
84 edm::LogWarning(
"MissingProduct") <<
"HODataFrame not found. Branch will not be filled" << std::endl;
static const std::string kSharedResource
void SetHO(const edm::SortedCollection< HODataFrame > &hoDataFrame)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::Service< TFileService > fs_
T * make(const Args &...args) const
make new ROOT object
L1AnalysisL1HODataFormat * getData()
void beginJob(void) override
L1HOTreeProducer(const edm::ParameterSet &)
L1Analysis::L1AnalysisL1HODataFormat * l1HOData
~L1HOTreeProducer() override=default
Log< level::Warning, false > LogWarning
L1Analysis::L1AnalysisL1HO l1HO
const edm::EDGetTokenT< edm::SortedCollection< HODataFrame > > hoDataFrameToken_