32 #define PHYSICS_BITS_SIZE 128
33 #define TECHNICAL_BITS_SIZE 64
61 #include <boost/foreach.hpp>
73 m_gtReadoutRecord( config.getParameter<edm::InputTag> (
"L1GtReadoutRecordTag") ),
74 m_bunchCrossings( config.getParameter<std::vector<int> > (
"bunchCrossings") ),
79 m_daqPartitions( config.getParameter<unsigned int> (
"daqPartitions") ),
80 m_ignoreL1Mask( config.getParameter<bool> (
"ignoreL1Mask") ),
81 m_invert( config.getParameter<bool> (
"invert") )
83 unsigned long long low = config.
getParameter<
unsigned long long>(
"physicsLoBits");
84 unsigned long long high = config.
getParameter<
unsigned long long>(
"physicsHiBits");
85 unsigned long long tech = config.
getParameter<
unsigned long long>(
"technicalBits");
86 for (
unsigned int i = 0;
i < 64;
i++) {
90 for (
unsigned int i = 0;
i < 64;
i++) {
94 for (
unsigned int i = 0;
i < 64;
i++) {
109 std::vector<int> temp1;
114 desc.
add<std::vector<int> >(
"bunchCrossings",temp1);
116 desc.
add<
unsigned int>(
"daqPartitions",1);
117 desc.
add<
bool>(
"ignoreL1Mask",
false);
118 desc.
add<
bool>(
"invert",
false);
119 desc.
add<
unsigned long long int>(
"physicsLoBits",1);
120 desc.
add<
unsigned long long int>(
"physicsHiBits",262144);
121 desc.
add<
unsigned long long int>(
"technicalBits",1);
122 descriptions.
add(
"hltLevel1Activity",desc);
140 const std::vector<unsigned int> & mask = h_mask->gtTriggerMask();
152 const std::vector<unsigned int> & mask = h_mask->gtTriggerMask();
163 const std::vector<bool> & physics = h_gtReadoutRecord->decisionWord(bx);
170 const std::vector<bool> & technical = h_gtReadoutRecord->technicalTriggerWord(bx);
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_gtReadoutRecord
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
#define PHYSICS_BITS_SIZE
virtual bool filter(edm::Event &, const edm::EventSetup &)
HLTLevel1Activity(const edm::ParameterSet &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool check(const edm::EventSetup &iSetup)
std::vector< int > m_bunchCrossings
edm::ESWatcher< L1GtTriggerMaskTechTrigRcd > m_watchTechnicalMask
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
std::vector< bool > m_maskedTechnical