37 : m_triggerMenuInterface(
"NULL"),
38 m_triggerMenuName(
"NULL"),
39 m_triggerMenuImplementation(
"NULL"),
40 m_scaleDbKey(
"NULL") {
48 const std::vector<unsigned int>& triggerMaskAlgoTrigVal,
49 const std::vector<unsigned int>& triggerMaskTechTrigVal,
50 const std::vector<std::vector<int> >& prescaleFactorsAlgoTrigVal,
51 const std::vector<std::vector<int> >& prescaleFactorsTechTrigVal)
52 : m_triggerMenuInterface(
"NULL"),
53 m_triggerMenuName(triggerMenuNameVal),
54 m_triggerMenuImplementation(
"NULL"),
56 m_algorithmMap(algorithmMapVal),
57 m_algorithmAliasMap(algorithmAliasMapVal),
58 m_technicalTriggerMap(technicalTriggerMapVal),
59 m_triggerMaskAlgoTrig(triggerMaskAlgoTrigVal),
60 m_triggerMaskTechTrig(triggerMaskTechTrigVal),
61 m_prescaleFactorsAlgoTrig(prescaleFactorsAlgoTrigVal),
62 m_prescaleFactorsTechTrig(prescaleFactorsTechTrigVal)
225 switch (printVerbosity) {
232 myCout <<
"\n ********** L1 Trigger Menu - printing ********** \n"
236 <<
"\nAssociated Scale DB Key: " <<
m_scaleDbKey <<
"\n\n"
237 <<
"\nL1 Physics Algorithms: " << nrDefinedAlgo <<
" algorithms defined."
239 <<
"Bit Number " << std::right << std::setw(35) <<
"Algorithm Name"
240 <<
" " << std::right << std::setw(35) <<
"Algorithm Alias"
241 <<
" " << std::right << std::setw(12) <<
"Trigger Mask";
243 myCout << std::right << std::setw(10) <<
"PF Set " << std::right << std::setw(2) << iSet;
249 const unsigned int bitNumber = itTrig->first;
255 aAlias = itAlias->second;
258 myCout << std::setw(6) << bitNumber <<
" " << std::right << std::setw(35) << aName <<
" " << std::right
259 << std::setw(35) << aAlias <<
" " << std::right << std::setw(12) <<
m_triggerMaskAlgoTrig[bitNumber];
267 myCout <<
"\nL1 Technical Triggers: " << nrDefinedTech <<
" technical triggers defined."
271 myCout << std::right << std::setw(6) <<
"Bit Number " << std::right << std::setw(45)
272 <<
" Technical trigger name "
273 <<
" " << std::right << std::setw(12) <<
"Trigger Mask";
275 myCout << std::right << std::setw(10) <<
"PF Set " << std::right << std::setw(2) << iSet;
282 unsigned int bitNumber = itTrig->first;
285 myCout << std::setw(6) << bitNumber <<
" " << std::right << std::setw(45) << aName << std::right
296 myCout <<
"\n ********** L1 Trigger Menu - printing ********** \n\n"
297 <<
"Verbosity level: " << printVerbosity <<
" not implemented.\n\n"
307 result.
print(streamRec, verbosityLevel);
316 if (itTrig->first == bitNumber) {
317 gtAlgorithmAlias = &(itTrig->second);
334 if (itTrig->first == bitNumber) {
335 gtAlgorithmName = &(itTrig->second);
350 if (itTrig->first == bitNumber) {
351 gtTechTrigName = &(itTrig->second);
365 unsigned int bitNr = 999;
369 if (itTrig->second == trigName) {
370 bitNr = itTrig->first;
379 if (itTrig->second == trigName) {
380 bitNr = itTrig->first;
388 if (itTrig->second == trigName) {
389 bitNr = itTrig->first;
402 const std::vector<bool>& decWord,
403 int& errorCode)
const {
404 bool trigResult =
false;
409 if (itTrig->second == trigName) {
410 unsigned int bitNumber = itTrig->first;
412 if ((bitNumber >= decWord.size())) {
416 trigResult = decWord[bitNumber];
427 if (itTrig->second == trigName) {
428 unsigned int bitNumber = itTrig->first;
430 if ((bitNumber >= decWord.size())) {
434 trigResult = decWord[bitNumber];
445 if (itTrig->second == trigName) {
446 unsigned int bitNumber = itTrig->first;
448 if ((bitNumber >= decWord.size())) {
452 trigResult = decWord[bitNumber];
std::ostream & operator<<(std::ostream &out, const ALILine &li)
tuple verbosityLevel
L1 selection andOrL1 = cms.bool( True ), l1Algorithms = cms.vstring("L1_ZeroBias_FirstCollidingBunch"...