1 #ifndef L1TGlobal_l1TGlobalUtilHelper_h 2 #define L1TGlobal_l1TGlobalUtilHelper_h 32 class BranchDescription;
100 template <
typename T>
109 m_readPrescalesFromFile(
false) {
110 if (
pset.existsAs<
bool>(
"ReadPrescalesFromFile")) {
137 if (findL1TAlgBlk || findL1TExtBlk) {
138 auto const* pModule = &
module;
139 module.callWhenNewProductsRegistered([
this, findL1TAlgBlk, findL1TExtBlk, iC, pModule](
auto iBranch) {
143 auto const&
label = pModule->moduleDescription().moduleLabel();
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< GlobalAlgBlkBxCollection > const & l1tAlgBlkToken() const
edm::InputTag const & l1tAlgBlkInputTag() const
bool const & readPrescalesFromFile() const
L1TGlobalUtilHelper(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
edm::EDGetTokenT< GlobalExtBlkBxCollection > m_l1tExtBlkToken
static void fillDescription(edm::ParameterSetDescription &desc, edm::InputTag const &iAlg, edm::InputTag const &iExt, bool readPrescalesFromFile)
edm::InputTag const & l1tExtBlkInputTag() const
edm::EDGetTokenT< GlobalAlgBlkBxCollection > m_l1tAlgBlkToken
edm::EDGetTokenT< GlobalExtBlkBxCollection > const & l1tExtBlkToken() const
void addContext(std::string const &context)
edm::InputTag m_l1tAlgBlkInputTag
void checkToUpdateTags(edm::BranchDescription const &branchDescription, edm::ConsumesCollector, bool findL1TAlgBlk, bool findL1TExtBlk)
edm::InputTag m_l1tExtBlkInputTag
bool m_readPrescalesFromFile