32 #define PHYSICS_BITS_SIZE 128
33 #define TECHNICAL_BITS_SIZE 64
71 m_gtReadoutRecordTag( config.getParameter<edm::
InputTag> (
"L1GtReadoutRecordTag") ),
73 m_bunchCrossings( config.getParameter<std::vector<int>> (
"bunchCrossings") ),
78 m_daqPartitions( config.getParameter<unsigned int> (
"daqPartitions") ),
79 m_ignoreL1Mask( config.getParameter<bool> (
"ignoreL1Mask") ),
80 m_invert( config.getParameter<bool> (
"invert") )
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++) {
107 desc.
add<std::vector<int>>(
"bunchCrossings", {0, -1, 1});
108 desc.
add<
unsigned int>(
"daqPartitions", 1);
109 desc.
add<
bool>(
"ignoreL1Mask",
false);
110 desc.
add<
bool>(
"invert",
false);
111 desc.
add<
unsigned long long int>(
"physicsLoBits", 0x0000000000000001LL);
112 desc.
add<
unsigned long long int>(
"physicsHiBits", 0x0000000000040000LL);
113 desc.
add<
unsigned long long int>(
"technicalBits", 0x0000000000000001LL);
114 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)
std::vector< bool > m_selectTechnical
#define TECHNICAL_BITS_SIZE
std::vector< bool > m_selectPhysics
edm::InputTag m_gtReadoutRecordTag
ParameterDescriptionBase * add(U const &iLabel, T const &value)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::vector< bool > m_maskedPhysics
virtual bool filter(edm::Event &, edm::EventSetup const &) overridefinal
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
std::vector< bool > m_maskedTechnical