Go to the documentation of this file.00001
00017
00018 #include "L1Trigger/GlobalTrigger/interface/L1GtConditionEvaluation.h"
00019
00020
00021 #include <iostream>
00022 #include <iomanip>
00023 #include <iterator>
00024
00025
00026
00027
00028
00029
00030 #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerObjectMapFwd.h"
00031
00032
00033
00034
00035
00036
00038 void L1GtConditionEvaluation::print(std::ostream& myCout) const {
00039
00040 myCout << "\n L1GtConditionEvaluation print...\n" << std::endl;
00041 myCout << " Maximum number of objects in condition: " << m_condMaxNumberObjects << std::endl;
00042 myCout << " Condition result: " << m_condLastResult << std::endl;
00043
00044 CombinationsInCond::const_iterator itVV;
00045 std::ostringstream myCout1;
00046
00047 for (itVV = (m_combinationsInCond).begin(); itVV != (m_combinationsInCond).end(); itVV++) {
00048
00049 myCout1 << "( ";
00050
00051 std::copy((*itVV).begin(), (*itVV).end(), std::ostream_iterator<int> (myCout1, " "));
00052
00053 myCout1 << "); ";
00054
00055 }
00056
00057 myCout
00058 << "\n List of combinations passing all requirements for this condition: \n "
00059 << myCout1.str()
00060 << " \n"
00061 << std::endl;
00062
00063 }
00064