38 m_triggerMenuInterface(
"NULL"), m_triggerMenuName(
"NULL"),
39 m_triggerMenuImplementation(
"NULL"), m_scaleDbKey(
"NULL") {
50 const std::vector<unsigned int>& triggerMaskAlgoTrigVal,
51 const std::vector<unsigned int>& triggerMaskTechTrigVal,
52 const std::vector<std::vector<int> >& prescaleFactorsAlgoTrigVal,
53 const std::vector<std::vector<int> >& prescaleFactorsTechTrigVal)
193 return !(otherObj == *
this);
200 return (otherObj == *
this);
241 const std::vector<unsigned int>& maskValue) {
258 const std::vector<std::vector<int> >& factorValue) {
265 const std::vector<std::vector<int> >& factorValue) {
276 switch (printVerbosity) {
285 myCout <<
"\n ********** L1 Trigger Menu - printing ********** \n" 289 <<
"\nAssociated Scale DB Key: " <<
m_scaleDbKey <<
"\n\n" 290 <<
"\nL1 Physics Algorithms: " << nrDefinedAlgo <<
" algorithms defined." <<
"\n\n" 292 << std::right << std::setw(35) <<
"Algorithm Name" <<
" " 293 << std::right << std::setw(35) <<
"Algorithm Alias" <<
" " 294 << std::right << std::setw(12) <<
"Trigger Mask";
296 myCout << std::right << std::setw(10) <<
"PF Set " 297 << std::right << std::setw(2) << iSet;
306 const unsigned int bitNumber = itTrig->first;
312 aAlias = itAlias->second;
315 myCout << std::setw(6) << bitNumber <<
" " 316 << std::right << std::setw(35) << aName <<
" " 317 << std::right << std::setw(35) << aAlias <<
" " 326 myCout <<
"\nL1 Technical Triggers: " << nrDefinedTech
327 <<
" technical triggers defined." <<
"\n\n" << std::endl;
330 << std::right << std::setw(6) <<
"Bit Number " 331 << std::right << std::setw(45) <<
" Technical trigger name " <<
" " 332 << std::right << std::setw(12) <<
"Trigger Mask";
334 myCout << std::right << std::setw(10) <<
"PF Set " 335 << std::right << std::setw(2) << iSet;
344 unsigned int bitNumber = itTrig->first;
347 myCout << std::setw(6) << bitNumber <<
" " 348 << std::right << std::setw(45) << aName
363 myCout <<
"\n ********** L1 Trigger Menu - printing ********** \n\n" 364 <<
"Verbosity level: " << printVerbosity <<
" not implemented.\n\n" 377 result.
print(streamRec, verbosityLevel);
384 const unsigned int bitNumber,
int& errorCode)
const {
391 if (itTrig->first == bitNumber) {
393 gtAlgorithmAlias = &(itTrig->second);
408 const unsigned int bitNumber,
int& errorCode)
const {
415 if (itTrig->first == bitNumber) {
417 gtAlgorithmName = &(itTrig->second);
430 const unsigned int bitNumber,
int& errorCode)
const {
437 if (itTrig->first == bitNumber) {
439 gtTechTrigName = &(itTrig->second);
454 const std::string& trigName,
int& errorCode)
const {
456 unsigned int bitNr = 999;
462 if (itTrig->second == trigName) {
464 bitNr = itTrig->first;
475 if (itTrig->second == trigName) {
477 bitNr = itTrig->first;
487 if (itTrig->second == trigName) {
489 bitNr = itTrig->first;
503 const std::vector<bool>& decWord,
int& errorCode)
const {
505 bool trigResult =
false;
512 if (itTrig->second == trigName) {
513 unsigned int bitNumber = itTrig->first;
515 if ((bitNumber >= decWord.size())) {
519 trigResult = decWord[bitNumber];
532 if (itTrig->second == trigName) {
533 unsigned int bitNumber = itTrig->first;
535 if ((bitNumber >= decWord.size())) {
539 trigResult = decWord[bitNumber];
552 if (itTrig->second == trigName) {
553 unsigned int bitNumber = itTrig->first;
555 if ((bitNumber >= decWord.size())) {
559 trigResult = decWord[bitNumber];