|
|
Go to the documentation of this file.
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")) {
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);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< bool > m_selectTechnical
unsigned int m_daqPartitions
#define PHYSICS_BITS_SIZE
edm::InputTag m_gtReadoutRecordTag
edm::ESWatcher< L1GtTriggerMaskAlgoTrigRcd > m_watchPhysicsMask
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_gtReadoutRecordToken
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< bool > m_maskedPhysics
HLTLevel1Activity(const edm::ParameterSet &)
std::vector< int > m_bunchCrossings
std::vector< bool > m_selectPhysics
bool filter(edm::Event &, edm::EventSetup const &) final
std::vector< bool > m_maskedTechnical
#define TECHNICAL_BITS_SIZE
~HLTLevel1Activity() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESWatcher< L1GtTriggerMaskTechTrigRcd > m_watchTechnicalMask