1 #ifndef GlobalTriggerAnalyzer_L1GtUtilsHelper_h
2 #define GlobalTriggerAnalyzer_L1GtUtilsHelper_h
33 class BranchDescription;
54 bool useL1GtTriggerMenuLite,
66 bool useL1GtTriggerMenuLite,
119 template <
typename T>
127 template <
typename T>
135 m_consumesCollector(std::
move(iC)),
138 m_l1GtRecordInputTag(l1GtRecordInputTag),
139 m_l1GtReadoutRecordInputTag(l1GtReadoutRecordInputTag),
140 m_l1GtTriggerMenuLiteInputTag(l1GtTriggerMenuLiteInputTag),
143 m_findReadoutRecord(
false),
144 m_findMenuLite(
false),
146 m_foundPreferredRecord(
false),
147 m_foundPreferredReadoutRecord(
false),
148 m_foundPreferredMenuLite(
false),
150 m_foundMultipleL1GtRecord(
false),
151 m_foundMultipleL1GtReadoutRecord(
false),
152 m_foundMultipleL1GtMenuLite(
false) {
164 if(useL1GtTriggerMenuLite &&
189 module.callWhenNewProductsRegistered(std::ref(*
this));
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
edm::InputTag const & l1GtReadoutRecordInputTag() const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::InputTag m_l1GtReadoutRecordInputTag
edm::EDGetTokenT< L1GtTriggerMenuLite > m_l1GtTriggerMenuLiteToken
std::vector< edm::InputTag > m_inputTagsL1GtReadoutRecord
edm::EDGetTokenT< L1GlobalTriggerRecord > const & l1GtRecordToken() const
edm::InputTag m_l1GtTriggerMenuLiteInputTag
edm::InputTag const & l1GtRecordInputTag() const
edm::InputTag m_l1GtRecordInputTag
std::vector< edm::InputTag > m_inputTagsL1GtMenuLite
bool m_foundMultipleL1GtReadoutRecord
std::vector< edm::InputTag > m_inputTagsL1GtRecord
static void fillDescription(edm::ParameterSetDescription &desc)
bool m_foundMultipleL1GtRecord
edm::EDGetTokenT< L1GlobalTriggerRecord > m_l1GtRecordToken
bool m_foundMultipleL1GtMenuLite
edm::ConsumesCollector m_consumesCollector
edm::InputTag const & l1GtTriggerMenuLiteInputTag() const
bool m_foundPreferredReadoutRecord
bool m_foundPreferredMenuLite
static const bool useL1GtTriggerMenuLite(true)
bool m_foundPreferredRecord
void operator()(edm::BranchDescription const &branchDescription)
volatile std::atomic< bool > shutdown_flag false
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtReadoutRecordToken
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > const & l1GtReadoutRecordToken() const
edm::EDGetTokenT< L1GtTriggerMenuLite > const & l1GtTriggerMenuLiteToken() const
L1GtUtilsHelper(edm::ParameterSet const &pset, edm::ConsumesCollector &iC, bool useL1GtTriggerMenuLite)