3 #ifndef L1TGlobal_L1TGlobalUtil_h 4 #define L1TGlobal_L1TGlobalUtil_h 162 inline const std::vector<std::pair<std::string, std::vector<int>>>&
masks() {
return m_masks; }
226 std::vector<std::pair<std::string, std::vector<int>>>
m_masks;
242 template <
typename T>
249 template <
typename T>
260 template <
typename T>
269 template <
typename T>
void setVerbosity(const int verbosity)
const L1TUtmTriggerMenu * m_l1GtMenu
edm::ESGetToken< L1TGlobalPrescalesVetosFract, L1TGlobalPrescalesVetosFractRcd > m_L1TGlobalPrescalesVetosFractRunToken
std::string m_preScaleFileName
const bool getInitialDecisionByBit(int &bit, bool &decision) const
unsigned int prescaleColumn() const
const bool getMaskByName(const std::string &algName, std::vector< int > &mask) const
void retrieveL1Event(const edm::Event &iEvent, const edm::EventSetup &evSetup)
edm::ESGetToken< L1TUtmTriggerMenu, L1TUtmTriggerMenuRcd > m_L1TUtmTriggerMenuRunToken
const bool getAlgBitFromName(const std::string &AlgName, int &bit) const
unsigned long long m_l1GtPfAlgoCacheID
const std::vector< std::pair< std::string, double > > & prescales()
void OverridePrescalesAndMasks(std::string filename, unsigned int psColumn=1.)
unsigned int m_numberOfPreScaleColumns
unsigned int m_PreScaleColumn
const std::string & gtTriggerMenuName() const
const l1t::PrescalesVetosFractHelper * m_l1GtPrescalesVetoes
std::unique_ptr< L1TGlobalUtilHelper > m_l1tGlobalUtilHelper
std::vector< std::pair< std::string, bool > > m_decisionsInitial
void resetDecisionVectors()
clear decision vectors on a menu change
std::vector< std::vector< double > > m_initialPrescaleFactorsAlgoTrig
const std::string & gtTriggerMenuComment() const
unsigned int numberOfPreScaleColumns() const
const bool getIntermDecisionByBit(int &bit, bool &decision) const
const std::map< std::string, L1TUtmAlgorithm > * m_algorithmMap
const std::map< int, std::vector< int > > m_initialTriggerMaskAlgoTrig
static void fillDescription(edm::ParameterSetDescription &desc)
std::vector< std::pair< std::string, std::vector< int > > > m_masks
const std::map< int, std::vector< int > > * m_triggerMaskAlgoTrig
const std::vector< std::pair< std::string, bool > > & decisionsInterm()
void eventSetupConsumes(edm::ConsumesCollector &iC, UseEventSetupIn useEventSetupIn)
edm::ESGetToken< L1TUtmTriggerMenu, L1TUtmTriggerMenuRcd > m_L1TUtmTriggerMenuEventToken
const bool getFinalDecisionByBit(int &bit, bool &decision) const
const std::vector< std::pair< std::string, bool > > & decisionsInitial()
const bool getInitialDecisionByName(const std::string &algName, bool &decision) const
bool m_readPrescalesFromFile
static void fillDescription(edm::ParameterSetDescription &desc)
const std::vector< std::vector< double > > * m_prescaleFactorsAlgoTrig
std::vector< std::pair< std::string, double > > m_prescales
const std::string & gtTriggerMenuVersion() const
std::vector< std::pair< std::string, bool > > m_decisionsInterm
const bool getPrescaleByName(const std::string &algName, double &prescale) const
int m_verbosity
verbosity level
unsigned long long m_l1GtMenuCacheID
bool valid() const
check that the L1TGlobalUtil has been properly initialised
const bool getIntermDecisionByName(const std::string &algName, bool &decision) const
void resetPrescaleVectors()
std::vector< std::pair< std::string, bool > > m_decisionsFinal
const bool getPrescaleByBit(int &bit, double &prescale) const
const bool getAlgNameFromBit(int &bit, std::string &AlgName) const
const std::vector< std::pair< std::string, bool > > & decisionsFinal()
edm::Handle< BXVector< GlobalAlgBlk > > m_uGtAlgBlk
const std::vector< std::pair< std::string, std::vector< int > > > & masks()
const bool getFinalDecisionByName(const std::string &algName, bool &decision) const
const bool getMaskByBit(int &bit, std::vector< int > &mask) const
const unsigned int m_maxNumberPhysTriggers
virtual ~L1TGlobalUtil()
destructor
void retrieveL1Setup(const edm::EventSetup &evSetup)
void loadPrescalesAndMasks()
unsigned int m_numberPhysTriggers
void retrieveL1(const edm::Event &iEvent, const edm::EventSetup &evSetup)
initialize the class (mainly reserve)
edm::ESGetToken< L1TGlobalPrescalesVetosFract, L1TGlobalPrescalesVetosFractRcd > m_L1TGlobalPrescalesVetosFractEventToken