46 : scoreToken_(consumes<
float>(iConfig.getUntrackedParameter<
edm::
InputTag>(
"scoreToken"))),
49 tree_ =
fs_->
make<TTree>(
"L1CaloSummaryTree",
"L1CaloSummaryTree");
50 tree_->Branch(
"CaloSummary",
"L1Analysis::L1AnalysisCaloSummaryDataFormat", &
caloSummaryData_, 32000, 3);
62 for (
const auto& itr : *
regions) {
67 edm::LogWarning(
"L1Ntuple") <<
"Could not find region regions. CICADA model input will not be filled";
75 edm::LogWarning(
"L1Ntuple") <<
"Could not find a proper CICADA score. CICADA score will not be filled.";
static const std::string kSharedResource
L1CaloSummaryTreeProducer(const edm::ParameterSet &)
const edm::EDGetTokenT< float > scoreToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
L1Analysis::L1AnalysisCaloSummaryDataFormat * caloSummaryData_
const edm::EDGetTokenT< L1CaloRegionCollection > regionToken_
#define DEFINE_FWK_MODULE(type)
~L1CaloSummaryTreeProducer() override
T * make(const Args &...args) const
make new ROOT object
std::vector< L1CaloRegion > L1CaloRegionCollection
Log< level::Warning, false > LogWarning
edm::Service< TFileService > fs_