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