6 template <
class T, std::
size_t N>
10 std::copy(values.begin(), values.end(), ret.begin());
41 m_algoPrescales(
make_array<double, 128>(config.getParameter<std::vector<double>>(
"l1AlgoPrescales")) ),
42 m_techPrescales(
make_array<double, 64>(config.getParameter<std::vector<double>>(
"l1TechPrescales")) )
46 produces<L1GlobalTriggerReadoutRecord>();
52 auto algoWord = handle->decisionWord();
53 auto techWord = handle->technicalTriggerWord();
56 for (
unsigned int i = 0;
i < 128; ++
i) {
60 }
else if (algoWord[
i]) {
71 for (
unsigned int i = 0;
i < 64; ++
i) {
75 }
else if (techWord[
i]) {
88 result->setDecisionWord(algoWord);
89 result->setTechnicalTriggerWord(techWord);
90 result->setDecision(finalOr);
99 desc.
add<std::vector<double>>(
"l1AlgoPrescales", std::vector<double>(128, 1));
100 desc.
add<std::vector<double>>(
"l1TechPrescales", std::vector<double>( 64, 1));
101 descriptions.
add(
"l1GTPrescaler", desc);
tuple ret
prodAgent to be discontinued
const std::array< double, 64 > m_techPrescales
#define DEFINE_FWK_MODULE(type)
L1GTPrescaler(edm::ParameterSet const &config)
std::array< unsigned int, 64 > m_techCounters
const std::array< double, 128 > m_algoPrescales
std::array< unsigned int, 128 > m_algoCounters
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
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual bool filter(edm::Event &event, edm::EventSetup const &setup) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1ResultsToken
std::array< T, N > make_array(std::vector< T > const &values)