6 template <
class T, std::
size_t N>
10 std::copy(values.begin(), values.end(), ret.begin());
32 const std::array<double, GlobalAlgBlk::maxPhysicsTriggers>
m_prescales;
33 std::array<unsigned int, GlobalAlgBlk::maxPhysicsTriggers>
m_counters;
39 m_prescales(
make_array<double,
GlobalAlgBlk::maxPhysicsTriggers>(config.getParameter<std::vector<double>>(
"l1tPrescales")) )
42 produces<GlobalAlgBlkBxCollection>();
51 if (handle->isEmpty(0)) {
86 result->push_back(0, algoBlock);
96 descriptions.
add(
"l1tGlobalPrescaler", desc);
tuple ret
prodAgent to be discontinued
void setFinalORPreVeto(bool fOR)
#define DEFINE_FWK_MODULE(type)
std::array< unsigned int, GlobalAlgBlk::maxPhysicsTriggers > m_counters
BXVector< GlobalAlgBlk > GlobalAlgBlkBxCollection
bool getAlgoDecisionFinal(unsigned int bit) const
const bool getFinalORVeto() const
static const unsigned int maxPhysicsTriggers
const std::array< double, GlobalAlgBlk::maxPhysicsTriggers > m_prescales
virtual bool filter(edm::Event &event, edm::EventSetup const &setup) override
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
void setFinalOR(bool fOR)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::EDGetTokenT< GlobalAlgBlkBxCollection > m_l1ResultsToken
void setAlgoDecisionFinal(unsigned int bit, bool val)
L1TGlobalPrescaler(edm::ParameterSet const &config)
std::array< T, N > make_array(std::vector< T > const &values)