32 #define PHYSICS_BITS_SIZE 128 33 #define TECHNICAL_BITS_SIZE 64 71 : m_gtReadoutRecordTag(
config.getParameter<
edm::
InputTag>(
"L1GtReadoutRecordTag")),
78 m_daqPartitions(
config.getParameter<unsigned
int>(
"daqPartitions")),
79 m_ignoreL1Mask(
config.getParameter<
bool>(
"ignoreL1Mask")),
80 m_invert(
config.getParameter<
bool>(
"invert")) {
81 unsigned long long low =
config.getParameter<
unsigned long long>(
"physicsLoBits");
82 unsigned long long high =
config.getParameter<
unsigned long long>(
"physicsHiBits");
83 unsigned long long tech =
config.getParameter<
unsigned long long>(
"technicalBits");
84 for (
unsigned int i = 0;
i < 64;
i++) {
88 for (
unsigned int i = 0;
i < 64;
i++) {
92 for (
unsigned int i = 0;
i < 64;
i++) {
103 desc.add<std::vector<int>>(
"bunchCrossings", {0, -1, 1});
104 desc.add<
unsigned int>(
"daqPartitions", 1);
105 desc.add<
bool>(
"ignoreL1Mask",
false);
106 desc.add<
bool>(
"invert",
false);
107 desc.add<
unsigned long long int>(
"physicsLoBits", 0x0000000000000001
LL);
108 desc.add<
unsigned long long int>(
"physicsHiBits", 0x0000000000040000
LL);
109 desc.add<
unsigned long long int>(
"technicalBits", 0x0000000000000001
LL);
110 descriptions.
add(
"hltLevel1Activity",
desc);
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
unsigned int m_daqPartitions
edm::ESWatcher< L1GtTriggerMaskAlgoTrigRcd > m_watchPhysicsMask
std::vector< bool > m_selectTechnical
#define TECHNICAL_BITS_SIZE
std::vector< bool > m_selectPhysics
edm::InputTag m_gtReadoutRecordTag
#define DEFINE_FWK_MODULE(type)
~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