50 tree_ =
fs_->
make<TTree>(
"L1CaloSummaryTree",
"L1CaloSummaryTree");
51 tree_->Branch(
"CaloSummary",
"L1Analysis::L1AnalysisCaloSummaryDataFormat", &
caloSummaryData_, 32000, 3);
63 for (
const auto& itr : *
regions) {
68 edm::LogWarning(
"L1Ntuple") <<
"Could not find region regions. CICADA model input will not be filled";
76 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< l1t::CICADABxCollection > 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
BXVector< float > CICADABxCollection
std::vector< L1CaloRegion > L1CaloRegionCollection
Log< level::Warning, false > LogWarning
edm::Service< TFileService > fs_