59 #include <boost/foreach.hpp> 86 throw cms::Exception(
"Configuration") <<
"\"bunchCrossings\" and \"triggerPattern\" parameters do not match";
88 for (
unsigned int i = 0;
i < pattern.size(); ++
i)
98 desc.
add<
std::string>(
"triggerBit",
"L1Tech_RPC_TTU_pointing_Cosmics.v0");
100 std::vector<int> temp1;
107 desc.
add<std::vector<int> >(
"bunchCrossings",temp1);
109 desc.
add<
unsigned int>(
"daqPartitions",1);
110 desc.
add<
bool>(
"ignoreL1Mask",
false);
111 desc.
add<
bool>(
"invert",
false);
112 desc.
add<
bool>(
"throw",
true);
114 std::vector<int> temp1;
121 desc.
add<std::vector<int> >(
"triggerPattern",temp1);
123 descriptions.
add(
"hltLevel1Pattern",desc);
142 AlgorithmMap::const_iterator
entry;
143 if ((entry = algoMap.find(
m_triggerBit)) != algoMap.end()) {
147 if ((entry = techMap.find(
m_triggerBit)) != techMap.end()) {
152 throw cms::Exception(
"Configuration") <<
"requested L1 trigger \"" <<
m_triggerBit <<
"\" does not exist in the current L1 menu";
T getParameter(std::string const &) const
HLTLevel1Pattern(const edm::ParameterSet &)
const TechnicalTriggerWord & technicalTriggerWord(int bxInEventValue) const
bool filter(edm::Event &, const edm::EventSetup &) override
edm::InputTag m_gtReadoutRecord
#define DEFINE_FWK_MODULE(type)
def setup(process, global_tag, zero_tesla=False)
edm::ESWatcher< L1GtTriggerMaskTechTrigRcd > m_watchTechnicalMask
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< int > m_bunchCrossings
const std::vector< unsigned int > & gtTriggerMask() const
get the trigger mask
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
unsigned int m_triggerNumber
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const DecisionWord & decisionWord(int bxInEventValue) const
~HLTLevel1Pattern() override
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_gtReadoutRecordToken
edm::ESWatcher< L1GtTriggerMenuRcd > m_watchL1Menu
unsigned int m_daqPartitions
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< int > m_triggerPattern
bool check(const edm::EventSetup &iSetup)
edm::ESWatcher< L1GtTriggerMaskAlgoTrigRcd > m_watchPhysicsMask