29 #include "boost/lexical_cast.hpp"
86 <<
"\n (if false: L1GtTrigReport uses L1GlobalTriggerReadoutRecord.)"
87 <<
"\n Input tag for L1 GT record: " << m_l1GtRecordInputTag.label() <<
" \n"
88 <<
"\n Print verbosity level: " << m_printVerbosity <<
" \n"
89 <<
"\n Print output: " << m_printOutput <<
" \n" << std::endl;
170 unsigned long long l1GtStableParCacheID =
213 unsigned long long l1GtPfAlgoCacheID =
228 unsigned long long l1GtPfTechCacheID =
246 unsigned long long l1GtTmAlgoCacheID =
261 unsigned long long l1GtTmTechCacheID =
276 unsigned long long l1GtTmVetoAlgoCacheID =
291 unsigned long long l1GtTmVetoTechCacheID =
309 unsigned long long l1GtMenuCacheID =
320 LogDebug(
"L1GtTrigReport") <<
"\n Changing L1 menu to : \n"
344 bool validRecord =
false;
346 unsigned int pfIndexAlgo = 0;
347 unsigned int pfIndexTech = 0;
360 bool gtDecision = gtRecord->decision();
362 gtDecisionWordBeforeMask = gtRecord->decisionWordBeforeMask();
363 gtDecisionWordAfterMask = gtRecord->decisionWord();
365 technicalTriggerWordBeforeMask = gtRecord->technicalTriggerWordBeforeMask();
366 technicalTriggerWordAfterMask = gtRecord->technicalTriggerWord();
372 pfIndexAlgo = gtRecord->gtPrescaleFactorIndexAlgo();
373 pfIndexTech = gtRecord->gtPrescaleFactorIndexTech();
381 edm::LogWarning(
"L1GtTrigReport") <<
"\n L1GlobalTriggerRecord with input tag "
383 <<
"\n Event classified as Error\n\n"
389 if (gtReadoutRecord.
isValid()) {
392 const std::vector<L1GtFdlWord>& fdlVec = gtReadoutRecord->gtFdlVector();
393 size_t fdlVecSize = fdlVec.size();
395 if (fdlVecSize > 0) {
397 LogDebug(
"L1GtTrigReport") <<
"\n L1GlobalTriggerReadoutRecord with input tag "
402 boost::uint16_t gtFinalOR = gtReadoutRecord->finalOR();
404 gtDecisionWordBeforeMask = gtReadoutRecord->decisionWord();
405 technicalTriggerWordBeforeMask = gtReadoutRecord->technicalTriggerWord();
409 bool gtDecision =
static_cast<bool>(gtFinalOR & ( 1 << iDaqPartition ));
417 =
static_cast<unsigned int>( ( gtReadoutRecord->gtFdlWord() ).gtPrescaleFactorIndexAlgo());
419 =
static_cast<unsigned int>( ( gtReadoutRecord->gtFdlWord() ).gtPrescaleFactorIndexTech());
429 edm::LogWarning(
"L1GtTrigReport") <<
"\n L1GlobalTriggerReadoutRecord with input tag "
431 <<
"\n Invalid L1GlobalTriggerReadoutRecord!"
432 <<
"\n Event classified as Error\n\n"
445 edm::LogWarning(
"L1GtTrigReport") <<
"\n L1GlobalTriggerReadoutRecord with input tag "
447 <<
"\n Event classified as Error\n\n"
455 const std::vector<int>& prescaleFactorsAlgoTrig =
456 ( *m_prescaleFactorsAlgoTrig ).at(pfIndexAlgo);
458 const std::vector<int>& prescaleFactorsTechTrig =
459 ( *m_prescaleFactorsTechTrig ).at(pfIndexTech);
465 for (
CItAlgo itAlgo = algorithmMap.begin(); itAlgo != algorithmMap.end(); itAlgo++) {
468 int algBitNumber = ( itAlgo->second ).algoBitNumber();
472 bool algResultBeforeMask = gtDecisionWordBeforeMask[algBitNumber];
481 bool algResultAfterMask =
false;
487 algResultAfterMask = gtDecisionWordAfterMask[algBitNumber];
490 algResultAfterMask = algResultBeforeMask;
493 algResultAfterMask =
false;
498 algResultAfterMask = algResultBeforeMask;
501 algResultAfterMask =
false;
506 menuName, algName, prescaleFactor, triggerMask, iDaqPartition);
511 if ( ( *entryRep ) == * ( *itEntry )) {
514 ( *itEntry )->addValidEntry(algResultAfterMask, algResultBeforeMask);
521 entryRep->
addValidEntry(algResultAfterMask, algResultBeforeMask);
530 for (
CItAlgo itAlgo = technicalTriggerMap.begin(); itAlgo != technicalTriggerMap.end(); itAlgo++) {
534 int ttBitNumber = ( itAlgo->second ).algoBitNumber();
540 bool ttResultBeforeMask = technicalTriggerWordBeforeMask[ttBitNumber];
549 bool ttResultAfterMask =
false;
555 ttResultAfterMask = technicalTriggerWordAfterMask[ttBitNumber];
558 ttResultAfterMask = ttResultBeforeMask;
561 ttResultAfterMask =
false;
566 ttResultAfterMask = ttResultBeforeMask;
569 ttResultAfterMask =
false;
574 menuName, ttName, prescaleFactor, triggerMask, iDaqPartition);
580 if ( ( *entryRep ) == * ( *itEntry )) {
583 ( *itEntry )->addValidEntry(ttResultAfterMask, ttResultBeforeMask);
590 entryRep->
addValidEntry(ttResultAfterMask, ttResultBeforeMask);
601 for (
CItAlgo itAlgo = algorithmMap.begin(); itAlgo != algorithmMap.end(); itAlgo++) {
604 int algBitNumber = ( itAlgo->second ).algoBitNumber();
614 menuName, algName, prescaleFactor, triggerMask, iDaqPartition);
620 if ( ( *entryRep ) == * ( *itEntry )) {
623 ( *itEntry )->addErrorEntry();
647 int ttBitNumber = iTechTrig;
657 menuName, ttName, prescaleFactor, triggerMask, iDaqPartition);
664 if ( ( *entryRep ) == * ( *itEntry )) {
667 ( *itEntry )->addErrorEntry();
692 std::ostringstream myCout;
694 myCout << std::dec << std::endl;
695 myCout <<
"L1T-Report " <<
"---------- Event Summary ----------\n";
696 myCout <<
"L1T-Report " <<
"Total number of events processed: " <<
m_totalEvents <<
"\n";
697 myCout <<
"L1T-Report\n";
703 <<
" Passed[finalOR] "
706 <<
"\n" << std::endl;
718 << std::right << std::setw(16) << iDaqPartition <<
" "
719 << std::right << std::setw(16) << m_totalEvents <<
" "
720 << std::right << std::setw(16) << m_globalNrAccepts[iDaqPartition] <<
" "
721 << std::right << std::setw(16) << rejectedEvents <<
" "
722 << std::right << std::setw(16) <<
m_globalNrErrors[iDaqPartition] << std::endl;
730 std::set<std::string> menuList;
731 typedef std::set<std::string>::const_iterator CItL1Menu;
734 menuList.insert( ( *itEntry )->gtTriggerMenuName());
738 <<
"\nThe following L1 menus were used for this sample: " << std::endl;
739 for (CItL1Menu itMenu = menuList.begin(); itMenu != menuList.end(); itMenu++) {
740 myCout <<
" " << ( *itMenu ) << std::endl;
742 myCout <<
"\n" << std::endl;
748 <<
"\nL1T-Report " <<
"---------- L1 Trigger Global Summary - DAQ Partition "
752 <<
"\n\n Number of events written after applying L1 prescale factors"
753 <<
" and trigger masks\n" <<
" if not explicitly mentioned.\n\n";
755 for (CItL1Menu itMenu = menuList.begin(); itMenu != menuList.end(); itMenu++) {
757 myCout <<
"\nReport for L1 menu: " << (*itMenu) <<
"\n"
761 << std::right << std::setw(45) <<
"Algorithm Key" <<
" "
762 << std::right << std::setw(10) <<
"Passed" <<
" "
763 << std::right << std::setw(10) <<
"Rejected" <<
" "
764 << std::right << std::setw(10) <<
"Error"
771 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
774 << std::right << std::setw(45) << (*itEntry)->gtAlgoName() <<
" "
775 << std::right << std::setw(10) << (*itEntry)->gtNrEventsAccept() <<
" "
776 << std::right << std::setw(10) << (*itEntry)->gtNrEventsReject() <<
" "
777 << std::right << std::setw(10) << (*itEntry)->gtNrEventsError()
785 << std::right << std::setw(45) <<
"Technical Trigger Key" <<
" "
786 << std::right << std::setw(10) <<
"Passed" <<
" "
787 << std::right << std::setw(10) <<
"Rejected" <<
" "
788 << std::right << std::setw(10) <<
"Error"
795 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
798 << std::right << std::setw(45) << (*itEntry)->gtAlgoName() <<
" "
799 << std::right << std::setw(10) << (*itEntry)->gtNrEventsAccept() <<
" "
800 << std::right << std::setw(10) << (*itEntry)->gtNrEventsReject() <<
" "
801 << std::right << std::setw(10) << (*itEntry)->gtNrEventsError()
813 myCout <<
"\nL1T-Report " <<
"---------- L1 Trigger Global Summary - DAQ Partition "
816 myCout <<
"\n\n Number of events written after applying L1 prescale factors"
817 <<
" and trigger masks\n" <<
" if not explicitly mentioned.\n\n";
819 for (CItL1Menu itMenu = menuList.begin(); itMenu != menuList.end(); itMenu++) {
821 myCout <<
"\nReport for L1 menu: " << (*itMenu) <<
"\n"
824 << std::right << std::setw(45) <<
"Algorithm Key" <<
" "
825 << std::right << std::setw(10) <<
"Prescale" <<
" "
826 << std::right << std::setw(5) <<
"Mask" <<
" "
827 << std::right << std::setw(10) <<
"Passed" <<
" "
828 << std::right << std::setw(10) <<
"Rejected" <<
" "
829 << std::right << std::setw(10) <<
"Error" << std::setw(2) <<
" "
835 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
837 << std::right << std::setw(45) << ( *itEntry )->gtAlgoName() <<
" "
838 << std::right << std::setw(10) << ( *itEntry )->gtPrescaleFactor() <<
" "
839 << std::right << std::setw(2)
840 << std::hex << ( *itEntry )->gtTriggerMask()
842 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsAccept() <<
" "
843 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsReject() <<
" "
844 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsError() << std::setw(2) <<
" "
851 << std::right << std::setw(45) <<
"Technical Trigger Key" <<
" "
852 << std::right << std::setw(10) <<
"Prescale" <<
" "
853 << std::right << std::setw(5) <<
"Mask" <<
" "
854 << std::right << std::setw(10) <<
"Passed" <<
" "
855 << std::right << std::setw(10) <<
"Rejected" <<
" "
856 << std::right << std::setw(10) <<
"Error" << std::setw(2) <<
" "
862 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
864 << std::right << std::setw(45) << ( *itEntry )->gtAlgoName() <<
" "
865 << std::right << std::setw(10) << ( *itEntry )->gtPrescaleFactor() <<
" "
866 << std::right << std::setw(2)
867 << std::hex << ( *itEntry )->gtTriggerMask()
869 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsAccept() <<
" "
870 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsReject() <<
" "
871 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsError() << std::setw(2) <<
" "
883 for (CItL1Menu itMenu = menuList.begin(); itMenu != menuList.end(); itMenu++) {
885 myCout <<
"\nReport for L1 menu: " << ( *itMenu ) <<
"\n"
889 << std::right << std::setw(45) <<
"Algorithm Key" <<
" "
890 << std::right << std::setw(10) <<
"Passed" <<
" "
891 << std::right << std::setw(10) <<
"Rejected" <<
" "
892 << std::right << std::setw(10) <<
"Error" <<
"\n";
897 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
899 int nrEventsAccept = ( *itEntry )->gtNrEventsAccept();
900 int nrEventsReject = ( *itEntry )->gtNrEventsReject();
901 int nrEventsError = ( *itEntry )->gtNrEventsError();
904 << std::right << std::setw(45) << (( *itEntry )->gtAlgoName()) <<
" "
905 << std::right << std::setw(10) << nrEventsAccept <<
" "
906 << std::right << std::setw(10) << nrEventsReject <<
" "
907 << std::right << std::setw(10) << nrEventsError <<
"\n";
915 << std::right << std::setw(45) <<
"Algorithm Key" <<
" "
916 << std::right << std::setw(10) <<
"Efficiency " <<
" "
917 << std::right << std::setw(10) <<
"Stat error (%)" <<
"\n";
921 if ( ( ( *itEntry )->gtDaqPartition() == 0 )
922 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
924 int nrEventsAccept = ( *itEntry )->gtNrEventsAccept();
925 int nrEventsReject = ( *itEntry )->gtNrEventsReject();
926 int nrEventsError = ( *itEntry )->gtNrEventsError();
928 int totalEvents = nrEventsAccept + nrEventsReject + nrEventsError;
932 float statErrEff = 0.;
934 if (totalEvents != 0) {
935 eff =
static_cast<float> (nrEventsAccept)
936 / static_cast<float> (totalEvents);
937 statErrEff =
sqrt(eff * ( 1.0 - eff )
938 / static_cast<float> (totalEvents));
943 << std::right << std::setw(45) << (( *itEntry )->gtAlgoName()) <<
" "
944 << std::right << std::setw(10) << std::fixed << std::setprecision(2)
945 << 100.*eff <<
" +- "
946 << std::right << std::setw(10) << std::setprecision(2)
947 << 100.*statErrEff <<
"\n";
956 << std::right << std::setw(45) <<
"Technical Trigger Key" <<
" "
957 << std::right << std::setw(10) <<
"Passed" <<
" "
958 << std::right << std::setw(10) <<
"Rejected" <<
" "
959 << std::right << std::setw(10) <<
"Error" <<
"\n";
965 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
967 int nrEventsAccept = ( *itEntry )->gtNrEventsAccept();
968 int nrEventsReject = ( *itEntry )->gtNrEventsReject();
969 int nrEventsError = ( *itEntry )->gtNrEventsError();
972 << std::right << std::setw(45) << (( *itEntry )->gtAlgoName()) <<
" "
973 << std::right << std::setw(10) << nrEventsAccept <<
" "
974 << std::right << std::setw(10) << nrEventsReject <<
" "
975 << std::right << std::setw(10) << nrEventsError <<
"\n";
983 << std::right << std::setw(45) <<
"Technical Trigger Key" <<
" "
984 << std::right << std::setw(10) <<
"Efficiency " <<
" "
985 << std::right << std::setw(10) <<
"Stat error (%)" <<
"\n";
990 if ( ( ( *itEntry )->gtDaqPartition() == 0 )
991 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
993 int nrEventsAccept = ( *itEntry )->gtNrEventsAccept();
994 int nrEventsReject = ( *itEntry )->gtNrEventsReject();
995 int nrEventsError = ( *itEntry )->gtNrEventsError();
997 int totalEvents = nrEventsAccept + nrEventsReject + nrEventsError;
1001 float statErrEff = 0.;
1003 if (totalEvents != 0) {
1004 eff =
static_cast<float> (nrEventsAccept)
1005 / static_cast<float> (totalEvents);
1006 statErrEff =
sqrt(eff * ( 1.0 - eff )
1007 / static_cast<float> (totalEvents));
1012 << std::right << std::setw(45) << (( *itEntry )->gtAlgoName()) <<
" "
1013 << std::right << std::setw(10) << std::fixed << std::setprecision(2)
1014 << 100.*eff <<
" +- "
1015 << std::right << std::setw(10) << std::setprecision(2)
1016 << 100.*statErrEff <<
"\n";
1031 myCout <<
"\nL1T-Report " <<
"---------- L1 Trigger Global Summary - DAQ Partition "
1034 for (CItL1Menu itMenu = menuList.begin(); itMenu != menuList.end(); itMenu++) {
1036 myCout <<
"\nReport for L1 menu: " << ( *itMenu ) <<
"\n"
1039 << std::right << std::setw(45) <<
"Algorithm Key" <<
" "
1040 << std::right << std::setw(10) <<
"Prescale" <<
" "
1041 << std::right << std::setw(5) <<
"Mask" <<
" "
1042 << std::right << std::setw(25) <<
"Before Mask" <<
" "
1043 << std::right << std::setw(30) <<
"After Mask" <<
" "
1044 << std::right << std::setw(22) <<
"Error"
1046 << std::right << std::setw(64) <<
" " << std::setw(15) <<
"Passed"
1047 << std::right << std::setw(1) <<
" " << std::setw(15) <<
"Rejected"
1048 << std::right << std::setw(1) <<
" " << std::setw(15) <<
"Passed"
1049 << std::right << std::setw(1) <<
" " << std::setw(15) <<
"Rejected"
1055 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
1057 << std::right << std::setw(45) << ( *itEntry )->gtAlgoName() <<
" "
1058 << std::right << std::setw(10) << ( *itEntry )->gtPrescaleFactor() <<
" "
1059 << std::right << std::setw(5) <<
" " << std::hex << ( *itEntry )->gtTriggerMask() << std::dec <<
" "
1060 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsAcceptBeforeMask() <<
" "
1061 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsRejectBeforeMask() <<
" "
1062 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsAccept() <<
" "
1063 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsReject() <<
" "
1064 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsError()
1071 << std::right << std::setw(45) <<
"Technical Trigger Key" <<
" "
1072 << std::right << std::setw(10) <<
"Prescale" <<
" "
1073 << std::right << std::setw(5) <<
"Mask" <<
" "
1074 << std::right << std::setw(25) <<
"Before Mask" <<
" "
1075 << std::right << std::setw(30) <<
"After Mask" <<
" "
1076 << std::right << std::setw(22) <<
"Error"
1078 << std::right << std::setw(64) <<
" " << std::setw(15) <<
"Passed"
1079 << std::right << std::setw(1) <<
" " << std::setw(15) <<
"Rejected"
1080 << std::right << std::setw(1) <<
" " << std::setw(15) <<
"Passed"
1081 << std::right << std::setw(1) <<
" " << std::setw(15) <<
"Rejected"
1087 && ( ( *itEntry )->gtTriggerMenuName() == *itMenu )) {
1089 << std::right << std::setw(45) << ( *itEntry )->gtAlgoName() <<
" "
1090 << std::right << std::setw(10) << ( *itEntry )->gtPrescaleFactor() <<
" "
1091 << std::right << std::setw(5) <<
" " << std::hex << ( *itEntry )->gtTriggerMask() << std::dec <<
" "
1092 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsAcceptBeforeMask() <<
" "
1093 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsRejectBeforeMask() <<
" "
1094 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsAccept() <<
" "
1095 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsReject() <<
" "
1096 << std::right << std::setw(15) << ( *itEntry )->gtNrEventsError()
1108 myCout <<
"\nL1T-Report "
1109 <<
"---------- L1 Trigger Global Summary - DAQ Partition " << iDaqPartition
1110 <<
" " <<
"----------\n\n";
1113 << std::right << std::setw(45) <<
"Algorithm Key" <<
" "
1114 << std::right << std::setw(10) <<
"Passed" <<
" "
1115 << std::right << std::setw(10) <<
"Rejected" <<
" "
1116 << std::right << std::setw(10) <<
"Error" << std::setw(2) <<
" "
1121 if ( (( *itEntry )->gtDaqPartition() == 0)) {
1124 << std::right << std::setw(45) << ( *itEntry )->gtAlgoName() <<
" "
1125 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsAccept() <<
" "
1126 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsReject() <<
" "
1127 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsError() << std::setw(2) <<
" "
1135 << std::right << std::setw(45) <<
"Technical Trigger Key" <<
" "
1136 << std::right << std::setw(10) <<
"Passed" <<
" "
1137 << std::right << std::setw(10) <<
"Rejected" <<
" "
1138 << std::right << std::setw(10) <<
"Error" << std::setw(2) <<
" "
1143 if ( ( *itEntry )->gtDaqPartition() == 0) {
1146 << std::right << std::setw(45) << ( *itEntry )->gtAlgoName() <<
" "
1147 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsAccept() <<
" "
1148 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsReject() <<
" "
1149 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsError() << std::setw(2) <<
" "
1150 << std::right << std::setw(20) << ( *itEntry )->gtTriggerMenuName()
1164 myCout <<
"\nL1T-Report "
1165 <<
"---------- L1 Trigger Global Summary - DAQ Partition " << iDaqPartition
1166 <<
" " <<
"----------\n\n";
1169 << std::right << std::setw(45) <<
"Algorithm Key" <<
" "
1170 << std::right << std::setw(10) <<
"Prescale" <<
" "
1171 << std::right << std::setw(5) <<
"Mask" <<
" "
1172 << std::right << std::setw(10) <<
"Passed" <<
" "
1173 << std::right << std::setw(10) <<
"Rejected" <<
" "
1174 << std::right << std::setw(10) <<
"Error" << std::setw(2) <<
" "
1179 if ( ( *itEntry )->gtDaqPartition() == 0) {
1181 << std::right << std::setw(45) << ( *itEntry )->gtAlgoName() <<
" "
1182 << std::right << std::setw(10) << ( *itEntry )->gtPrescaleFactor() <<
" "
1183 << std::right << std::setw(2)
1184 << std::hex << ( *itEntry )->gtTriggerMask()
1186 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsAccept() <<
" "
1187 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsReject() <<
" "
1188 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsError() << std::setw(2) <<
" "
1195 << std::right << std::setw(45) <<
"Technical Trigger Key" <<
" "
1196 << std::right << std::setw(10) <<
"Prescale" <<
" "
1197 << std::right << std::setw(5) <<
"Mask" <<
" "
1198 << std::right << std::setw(10) <<
"Passed" <<
" "
1199 << std::right << std::setw(10) <<
"Rejected" <<
" "
1200 << std::right << std::setw(10) <<
"Error" << std::setw(2) <<
" "
1205 if ( ( *itEntry )->gtDaqPartition() == 0) {
1207 << std::right << std::setw(45) << ( *itEntry )->gtAlgoName() <<
" "
1208 << std::right << std::setw(10) << ( *itEntry )->gtPrescaleFactor() <<
" "
1209 << std::right << std::setw(2)
1210 << std::hex << ( *itEntry )->gtTriggerMask()
1212 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsAccept() <<
" "
1213 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsReject() <<
" "
1214 << std::right << std::setw(10) << ( *itEntry )->gtNrEventsError() << std::setw(2) <<
" "
1225 <<
"\n\nL1GtTrigReport: Error - no print verbosity level = " <<
m_printVerbosity
1226 <<
" defined! \nCheck available values in the cfi file." <<
"\n";
1236 myCout << std::endl;
1237 myCout <<
"L1T-Report end!" << std::endl;
1238 myCout << std::endl;
1250 LogTrace(
"L1GtTrigReport") << myCout.str() << std::endl;
1271 <<
"\n\n L1GtTrigReport: Error - no print output = " <<
m_printOutput
1272 <<
" defined! \n Check available values in the cfi file." <<
"\n" << std::endl;
virtual ~L1GtTrigReport()
destructor
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< int > m_globalNrErrors
global number of events with error (EDProduct[s] not found)
std::list< L1GtTrigReportEntry * >::const_iterator CItEntry
std::list< L1GtTrigReportEntry * > m_entryListTechTrig
list of individual entries in the report for technical triggers
const L1GtTriggerMenu * m_l1GtMenu
std::vector< unsigned int > m_triggerMaskTechTrig
unsigned int m_numberDaqPartitions
number of DAQ partitions
unsigned long long m_l1GtStableParCacheID
const L1GtStableParameters * m_l1GtStablePar
cached stuff
std::vector< unsigned int > m_triggerMaskAlgoTrig
void addValidEntry(const bool algResultAfterMask, const bool algResultBeforeMask)
increase # of events accepted/rejected for this entry
int m_printOutput
print output
unsigned long long m_l1GtPfTechCacheID
unsigned int m_numberDaqPartitionsMax
const L1GtTriggerMask * m_l1GtTmVetoTech
const L1GtPrescaleFactors * m_l1GtPfTech
int m_printVerbosity
print verbosity
const L1GtTriggerMask * m_l1GtTmVetoAlgo
virtual void analyze(const edm::Event &, const edm::EventSetup &)
analyze each event
std::list< L1GtTrigReportEntry * > m_entryList
list of individual entries in the report for physics algorithms
unsigned int gtNumberTechnicalTriggers() const
get / set the number of technical triggers
unsigned int gtNumberPhysTriggers() const
get / set the number of physics trigger algorithms
bool m_useL1GlobalTriggerRecord
boolean flag to select the input record
unsigned long long m_l1GtPfAlgoCacheID
const std::vector< unsigned int > & gtTriggerMask() const
get the trigger mask
std::vector< bool > DecisionWord
typedefs
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks & veto masks
const L1GtPrescaleFactors * m_l1GtPfAlgo
prescale factors
unsigned long long m_l1GtTmAlgoCacheID
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
std::vector< unsigned int > m_triggerMaskVetoTechTrig
unsigned int m_numberTechnicalTriggers
number of technical triggers
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
unsigned long long m_l1GtTmVetoTechCacheID
void addErrorEntry()
increase # of events with error
const L1GtTriggerMask * m_l1GtTmTech
std::vector< int > m_globalNrAccepts
global number of events accepted by any of the L1 algorithm in any menu
unsigned long long m_l1GtMenuCacheID
unsigned long long m_l1GtTmTechCacheID
std::vector< unsigned int > m_triggerMaskVetoAlgoTrig
const std::vector< std::vector< int > > & gtPrescaleFactors() const
get the prescale factors by reference
int m_totalEvents
counters
std::list< L1GtTrigReportEntry * >::iterator ItEntry
T const * product() const
const std::vector< std::vector< int > > * m_prescaleFactorsAlgoTrig
L1GtTrigReport(const edm::ParameterSet &)
constructor
unsigned int m_physicsDaqPartition
index of physics DAQ partition
edm::InputTag m_l1GtRecordInputTag
input tag for GT record (L1 GT DAQ record or L1 GT "lite" record):
virtual void endJob()
end of job
unsigned int m_numberPhysTriggers
number of physics triggers
const std::vector< std::vector< int > > * m_prescaleFactorsTechTrig
unsigned long long m_l1GtTmVetoAlgoCacheID