32 #define PHYSICS_BITS_SIZE 128 33 #define TECHNICAL_BITS_SIZE 64 82 unsigned long long low = config.
getParameter<
unsigned long long>(
"physicsLoBits");
83 unsigned long long high = config.
getParameter<
unsigned long long>(
"physicsHiBits");
84 unsigned long long tech = config.
getParameter<
unsigned long long>(
"technicalBits");
85 for (
unsigned int i = 0;
i < 64;
i++) {
89 for (
unsigned int i = 0;
i < 64;
i++) {
93 for (
unsigned int i = 0;
i < 64;
i++) {
105 desc.
add<std::vector<int>>(
"bunchCrossings", {0, -1, 1});
106 desc.
add<
unsigned int>(
"daqPartitions", 1);
107 desc.
add<
bool>(
"ignoreL1Mask",
false);
108 desc.
add<
bool>(
"invert",
false);
109 desc.
add<
unsigned long long int>(
"physicsLoBits", 0x0000000000000001LL);
110 desc.
add<
unsigned long long int>(
"physicsHiBits", 0x0000000000040000LL);
111 desc.
add<
unsigned long long int>(
"technicalBits", 0x0000000000000001LL);
112 descriptions.
add(
"hltLevel1Activity", desc);
T getParameter(std::string const &) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
unsigned int m_daqPartitions
edm::ESWatcher< L1GtTriggerMaskAlgoTrigRcd > m_watchPhysicsMask
#define DEFINE_FWK_MODULE(type)
def setup(process, global_tag, zero_tesla=False)
std::vector< bool > m_selectTechnical
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define TECHNICAL_BITS_SIZE
std::vector< bool > m_selectPhysics
edm::InputTag m_gtReadoutRecordTag
ParameterDescriptionBase * add(U const &iLabel, T const &value)
~HLTLevel1Activity() override
std::vector< bool > m_maskedPhysics
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_gtReadoutRecordToken
#define PHYSICS_BITS_SIZE
HLTLevel1Activity(const edm::ParameterSet &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< int > m_bunchCrossings
edm::ESWatcher< L1GtTriggerMaskTechTrigRcd > m_watchTechnicalMask
bool filter(edm::Event &, edm::EventSetup const &) final
std::vector< bool > m_maskedTechnical