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),
118 m_l1tAlgBlkInputTag(l1tAlgBlkInputTag),
119 m_l1tExtBlkInputTag(l1tExtBlkInputTag),
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)
edm::EDGetTokenT< GlobalAlgBlkBxCollection > const & l1tAlgBlkToken() const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
bool m_foundMultipleL1TExtBlk
std::vector< edm::InputTag > m_inputTagsL1TAlgBlk
bool m_foundMultipleL1TAlgBlk
L1TGlobalUtilHelper(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
bool const & readPrescalesFromFile() const
std::vector< edm::InputTag > m_inputTagsL1TExtBlk
edm::EDGetTokenT< GlobalExtBlkBxCollection > m_l1tExtBlkToken
bool m_foundPreferredL1TExtBlk
edm::InputTag const & l1tExtBlkInputTag() const
edm::EDGetTokenT< GlobalExtBlkBxCollection > const & l1tExtBlkToken() const
edm::ConsumesCollector m_consumesCollector
static void fillDescription(edm::ParameterSetDescription &desc)
edm::InputTag const & l1tAlgBlkInputTag() const
edm::EDGetTokenT< GlobalAlgBlkBxCollection > m_l1tAlgBlkToken
T getParameter(std::string const &) const
edm::InputTag m_l1tAlgBlkInputTag
edm::InputTag m_l1tExtBlkInputTag
void operator()(edm::BranchDescription const &branchDescription)
bool m_foundPreferredL1TAlgBlk
bool m_readPrescalesFromFile