1 #ifndef L1TGlobal_l1TGlobalUtilHelper_h 2 #define L1TGlobal_l1TGlobalUtilHelper_h 32 class BranchDescription;
105 template <
typename T>
109 template <
typename T>
115 : m_consumesCollector(iC),
121 m_findL1TAlgBlk(
false),
122 m_findL1TExtBlk(
false),
124 m_readPrescalesFromFile(
false),
126 m_foundPreferredL1TAlgBlk(
false),
127 m_foundPreferredL1TExtBlk(
false),
129 m_foundMultipleL1TAlgBlk(
false),
130 m_foundMultipleL1TExtBlk(
false) {
131 if (
pset.existsAs<
bool>(
"ReadPrescalesFromFile")) {
158 module.callWhenNewProductsRegistered(std::ref(*
this));
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
bool m_foundMultipleL1TExtBlk
std::vector< edm::InputTag > m_inputTagsL1TAlgBlk
edm::EDGetTokenT< GlobalAlgBlkBxCollection > const & l1tAlgBlkToken() const
bool m_foundMultipleL1TAlgBlk
edm::InputTag const & l1tAlgBlkInputTag() const
bool const & readPrescalesFromFile() const
L1TGlobalUtilHelper(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
std::vector< edm::InputTag > m_inputTagsL1TExtBlk
edm::EDGetTokenT< GlobalExtBlkBxCollection > m_l1tExtBlkToken
bool m_foundPreferredL1TExtBlk
edm::ConsumesCollector m_consumesCollector
static void fillDescription(edm::ParameterSetDescription &desc)
edm::InputTag const & l1tExtBlkInputTag() const
edm::EDGetTokenT< GlobalAlgBlkBxCollection > m_l1tAlgBlkToken
edm::EDGetTokenT< GlobalExtBlkBxCollection > const & l1tExtBlkToken() const
edm::InputTag m_l1tAlgBlkInputTag
edm::InputTag m_l1tExtBlkInputTag
void operator()(edm::BranchDescription const &branchDescription)
bool m_foundPreferredL1TAlgBlk
bool m_readPrescalesFromFile