CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
l1t::L1TGlobalUtil Class Reference

#include <L1TGlobalUtil.h>

Public Member Functions

const std::vector< std::pair< std::string, bool > > & decisionsFinal ()
 
const std::vector< std::pair< std::string, bool > > & decisionsInitial ()
 
const std::vector< std::pair< std::string, bool > > & decisionsInterm ()
 
const bool getAlgBitFromName (const std::string &AlgName, int &bit) const
 
const bool getAlgNameFromBit (int &bit, std::string &AlgName) const
 
const bool getFinalDecisionByBit (int &bit, bool &decision) const
 
const bool getFinalDecisionByName (const std::string &algName, bool &decision) const
 
bool getFinalOR () const
 
const bool getInitialDecisionByBit (int &bit, bool &decision) const
 
const bool getInitialDecisionByName (const std::string &algName, bool &decision) const
 
const bool getIntermDecisionByBit (int &bit, bool &decision) const
 
const bool getIntermDecisionByName (const std::string &algName, bool &decision) const
 
const bool getMaskByBit (int &bit, std::vector< int > &mask) const
 
const bool getMaskByName (const std::string &algName, std::vector< int > &mask) const
 
const bool getPrescaleByBit (int &bit, int &prescale) const
 
const bool getPrescaleByName (const std::string &algName, int &prescale) const
 
const std::string & gtTriggerMenuComment () const
 
const std::string & gtTriggerMenuName () const
 
const std::string & gtTriggerMenuVersion () const
 
 L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC)
 
 L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
 
template<typename T >
 L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, T &module)
 
template<typename T >
 L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, T &module)
 
template<typename T >
 L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &&iC, T &module, edm::InputTag const &l1tAlgBlkInputTag, edm::InputTag const &l1tExtBlkInputTag)
 
template<typename T >
 L1TGlobalUtil (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, T &module, edm::InputTag const &l1tAlgBlkInputTag, edm::InputTag const &l1tExtBlkInputTag)
 
const std::vector< std::pair< std::string, std::vector< int > > > & masks ()
 
unsigned int numberOfPreScaleColumns () const
 
void OverridePrescalesAndMasks (std::string filename, unsigned int psColumn=1)
 
unsigned int prescaleColumn () const
 
const std::vector< std::pair< std::string, int > > & prescales ()
 
void retrieveL1 (const edm::Event &iEvent, const edm::EventSetup &evSetup)
 initialize the class (mainly reserve) More...
 
void retrieveL1 (const edm::Event &iEvent, const edm::EventSetup &evSetup, edm::EDGetToken gtAlgToken)
 
void retrieveL1Event (const edm::Event &iEvent, const edm::EventSetup &evSetup)
 
void retrieveL1Event (const edm::Event &iEvent, const edm::EventSetup &evSetup, edm::EDGetToken gtAlgToken)
 
void retrieveL1Setup (const edm::EventSetup &evSetup)
 
void setUnprescaledUnmasked (bool unprescale, bool unmask)
 
void setVerbosity (const int verbosity)
 
bool valid () const
 check that the L1TGlobalUtil has been properly initialised More...
 
virtual ~L1TGlobalUtil ()
 destructor More...
 

Static Public Member Functions

static void fillDescription (edm::ParameterSetDescription &desc)
 

Private Member Functions

 L1TGlobalUtil ()
 
void loadPrescalesAndMasks ()
 
void resetDecisionVectors ()
 clear decision vectors on a menu change More...
 
void resetMaskVectors ()
 
void resetPrescaleVectors ()
 

Private Attributes

const std::map< std::string, L1TUtmAlgorithm > * m_algorithmMap
 
bool m_algorithmTriggersUnmasked
 
bool m_algorithmTriggersUnprescaled
 
std::vector< std::pair< std::string, bool > > m_decisionsFinal
 
std::vector< std::pair< std::string, bool > > m_decisionsInitial
 
std::vector< std::pair< std::string, bool > > m_decisionsInterm
 
bool m_filledPrescales
 
bool m_finalOR
 
std::vector< std::vector< int > > m_initialPrescaleFactorsAlgoTrig
 
const std::map< int, std::vector< int > > m_initialTriggerMaskAlgoTrig
 
const L1TUtmTriggerMenum_l1GtMenu
 
unsigned long long m_l1GtMenuCacheID
 
unsigned long long m_l1GtPfAlgoCacheID
 
const l1t::PrescalesVetosHelperm_l1GtPrescalesVetoes
 
std::unique_ptr< L1TGlobalUtilHelperm_l1tGlobalUtilHelper
 
std::vector< std::pair< std::string, std::vector< int > > > m_masks
 
const unsigned int m_maxNumberPhysTriggers = 512
 
unsigned int m_numberOfPreScaleColumns
 
unsigned int m_numberPhysTriggers
 
unsigned int m_PreScaleColumn
 
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
 
std::string m_preScaleFileName
 
std::vector< std::pair< std::string, int > > m_prescales
 
bool m_readPrescalesFromFile
 
const std::map< int, std::vector< int > > * m_triggerMaskAlgoTrig
 
edm::Handle< BXVector< GlobalAlgBlk > > m_uGtAlgBlk
 
int m_verbosity
 verbosity level More...
 

Detailed Description

Definition at line 31 of file L1TGlobalUtil.h.

Constructor & Destructor Documentation

l1t::L1TGlobalUtil::L1TGlobalUtil ( edm::ParameterSet const &  pset,
edm::ConsumesCollector &&  iC 
)

Definition at line 46 of file L1TGlobalUtil.cc.

l1t::L1TGlobalUtil::L1TGlobalUtil ( edm::ParameterSet const &  pset,
edm::ConsumesCollector iC 
)

Definition at line 49 of file L1TGlobalUtil.cc.

References m_l1tGlobalUtilHelper, and m_readPrescalesFromFile.

49  : L1TGlobalUtil() {
51  m_readPrescalesFromFile = m_l1tGlobalUtilHelper->readPrescalesFromFile();
52 }
std::unique_ptr< L1TGlobalUtilHelper > m_l1tGlobalUtilHelper
template<typename T >
l1t::L1TGlobalUtil::L1TGlobalUtil ( edm::ParameterSet const &  pset,
edm::ConsumesCollector &&  iC,
T module 
)

Definition at line 216 of file L1TGlobalUtil.h.

template<typename T >
l1t::L1TGlobalUtil::L1TGlobalUtil ( edm::ParameterSet const &  pset,
edm::ConsumesCollector iC,
T module 
)

Definition at line 220 of file L1TGlobalUtil.h.

References m_l1tGlobalUtilHelper, and m_readPrescalesFromFile.

220  : L1TGlobalUtil() {
222  m_readPrescalesFromFile = m_l1tGlobalUtilHelper->readPrescalesFromFile();
223  }
std::unique_ptr< L1TGlobalUtilHelper > m_l1tGlobalUtilHelper
Definition: vlib.h:198
template<typename T >
l1t::L1TGlobalUtil::L1TGlobalUtil ( edm::ParameterSet const &  pset,
edm::ConsumesCollector &&  iC,
T module,
edm::InputTag const &  l1tAlgBlkInputTag,
edm::InputTag const &  l1tExtBlkInputTag 
)
template<typename T >
l1t::L1TGlobalUtil::L1TGlobalUtil ( edm::ParameterSet const &  pset,
edm::ConsumesCollector iC,
T module,
edm::InputTag const &  l1tAlgBlkInputTag,
edm::InputTag const &  l1tExtBlkInputTag 
)
l1t::L1TGlobalUtil::~L1TGlobalUtil ( )
virtual

destructor

Definition at line 55 of file L1TGlobalUtil.cc.

55  {
56  // empty
57 }
l1t::L1TGlobalUtil::L1TGlobalUtil ( )
private

Definition at line 28 of file L1TGlobalUtil.cc.

References DeadROC_duringRun::f1, edm::FileInPath::fullPath(), m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_filledPrescales, m_l1GtMenuCacheID, m_l1GtPfAlgoCacheID, m_numberPhysTriggers, m_PreScaleColumn, m_prescaleFactorsAlgoTrig, m_preScaleFileName, m_readPrescalesFromFile, and m_triggerMaskAlgoTrig.

Referenced by numberOfPreScaleColumns().

28  : m_l1GtMenu(nullptr) {
29  // initialize cached IDs
30  m_l1GtMenuCacheID = 0ULL;
31  m_l1GtPfAlgoCacheID = 0ULL;
32  m_filledPrescales = false;
35 
36  edm::FileInPath f1("L1Trigger/L1TGlobal/data/Luminosity/startup/prescale_L1TGlobal.csv");
37  m_preScaleFileName = f1.fullPath();
38  m_numberPhysTriggers = 512; //need to get this out of the EventSetup
39  m_PreScaleColumn = 0;
41 
42  m_prescaleFactorsAlgoTrig = nullptr;
43  m_triggerMaskAlgoTrig = nullptr;
44 }
const L1TUtmTriggerMenu * m_l1GtMenu
std::string m_preScaleFileName
bool m_algorithmTriggersUnmasked
unsigned long long m_l1GtPfAlgoCacheID
unsigned int m_PreScaleColumn
const std::map< int, std::vector< int > > * m_triggerMaskAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
unsigned long long m_l1GtMenuCacheID
bool m_algorithmTriggersUnprescaled
unsigned int m_numberPhysTriggers

Member Function Documentation

const std::vector<std::pair<std::string, bool> >& l1t::L1TGlobalUtil::decisionsFinal ( )
inline

Definition at line 136 of file L1TGlobalUtil.h.

References m_decisionsFinal.

Referenced by HcalIsoTrkAnalyzer::analyze().

136 { return m_decisionsFinal; }
std::vector< std::pair< std::string, bool > > m_decisionsFinal
const std::vector<std::pair<std::string, bool> >& l1t::L1TGlobalUtil::decisionsInitial ( )
inline

Definition at line 134 of file L1TGlobalUtil.h.

References m_decisionsInitial.

134 { return m_decisionsInitial; }
std::vector< std::pair< std::string, bool > > m_decisionsInitial
const std::vector<std::pair<std::string, bool> >& l1t::L1TGlobalUtil::decisionsInterm ( )
inline

Definition at line 135 of file L1TGlobalUtil.h.

References m_decisionsInterm.

135 { return m_decisionsInterm; }
std::vector< std::pair< std::string, bool > > m_decisionsInterm
static void l1t::L1TGlobalUtil::fillDescription ( edm::ParameterSetDescription desc)
inlinestatic
const bool l1t::L1TGlobalUtil::getAlgBitFromName ( const std::string &  AlgName,
int &  bit 
) const

Definition at line 429 of file L1TGlobalUtil.cc.

References m_algorithmMap.

Referenced by getFinalDecisionByName(), getFinalOR(), getInitialDecisionByName(), getIntermDecisionByName(), getMaskByName(), and getPrescaleByName().

429  {
430  std::map<std::string, L1TUtmAlgorithm>::const_iterator itAlgo = m_algorithmMap->find(algName);
431  if (itAlgo != m_algorithmMap->end()) {
432  bit = (itAlgo->second).getIndex(); //algoBitNumber();
433  return true;
434  }
435 
436  return false; //did not find anything by that name
437 }
const std::map< std::string, L1TUtmAlgorithm > * m_algorithmMap
const bool l1t::L1TGlobalUtil::getAlgNameFromBit ( int &  bit,
std::string &  AlgName 
) const

Definition at line 439 of file L1TGlobalUtil.cc.

References dqmdumpme::first, and m_decisionsInitial.

Referenced by L1TdeStage2uGT::analyze(), and getFinalOR().

439  {
440  // since we are just looking up the name, doesn't matter which vector we get it from
441  if ((m_decisionsInitial[bit]).first != "NULL") {
442  algName = (m_decisionsInitial[bit]).first;
443  return true;
444  }
445  return false; //No name associated with this bit
446 }
std::vector< std::pair< std::string, bool > > m_decisionsInitial
const bool l1t::L1TGlobalUtil::getFinalDecisionByBit ( int &  bit,
bool &  decision 
) const

Definition at line 471 of file L1TGlobalUtil.cc.

References dqmdumpme::first, m_decisionsFinal, and edm::second().

Referenced by getFinalOR().

471  {
472  // Need some check that this is a valid bit
473  if ((m_decisionsFinal[bit]).first != "NULL") {
474  decision = (m_decisionsFinal[bit]).second;
475  return true;
476  }
477 
478  return false; //couldn't get the information requested.
479 }
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, bool > > m_decisionsFinal
const bool l1t::L1TGlobalUtil::getFinalDecisionByName ( const std::string &  algName,
bool &  decision 
) const

Definition at line 519 of file L1TGlobalUtil.cc.

References getAlgBitFromName(), m_decisionsFinal, and edm::second().

Referenced by getFinalOR().

519  {
520  int bit = -1;
521  if (getAlgBitFromName(algName, bit)) {
522  decision = (m_decisionsFinal[bit]).second;
523  return true;
524  }
525 
526  return false; //trigger name was not the menu.
527 }
const bool getAlgBitFromName(const std::string &AlgName, int &bit) const
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, bool > > m_decisionsFinal
bool l1t::L1TGlobalUtil::getFinalOR ( ) const
inline
const bool l1t::L1TGlobalUtil::getInitialDecisionByBit ( int &  bit,
bool &  decision 
) const

Definition at line 448 of file L1TGlobalUtil.cc.

References dqmdumpme::first, m_decisionsInitial, and edm::second().

Referenced by getFinalOR().

448  {
449  /*
450  for(std::vector<GlobalAlgBlk>::const_iterator algBlk = m_uGtAlgBlk->begin(0); algBlk != m_uGtAlgBlk->end(0); ++algBlk) {
451  decision = algBlk->getAlgoDecisionFinal(bit);
452  }
453  */
454  // Need some check that this is a valid bit
455  if ((m_decisionsInitial[bit]).first != "NULL") {
456  decision = (m_decisionsInitial[bit]).second;
457  return true;
458  }
459 
460  return false; //couldn't get the information requested.
461 }
std::vector< std::pair< std::string, bool > > m_decisionsInitial
U second(std::pair< T, U > const &p)
const bool l1t::L1TGlobalUtil::getInitialDecisionByName ( const std::string &  algName,
bool &  decision 
) const

Definition at line 499 of file L1TGlobalUtil.cc.

References getAlgBitFromName(), m_decisionsInitial, and edm::second().

Referenced by getFinalOR().

499  {
500  int bit = -1;
501  if (getAlgBitFromName(algName, bit)) {
502  decision = (m_decisionsInitial[bit]).second;
503  return true;
504  }
505 
506  return false; //trigger name was not the menu.
507 }
const bool getAlgBitFromName(const std::string &AlgName, int &bit) const
std::vector< std::pair< std::string, bool > > m_decisionsInitial
U second(std::pair< T, U > const &p)
const bool l1t::L1TGlobalUtil::getIntermDecisionByBit ( int &  bit,
bool &  decision 
) const

Definition at line 462 of file L1TGlobalUtil.cc.

References dqmdumpme::first, m_decisionsInterm, and edm::second().

Referenced by getFinalOR().

462  {
463  // Need some check that this is a valid bit
464  if ((m_decisionsInterm[bit]).first != "NULL") {
465  decision = (m_decisionsInterm[bit]).second;
466  return true;
467  }
468 
469  return false; //couldn't get the information requested.
470 }
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, bool > > m_decisionsInterm
const bool l1t::L1TGlobalUtil::getIntermDecisionByName ( const std::string &  algName,
bool &  decision 
) const

Definition at line 509 of file L1TGlobalUtil.cc.

References getAlgBitFromName(), m_decisionsInterm, and edm::second().

Referenced by getFinalOR().

509  {
510  int bit = -1;
511  if (getAlgBitFromName(algName, bit)) {
512  decision = (m_decisionsInterm[bit]).second;
513  return true;
514  }
515 
516  return false; //trigger name was not the menu.
517 }
const bool getAlgBitFromName(const std::string &AlgName, int &bit) const
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, bool > > m_decisionsInterm
const bool l1t::L1TGlobalUtil::getMaskByBit ( int &  bit,
std::vector< int > &  mask 
) const

Definition at line 489 of file L1TGlobalUtil.cc.

References dqmdumpme::first, m_masks, and edm::second().

Referenced by getFinalOR().

489  {
490  // Need some check that this is a valid bit
491  if ((m_masks[bit]).first != "NULL") {
492  mask = (m_masks[bit]).second;
493  return true;
494  }
495 
496  return false; //couldn't get the information requested.
497 }
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, std::vector< int > > > m_masks
const bool l1t::L1TGlobalUtil::getMaskByName ( const std::string &  algName,
std::vector< int > &  mask 
) const

Definition at line 537 of file L1TGlobalUtil.cc.

References getAlgBitFromName(), m_masks, and edm::second().

Referenced by getFinalOR().

537  {
538  int bit = -1;
539  if (getAlgBitFromName(algName, bit)) {
540  mask = (m_masks[bit]).second;
541  return true;
542  }
543 
544  return false; //trigger name was not the menu.
545 }
const bool getAlgBitFromName(const std::string &AlgName, int &bit) const
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, std::vector< int > > > m_masks
const bool l1t::L1TGlobalUtil::getPrescaleByBit ( int &  bit,
int &  prescale 
) const

Definition at line 480 of file L1TGlobalUtil.cc.

References dqmdumpme::first, m_prescales, and edm::second().

Referenced by L1TdeStage2uGT::analyze(), and getFinalOR().

480  {
481  // Need some check that this is a valid bit
482  if ((m_prescales[bit]).first != "NULL") {
483  prescale = (m_prescales[bit]).second;
484  return true;
485  }
486 
487  return false; //couldn't get the information requested.
488 }
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, int > > m_prescales
const bool l1t::L1TGlobalUtil::getPrescaleByName ( const std::string &  algName,
int &  prescale 
) const

Definition at line 528 of file L1TGlobalUtil.cc.

References getAlgBitFromName(), m_prescales, and edm::second().

Referenced by getFinalOR(), HLTPrescaleProvider::prescaleValues(), and HLTPrescaleProvider::prescaleValuesInDetail().

528  {
529  int bit = -1;
530  if (getAlgBitFromName(algName, bit)) {
531  prescale = (m_prescales[bit]).second;
532  return true;
533  }
534 
535  return false; //trigger name was not the menu.
536 }
const bool getAlgBitFromName(const std::string &AlgName, int &bit) const
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, int > > m_prescales
const std::string& l1t::L1TGlobalUtil::gtTriggerMenuComment ( ) const
inline

Definition at line 147 of file L1TGlobalUtil.h.

References L1TUtmTriggerMenu::getComment(), and m_l1GtMenu.

147 { return m_l1GtMenu->getComment(); }
const L1TUtmTriggerMenu * m_l1GtMenu
const std::string & getComment() const
const std::string& l1t::L1TGlobalUtil::gtTriggerMenuName ( ) const
inline

Definition at line 145 of file L1TGlobalUtil.h.

References L1TUtmTriggerMenu::getName(), and m_l1GtMenu.

145 { return m_l1GtMenu->getName(); }
const L1TUtmTriggerMenu * m_l1GtMenu
const std::string & getName() const
const std::string& l1t::L1TGlobalUtil::gtTriggerMenuVersion ( ) const
inline

Definition at line 146 of file L1TGlobalUtil.h.

References L1TUtmTriggerMenu::getVersion(), and m_l1GtMenu.

146 { return m_l1GtMenu->getVersion(); }
const L1TUtmTriggerMenu * m_l1GtMenu
const std::string & getVersion() const
void l1t::L1TGlobalUtil::loadPrescalesAndMasks ( )
private

Definition at line 270 of file L1TGlobalUtil.cc.

References cuy::col, relativeConstraints::empty, dqmdumpme::first, createfilelist::int, mps_splice::line, LogTrace, m_initialPrescaleFactorsAlgoTrig, m_initialTriggerMaskAlgoTrig, m_numberPhysTriggers, m_PreScaleColumn, m_preScaleFileName, findQualityFiles::size, cms::dd::split(), AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.

Referenced by numberOfPreScaleColumns(), and retrieveL1Setup().

270  {
271  std::ifstream inputPrescaleFile;
272  //std::cout << "Reading prescales from file: " << m_preScaleFileName << std::endl;
273  inputPrescaleFile.open(m_preScaleFileName);
274 
275  std::vector<std::vector<int> > vec;
276  std::vector<std::vector<int> > prescale_vec;
277 
278  if (inputPrescaleFile) {
279  std::string prefix1("#");
280  std::string prefix2("-1");
281 
283 
284  bool first = true;
285 
286  while (getline(inputPrescaleFile, line)) {
287  if (!line.compare(0, prefix1.size(), prefix1))
288  continue;
289  //if( !line.compare(0, prefix2.size(), prefix2) ) continue;
290 
291  istringstream split(line);
292  int value;
293  int col = 0;
294  char sep;
295 
296  while (split >> value) {
297  if (first) {
298  // Each new value read on line 1 should create a new inner vector
299  vec.push_back(std::vector<int>());
300  }
301 
302  vec[col].push_back(value);
303  ++col;
304 
305  // read past the separator
306  split >> sep;
307  }
308 
309  // Finished reading line 1 and creating as many inner
310  // vectors as required
311  first = false;
312  }
313 
314  int NumPrescaleSets = 0;
315  for (int iCol = 0; iCol < int(vec.size()); iCol++) {
316  if (!vec[iCol].empty()) {
317  int firstRow = vec[iCol][0];
318 
319  if (firstRow >= 0)
320  NumPrescaleSets++;
321  //else if( firstRow==-2 ) maskColumn = iCol;
322  //else if( firstRow==-3 ) maskVetoColumn = iCol;
323  }
324  }
325 
326  //std::cout << "NumPrescaleSets= " << NumPrescaleSets << std::endl;
327  if (NumPrescaleSets > 0) {
328  // Fill default prescale set
329  for (int iSet = 0; iSet < NumPrescaleSets; iSet++) {
330  prescale_vec.push_back(std::vector<int>());
331  for (unsigned int iBit = 0; iBit < m_numberPhysTriggers; ++iBit) {
332  int inputDefaultPrescale = 1;
333  prescale_vec[iSet].push_back(inputDefaultPrescale);
334  }
335  }
336 
337  // Fill non-trivial prescale set
338  for (int iBit = 1; iBit < int(vec[0].size()); iBit++) {
339  unsigned int algoBit = vec[0][iBit];
340  // algoBit must be less than the number of triggers
341  if (algoBit < m_numberPhysTriggers) {
342  for (int iSet = 0; iSet < int(vec.size()); iSet++) {
343  int useSet = -1;
344  if (!vec[iSet].empty()) {
345  useSet = vec[iSet][0];
346  }
347  useSet -= 1;
348 
349  if (useSet < 0)
350  continue;
351 
352  int prescale = vec[iSet][iBit];
353  prescale_vec[useSet][algoBit] = prescale;
354  }
355  } else {
356  LogTrace("l1t|Global") << "\nPrescale file has algo bit: " << algoBit
357  << "\nThis is larger than the number of triggers: " << m_numberPhysTriggers
358  << "\nSomething is wrong. Ignoring." << std::endl;
359  }
360  }
361  }
362 
363  } else {
364  LogTrace("l1t|Global") << "\nCould not find file: " << m_preScaleFileName
365  << "\nFilling the prescale vectors with prescale 1"
366  << "\nSetting prescale set to 0" << std::endl;
367 
368  m_PreScaleColumn = 0;
369 
370  for (int col = 0; col < 1; col++) {
371  prescale_vec.push_back(std::vector<int>());
372  for (unsigned int iBit = 0; iBit < m_numberPhysTriggers; ++iBit) {
373  int inputDefaultPrescale = 0;
374  prescale_vec[col].push_back(inputDefaultPrescale);
375  }
376  }
377  }
378 
379  inputPrescaleFile.close();
380 
381  m_initialPrescaleFactorsAlgoTrig = prescale_vec;
382  // setting of bx masks from an input file not enabled; do not see a use case at the moment
383  std::map<int, std::vector<int> > m_initialTriggerMaskAlgoTrig;
384 }
size
Write out results.
std::vector< std::string_view > split(std::string_view, const char *)
std::string m_preScaleFileName
unsigned int m_PreScaleColumn
std::vector< std::vector< int > > m_initialPrescaleFactorsAlgoTrig
const std::map< int, std::vector< int > > m_initialTriggerMaskAlgoTrig
#define LogTrace(id)
col
Definition: cuy.py:1010
unsigned int m_numberPhysTriggers
const std::vector<std::pair<std::string, std::vector<int> > >& l1t::L1TGlobalUtil::masks ( )
inline

Definition at line 142 of file L1TGlobalUtil.h.

References m_masks.

Referenced by retrieveL1Setup().

142 { return m_masks; }
std::vector< std::pair< std::string, std::vector< int > > > m_masks
unsigned int l1t::L1TGlobalUtil::numberOfPreScaleColumns ( ) const
inline
void l1t::L1TGlobalUtil::OverridePrescalesAndMasks ( std::string  filename,
unsigned int  psColumn = 1 
)

Definition at line 62 of file L1TGlobalUtil.cc.

References DeadROC_duringRun::f1, edm::FileInPath::fullPath(), m_PreScaleColumn, m_preScaleFileName, and HLT_2018_cff::psColumn.

Referenced by fillDescription().

62  {
63  edm::FileInPath f1("L1Trigger/L1TGlobal/data/Luminosity/startup/" + filename);
64  m_preScaleFileName = f1.fullPath();
66 }
std::string m_preScaleFileName
unsigned int m_PreScaleColumn
unsigned int l1t::L1TGlobalUtil::prescaleColumn ( ) const
inline

Definition at line 150 of file L1TGlobalUtil.h.

References m_PreScaleColumn.

Referenced by HLTPrescaleProvider::prescaleSet().

150 { return m_PreScaleColumn; }
unsigned int m_PreScaleColumn
const std::vector<std::pair<std::string, int> >& l1t::L1TGlobalUtil::prescales ( )
inline

Definition at line 139 of file L1TGlobalUtil.h.

References m_prescales.

Referenced by L1TdeStage2uGT::bookHistograms().

139 { return m_prescales; }
std::vector< std::pair< std::string, int > > m_prescales
void l1t::L1TGlobalUtil::resetDecisionVectors ( )
private

clear decision vectors on a menu change

Definition at line 386 of file L1TGlobalUtil.cc.

References dqmdumpme::first, m_decisionsFinal, m_decisionsInitial, m_decisionsInterm, m_maxNumberPhysTriggers, and edm::second().

Referenced by numberOfPreScaleColumns(), and retrieveL1Setup().

386  {
387  // Reset all the vector contents with null information
388  m_decisionsInitial.clear();
390  m_decisionsInterm.clear();
392  m_decisionsFinal.clear();
394 
395  for (unsigned int algBit = 0; algBit < m_maxNumberPhysTriggers; algBit++) {
396  (m_decisionsInitial[algBit]).first = "NULL";
397  (m_decisionsInitial[algBit]).second = false;
398 
399  (m_decisionsInterm[algBit]).first = "NULL";
400  (m_decisionsInterm[algBit]).second = false;
401 
402  (m_decisionsFinal[algBit]).first = "NULL";
403  (m_decisionsFinal[algBit]).second = false;
404  }
405 }
std::vector< std::pair< std::string, bool > > m_decisionsInitial
U second(std::pair< T, U > const &p)
std::vector< std::pair< std::string, bool > > m_decisionsInterm
std::vector< std::pair< std::string, bool > > m_decisionsFinal
const unsigned int m_maxNumberPhysTriggers
void l1t::L1TGlobalUtil::resetMaskVectors ( )
private

Definition at line 418 of file L1TGlobalUtil.cc.

References dqmdumpme::first, m_masks, and m_maxNumberPhysTriggers.

Referenced by numberOfPreScaleColumns(), and retrieveL1Setup().

418  {
419  // Reset all the vector contents with null information
420  m_masks.clear();
422 
423  for (unsigned int algBit = 0; algBit < m_maxNumberPhysTriggers; algBit++) {
424  (m_masks[algBit]).first = "NULL";
425  // ccla (m_masks[algBit]).second = true;
426  }
427 }
std::vector< std::pair< std::string, std::vector< int > > > m_masks
const unsigned int m_maxNumberPhysTriggers
void l1t::L1TGlobalUtil::resetPrescaleVectors ( )
private

Definition at line 407 of file L1TGlobalUtil.cc.

References dqmdumpme::first, m_maxNumberPhysTriggers, m_prescales, and edm::second().

Referenced by numberOfPreScaleColumns(), and retrieveL1Setup().

407  {
408  // Reset all the vector contents with null information
409  m_prescales.clear();
411 
412  for (unsigned int algBit = 0; algBit < m_maxNumberPhysTriggers; algBit++) {
413  (m_prescales[algBit]).first = "NULL";
414  (m_prescales[algBit]).second = 1;
415  }
416 }
U second(std::pair< T, U > const &p)
const unsigned int m_maxNumberPhysTriggers
std::vector< std::pair< std::string, int > > m_prescales
void l1t::L1TGlobalUtil::retrieveL1 ( const edm::Event iEvent,
const edm::EventSetup evSetup 
)

initialize the class (mainly reserve)

Definition at line 68 of file L1TGlobalUtil.cc.

References retrieveL1Event(), and retrieveL1Setup().

Referenced by L1TdeStage2uGT::analyze(), HcalIsoTrkAnalyzer::analyze(), and fillDescription().

68  {
69  // typically, the L1T menu and prescale table (may change only between Runs)
70  retrieveL1Setup(evSetup);
71  // typically the prescale set index used and the event by event accept/reject info (changes between Events)
72  retrieveL1Event(iEvent, evSetup);
73 }
void retrieveL1Event(const edm::Event &iEvent, const edm::EventSetup &evSetup)
void retrieveL1Setup(const edm::EventSetup &evSetup)
void l1t::L1TGlobalUtil::retrieveL1 ( const edm::Event iEvent,
const edm::EventSetup evSetup,
edm::EDGetToken  gtAlgToken 
)

Definition at line 75 of file L1TGlobalUtil.cc.

References retrieveL1Event(), and retrieveL1Setup().

77  {
78  // typically, the L1T menu and prescale table (may change only between Runs)
79  retrieveL1Setup(evSetup);
80  // typically the prescale set index used and the event by event accept/reject info (changes between Events)
81  retrieveL1Event(iEvent, evSetup, gtAlgToken);
82 }
void retrieveL1Event(const edm::Event &iEvent, const edm::EventSetup &evSetup)
void retrieveL1Setup(const edm::EventSetup &evSetup)
void l1t::L1TGlobalUtil::retrieveL1Event ( const edm::Event iEvent,
const edm::EventSetup evSetup 
)

Definition at line 198 of file L1TGlobalUtil.cc.

References m_l1tGlobalUtilHelper.

Referenced by fillDescription(), HLTPrescaleProvider::prescaleSet(), and retrieveL1().

198  {
199  retrieveL1Event(iEvent, evSetup, m_l1tGlobalUtilHelper->l1tAlgBlkToken());
200 }
void retrieveL1Event(const edm::Event &iEvent, const edm::EventSetup &evSetup)
std::unique_ptr< L1TGlobalUtilHelper > m_l1tGlobalUtilHelper
void l1t::L1TGlobalUtil::retrieveL1Event ( const edm::Event iEvent,
const edm::EventSetup evSetup,
edm::EDGetToken  gtAlgToken 
)

Definition at line 202 of file L1TGlobalUtil.cc.

References dqmdumpme::first, edm::Event::getByToken(), edm::HandleBase::isValid(), LogDebug, m_algorithmMap, m_decisionsFinal, m_decisionsInitial, m_decisionsInterm, m_finalOR, m_PreScaleColumn, m_prescaleFactorsAlgoTrig, m_prescales, m_readPrescalesFromFile, m_uGtAlgBlk, edm::Event::run(), edm::second(), and AlCaHLTBitMon_QueryRunRegistry::string.

204  {
205  // Get the Global Trigger Output Algorithm block
206  iEvent.getByToken(gtAlgToken, m_uGtAlgBlk);
207  m_finalOR = false;
208 
209  //Make sure we have a valid AlgBlk
210  if (m_uGtAlgBlk.isValid()) {
211  // get the GlabalAlgBlk (Stupid find better way) of BX=0
212  std::vector<GlobalAlgBlk>::const_iterator algBlk = m_uGtAlgBlk->begin(0);
213  if (algBlk != m_uGtAlgBlk->end(0)) {
215  m_PreScaleColumn = static_cast<unsigned int>(algBlk->getPreScColumn());
216 
217  // Fix for MC prescale column being set to index+1 in early versions of uGT emulator
218  if (iEvent.run() == 1) {
219  if (m_prescaleFactorsAlgoTrig->size() == 1 && m_PreScaleColumn == 1)
220  m_PreScaleColumn = 0;
221  }
222 
223  // add protection against out-of-bound index for prescale column
225  LogDebug("l1t|Global") << "Prescale column extracted from GlobalAlgBlk too large: " << m_PreScaleColumn
226  << "\tMaximum value allowed: " << m_prescaleFactorsAlgoTrig->size() - 1
227  << "\tResetting prescale column to 0" << std::endl;
228  m_PreScaleColumn = 0;
229  }
230  }
231  const std::vector<int>& prescaleSet = (*m_prescaleFactorsAlgoTrig)[m_PreScaleColumn];
232 
233  // Grab the final OR from the AlgBlk,
234  m_finalOR = algBlk->getFinalOR();
235 
236  // Make a map of the trigger name and whether it passed various stages (initial,prescale,final)
237  // Note: might be able to improve performance by not full remaking map with names each time
238  for (std::map<std::string, L1TUtmAlgorithm>::const_iterator itAlgo = m_algorithmMap->begin();
239  itAlgo != m_algorithmMap->end();
240  itAlgo++) {
241  // Get the algorithm name
242  std::string algName = itAlgo->first;
243  int algBit = (itAlgo->second).getIndex(); //algoBitNumber();
244 
245  bool decisionInitial = algBlk->getAlgoDecisionInitial(algBit);
246  (m_decisionsInitial[algBit]).first = algName;
247  (m_decisionsInitial[algBit]).second = decisionInitial;
248 
249  bool decisionInterm = algBlk->getAlgoDecisionInterm(algBit);
250  (m_decisionsInterm[algBit]).first = algName;
251  (m_decisionsInterm[algBit]).second = decisionInterm;
252 
253  bool decisionFinal = algBlk->getAlgoDecisionFinal(algBit);
254  (m_decisionsFinal[algBit]).first = algName;
255  (m_decisionsFinal[algBit]).second = decisionFinal;
256 
257  (m_prescales[algBit]).first = algName;
258  if (size_t(algBit) < prescaleSet.size()) {
259  (m_prescales[algBit]).second = prescaleSet[algBit];
260  }
261  }
262  } else {
263  //cout << "Error empty AlgBlk recovered.\n";
264  }
265  } else {
266  //cout<< "Error no valid uGT Algorithm Data with Token provided " << endl;
267  }
268 }
#define LogDebug(id)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:525
unsigned int m_PreScaleColumn
std::vector< std::pair< std::string, bool > > m_decisionsInitial
const std::map< std::string, L1TUtmAlgorithm > * m_algorithmMap
U second(std::pair< T, U > const &p)
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
RunNumber_t run() const
Definition: Event.h:107
bool isValid() const
Definition: HandleBase.h:70
std::vector< std::pair< std::string, bool > > m_decisionsInterm
std::vector< std::pair< std::string, bool > > m_decisionsFinal
edm::Handle< BXVector< GlobalAlgBlk > > m_uGtAlgBlk
std::vector< std::pair< std::string, int > > m_prescales
void l1t::L1TGlobalUtil::retrieveL1Setup ( const edm::EventSetup evSetup)

Definition at line 84 of file L1TGlobalUtil.cc.

References dqmdumpme::first, edm::EventSetup::get(), L1TUtmTriggerMenu::getAlgorithmMap(), loadPrescalesAndMasks(), LogDebug, LogTrace, m_algorithmMap, m_algorithmTriggersUnmasked, m_algorithmTriggersUnprescaled, m_filledPrescales, m_initialPrescaleFactorsAlgoTrig, m_initialTriggerMaskAlgoTrig, m_l1GtMenu, m_l1GtMenuCacheID, m_l1GtPfAlgoCacheID, m_l1GtPrescalesVetoes, m_masks, m_numberOfPreScaleColumns, m_numberPhysTriggers, m_PreScaleColumn, m_prescaleFactorsAlgoTrig, m_prescales, m_readPrescalesFromFile, m_triggerMaskAlgoTrig, masks(), or, l1t::PrescalesVetosHelper::prescaleTable(), edm::ESHandle< T >::product(), l1t::PrescalesVetosHelper::readFromEventSetup(), resetDecisionVectors(), resetMaskVectors(), resetPrescaleVectors(), edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, and l1t::PrescalesVetosHelper::triggerAlgoBxMask().

Referenced by L1TdeStage2uGT::bookHistograms(), fillDescription(), HLTPrescaleProvider::init(), and retrieveL1().

84  {
85  // get / update the trigger menu from the EventSetup
86  // local cache & check on cacheIdentifier
87  unsigned long long l1GtMenuCacheID = evSetup.get<L1TUtmTriggerMenuRcd>().cacheIdentifier();
88 
89  if (m_l1GtMenuCacheID != l1GtMenuCacheID) {
91  evSetup.get<L1TUtmTriggerMenuRcd>().get(l1GtMenu);
92  m_l1GtMenu = l1GtMenu.product();
93 
94  //std::cout << "Attempting to fill the map " << std::endl;
96 
97  //reset vectors since we have new menu
99 
100  m_l1GtMenuCacheID = l1GtMenuCacheID;
101  }
102 
104  unsigned long long l1GtPfAlgoCacheID = evSetup.get<L1TGlobalPrescalesVetosRcd>().cacheIdentifier();
105 
106  if (m_l1GtPfAlgoCacheID != l1GtPfAlgoCacheID) {
107  //std::cout << "Reading Prescales and Masks from dB" << std::endl;
108 
109  // clear and dimension
112  m_PreScaleColumn = 0;
115 
116  edm::ESHandle<L1TGlobalPrescalesVetos> l1GtPrescalesVetoes;
117  evSetup.get<L1TGlobalPrescalesVetosRcd>().get(l1GtPrescalesVetoes);
118  const L1TGlobalPrescalesVetos* es = l1GtPrescalesVetoes.product();
120 
124  (*m_prescaleFactorsAlgoTrig)[0].size(); // assumes all prescale columns are the same length
125 
127 
128  m_l1GtPfAlgoCacheID = l1GtPfAlgoCacheID;
129  }
130  } else {
131  //Load the prescales from external file
132  // clear and dimension
133  if (!m_filledPrescales) {
136 
138 
139  // Set Prescale factors to initial
142  m_filledPrescales = true;
143  }
144  }
145 
146  //Protect against poor prescale column choice (I don't think there is a way this happen as currently structured)
148  LogTrace("l1t|Global") << "\nNo Prescale Set: " << m_PreScaleColumn
149  << "\nMax Prescale Set value : " << m_prescaleFactorsAlgoTrig->size()
150  << "\nSetting prescale column to 0" << std::endl;
151  m_PreScaleColumn = 0;
152  }
153  //std::cout << "Using prescale column: " << m_PreScaleColumn << std::endl;
154  const std::vector<int>& prescaleSet = (*m_prescaleFactorsAlgoTrig)[m_PreScaleColumn];
155 
156  for (std::map<std::string, L1TUtmAlgorithm>::const_iterator itAlgo = m_algorithmMap->begin();
157  itAlgo != m_algorithmMap->end();
158  itAlgo++) {
159  // Get the algorithm name
160  std::string algName = itAlgo->first;
161  int algBit = (itAlgo->second).getIndex(); //algoBitNumber();
162 
163  (m_prescales[algBit]).first = algName;
164  if (size_t(algBit) < prescaleSet.size()) {
165  (m_prescales[algBit]).second = prescaleSet[algBit];
166  }
167  LogDebug("l1t|Global") << "Number of bunch crossings stored: " << (*m_triggerMaskAlgoTrig).size() << endl;
168 
169  const std::map<int, std::vector<int> >* triggerAlgoMaskAlgoTrig = m_triggerMaskAlgoTrig;
170  std::map<int, std::vector<int> >::const_iterator it = triggerAlgoMaskAlgoTrig->begin();
171 
172  std::vector<int> maskedBxs;
173  (m_masks[algBit]).first = algName;
174  (m_masks[algBit]).second = maskedBxs;
175  while (it != triggerAlgoMaskAlgoTrig->end()) {
176  std::vector<int> masks = it->second;
177  //std::cout<< "BX: " << it->first<<" VecSize: "<< masks.size();
178  //std::cout << "\tMasked algos: ";
179  for (unsigned int imask = 0; imask < masks.size(); imask++) {
180  if (masks.at(imask) == algBit)
181  maskedBxs.push_back(it->first);
182  // std::cout << "\t" << masks.at(imask);
183  }
184  //std::cout << "\n";
185  it++;
186  }
187 
188  if (!maskedBxs.empty()) {
189  LogDebug("l1t|Global") << "i Algo: " << algBit << "\t" << algName << " masked\n";
190  for (unsigned int ibx = 0; ibx < maskedBxs.size(); ibx++) {
191  // std::cout << "\t" << maskedBxs.at(ibx);
192  (m_masks[algBit]).second = maskedBxs;
193  }
194  }
195  }
196 }
#define LogDebug(id)
const L1TUtmTriggerMenu * m_l1GtMenu
const std::vector< std::vector< int > > & prescaleTable() const
bool m_algorithmTriggersUnmasked
unsigned long long m_l1GtPfAlgoCacheID
unsigned int m_numberOfPreScaleColumns
unsigned int m_PreScaleColumn
std::vector< std::vector< int > > m_initialPrescaleFactorsAlgoTrig
void resetDecisionVectors()
clear decision vectors on a menu change
const std::map< int, std::vector< int > > & triggerAlgoBxMask() const
const std::map< std::string, L1TUtmAlgorithm > * m_algorithmMap
U second(std::pair< T, U > const &p)
const std::map< int, std::vector< int > > m_initialTriggerMaskAlgoTrig
static const PrescalesVetosHelper * readFromEventSetup(const L1TGlobalPrescalesVetos *es)
std::vector< std::pair< std::string, std::vector< int > > > m_masks
const std::map< int, std::vector< int > > * m_triggerMaskAlgoTrig
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
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
Definition: Activities.doc:12
#define LogTrace(id)
unsigned long long m_l1GtMenuCacheID
const l1t::PrescalesVetosHelper * m_l1GtPrescalesVetoes
const std::map< std::string, L1TUtmAlgorithm > & getAlgorithmMap() const
T get() const
Definition: EventSetup.h:73
bool m_algorithmTriggersUnprescaled
const std::vector< std::pair< std::string, std::vector< int > > > & masks()
T const * product() const
Definition: ESHandle.h:86
std::vector< std::pair< std::string, int > > m_prescales
unsigned int m_numberPhysTriggers
void l1t::L1TGlobalUtil::setUnprescaledUnmasked ( bool  unprescale,
bool  unmask 
)
inline

Definition at line 91 of file L1TGlobalUtil.h.

References m_algorithmTriggersUnmasked, and m_algorithmTriggersUnprescaled.

91  {
92  m_algorithmTriggersUnprescaled = unprescale;
94  }
bool m_algorithmTriggersUnmasked
bool m_algorithmTriggersUnprescaled
void l1t::L1TGlobalUtil::setVerbosity ( const int  verbosity)
inline
bool l1t::L1TGlobalUtil::valid ( ) const

check that the L1TGlobalUtil has been properly initialised

Definition at line 60 of file L1TGlobalUtil.cc.

References m_l1GtMenu, and m_l1GtMenuCacheID.

60 { return m_l1GtMenuCacheID != 0ULL and m_l1GtMenu != nullptr; }
const L1TUtmTriggerMenu * m_l1GtMenu
unsigned long long m_l1GtMenuCacheID

Member Data Documentation

const std::map<std::string, L1TUtmAlgorithm>* l1t::L1TGlobalUtil::m_algorithmMap
private

Definition at line 180 of file L1TGlobalUtil.h.

Referenced by getAlgBitFromName(), retrieveL1Event(), and retrieveL1Setup().

bool l1t::L1TGlobalUtil::m_algorithmTriggersUnmasked
private

Definition at line 173 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), retrieveL1Setup(), and setUnprescaledUnmasked().

bool l1t::L1TGlobalUtil::m_algorithmTriggersUnprescaled
private

Definition at line 172 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), retrieveL1Setup(), and setUnprescaledUnmasked().

std::vector<std::pair<std::string, bool> > l1t::L1TGlobalUtil::m_decisionsFinal
private
std::vector<std::pair<std::string, bool> > l1t::L1TGlobalUtil::m_decisionsInitial
private
std::vector<std::pair<std::string, bool> > l1t::L1TGlobalUtil::m_decisionsInterm
private
bool l1t::L1TGlobalUtil::m_filledPrescales
private

Definition at line 176 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), and retrieveL1Setup().

bool l1t::L1TGlobalUtil::m_finalOR
private

Definition at line 200 of file L1TGlobalUtil.h.

Referenced by getFinalOR(), and retrieveL1Event().

std::vector<std::vector<int> > l1t::L1TGlobalUtil::m_initialPrescaleFactorsAlgoTrig
private

Definition at line 191 of file L1TGlobalUtil.h.

Referenced by loadPrescalesAndMasks(), and retrieveL1Setup().

const std::map<int, std::vector<int> > l1t::L1TGlobalUtil::m_initialTriggerMaskAlgoTrig
private

Definition at line 193 of file L1TGlobalUtil.h.

Referenced by loadPrescalesAndMasks(), and retrieveL1Setup().

const L1TUtmTriggerMenu* l1t::L1TGlobalUtil::m_l1GtMenu
private
unsigned long long l1t::L1TGlobalUtil::m_l1GtMenuCacheID
private

Definition at line 164 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), retrieveL1Setup(), and valid().

unsigned long long l1t::L1TGlobalUtil::m_l1GtPfAlgoCacheID
private

Definition at line 169 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), and retrieveL1Setup().

const l1t::PrescalesVetosHelper* l1t::L1TGlobalUtil::m_l1GtPrescalesVetoes
private

Definition at line 168 of file L1TGlobalUtil.h.

Referenced by retrieveL1Setup().

std::unique_ptr<L1TGlobalUtilHelper> l1t::L1TGlobalUtil::m_l1tGlobalUtilHelper
private

Definition at line 212 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), and retrieveL1Event().

std::vector<std::pair<std::string, std::vector<int> > > l1t::L1TGlobalUtil::m_masks
private
const unsigned int l1t::L1TGlobalUtil::m_maxNumberPhysTriggers = 512
private

Definition at line 184 of file L1TGlobalUtil.h.

Referenced by resetDecisionVectors(), resetMaskVectors(), and resetPrescaleVectors().

unsigned int l1t::L1TGlobalUtil::m_numberOfPreScaleColumns
private

Definition at line 189 of file L1TGlobalUtil.h.

Referenced by numberOfPreScaleColumns(), and retrieveL1Setup().

unsigned int l1t::L1TGlobalUtil::m_numberPhysTriggers
private

Definition at line 183 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), loadPrescalesAndMasks(), and retrieveL1Setup().

unsigned int l1t::L1TGlobalUtil::m_PreScaleColumn
private
const std::vector<std::vector<int> >* l1t::L1TGlobalUtil::m_prescaleFactorsAlgoTrig
private

Definition at line 192 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), retrieveL1Event(), and retrieveL1Setup().

std::string l1t::L1TGlobalUtil::m_preScaleFileName
private
std::vector<std::pair<std::string, int> > l1t::L1TGlobalUtil::m_prescales
private
bool l1t::L1TGlobalUtil::m_readPrescalesFromFile
private

Definition at line 167 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), retrieveL1Event(), and retrieveL1Setup().

const std::map<int, std::vector<int> >* l1t::L1TGlobalUtil::m_triggerMaskAlgoTrig
private

Definition at line 194 of file L1TGlobalUtil.h.

Referenced by L1TGlobalUtil(), and retrieveL1Setup().

edm::Handle<BXVector<GlobalAlgBlk> > l1t::L1TGlobalUtil::m_uGtAlgBlk
private

Definition at line 197 of file L1TGlobalUtil.h.

Referenced by retrieveL1Event().

int l1t::L1TGlobalUtil::m_verbosity
private

verbosity level

Definition at line 210 of file L1TGlobalUtil.h.

Referenced by setVerbosity().