Go to the documentation of this file. 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));
edm::InputTag const & l1tAlgBlkInputTag() const
bool m_foundMultipleL1TAlgBlk
static void fillDescription(edm::ParameterSetDescription &desc)
edm::InputTag m_l1tExtBlkInputTag
L1TGlobalUtilHelper(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
bool const & readPrescalesFromFile() const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< GlobalAlgBlkBxCollection > const & l1tAlgBlkToken() const
bool m_foundPreferredL1TAlgBlk
std::vector< edm::InputTag > m_inputTagsL1TExtBlk
edm::EDGetTokenT< GlobalExtBlkBxCollection > m_l1tExtBlkToken
bool m_foundMultipleL1TExtBlk
std::vector< edm::InputTag > m_inputTagsL1TAlgBlk
edm::InputTag const & l1tExtBlkInputTag() const
void operator()(edm::BranchDescription const &branchDescription)
bool m_readPrescalesFromFile
edm::EDGetTokenT< GlobalAlgBlkBxCollection > m_l1tAlgBlkToken
edm::ConsumesCollector m_consumesCollector
edm::EDGetTokenT< GlobalExtBlkBxCollection > const & l1tExtBlkToken() const
edm::InputTag m_l1tAlgBlkInputTag
bool m_foundPreferredL1TExtBlk