File indexing completed on 2023-03-17 11:11:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include "L1Trigger/GlobalTrigger/interface/L1GtConditionEvaluation.h"
0018
0019
0020 #include <iomanip>
0021 #include <iostream>
0022 #include <iterator>
0023
0024
0025
0026
0027
0028
0029 #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerObjectMapFwd.h"
0030
0031
0032
0033
0034 void L1GtConditionEvaluation::print(std::ostream &myCout) const {
0035 myCout << "\n L1GtConditionEvaluation print...\n" << std::endl;
0036 myCout << " Maximum number of objects in condition: " << m_condMaxNumberObjects << std::endl;
0037 myCout << " Condition result: " << m_condLastResult << std::endl;
0038
0039 CombinationsInCond::const_iterator itVV;
0040 std::ostringstream myCout1;
0041
0042 for (itVV = (m_combinationsInCond).begin(); itVV != (m_combinationsInCond).end(); itVV++) {
0043 myCout1 << "( ";
0044
0045 std::copy((*itVV).begin(), (*itVV).end(), std::ostream_iterator<int>(myCout1, " "));
0046
0047 myCout1 << "); ";
0048 }
0049
0050 myCout << "\n List of combinations passing all requirements for this "
0051 "condition: \n "
0052 << myCout1.str() << " \n"
0053 << std::endl;
0054 }