5 #include <fmt/printf.h> 80 for (
auto const &keyval :
menu->getAlgorithmMap()) {
82 unsigned int index = keyval.second.getIndex();
84 tree_->SetAlias(
name.c_str(), fmt::sprintf(
"L1uGT.m_algoDecisionInitial[%d]",
index).c_str());
94 <<
"L1uGTTree or L1uGTTestcrateTree GlobalAlgBlkBxCollection not found. Branch will not be filled.\n" 95 <<
"Please note that the L1uGTTestcrateTree is not expected to exist in MC, so this warning can be ignored!" static const std::string kSharedResource
void analyze(edm::Event const &, edm::EventSetup const &) override
const edm::ESGetToken< L1TUtmTriggerMenu, L1TUtmTriggerMenuRcd > l1GtMenuToken_
T const * product() const
GlobalAlgBlk const * results_
unsigned size(int bx) const
L1uGTTreeProducer(edm::ParameterSet const &)
#define DEFINE_FWK_MODULE(type)
const T & at(int bx, unsigned i) const
~L1uGTTreeProducer() override=default
unsigned long long cache_id_
edm::Service< TFileService > fs_
const edm::EDGetTokenT< GlobalAlgBlkBxCollection > ugtToken_
T * make(const Args &...args) const
make new ROOT object
Log< level::Warning, false > LogWarning