1 #ifndef GlobalTriggerAnalyzer_L1GtUtilsHelper_h
2 #define GlobalTriggerAnalyzer_L1GtUtilsHelper_h
33 class BranchDescription;
59 bool useL1GtTriggerMenuLite,
112 template <
typename T>
119 template <
typename T>
127 : m_consumesCollector(iC),
130 m_l1GtRecordInputTag(l1GtRecordInputTag),
131 m_l1GtReadoutRecordInputTag(l1GtReadoutRecordInputTag),
132 m_l1GtTriggerMenuLiteInputTag(l1GtTriggerMenuLiteInputTag),
135 m_findReadoutRecord(
false),
136 m_findMenuLite(
false),
138 m_foundPreferredRecord(
false),
139 m_foundPreferredReadoutRecord(
false),
140 m_foundPreferredMenuLite(
false),
142 m_foundMultipleL1GtRecord(
false),
143 m_foundMultipleL1GtReadoutRecord(
false),
144 m_foundMultipleL1GtMenuLite(
false) {
177 module.callWhenNewProductsRegistered(std::ref(*
this));
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
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
T getParameter(std::string const &) const
static const bool useL1GtTriggerMenuLite(true)
bool m_foundPreferredRecord
void operator()(edm::BranchDescription const &branchDescription)
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)