L1Trigger
GlobalTrigger
src
L1GtConditionEvaluation.cc
Go to the documentation of this file.
1
16
// this class header
17
#include "
L1Trigger/GlobalTrigger/interface/L1GtConditionEvaluation.h
"
18
19
// system include files
20
#include <iomanip>
21
#include <iostream>
22
#include <iterator>
23
24
// user include files
25
26
// base class
27
28
//
29
#include "
DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerObjectMapFwd.h
"
30
31
// methods
32
34
void
L1GtConditionEvaluation::print
(std::ostream &myCout)
const
{
35
myCout <<
"\n L1GtConditionEvaluation print...\n"
<< std::endl;
36
myCout <<
" Maximum number of objects in condition: "
<<
m_condMaxNumberObjects
<< std::endl;
37
myCout <<
" Condition result: "
<<
m_condLastResult
<< std::endl;
38
39
CombinationsInCond::const_iterator itVV;
40
std::ostringstream myCout1;
41
42
for
(itVV = (
m_combinationsInCond
).
begin
(); itVV != (
m_combinationsInCond
).
end
(); itVV++) {
43
myCout1 <<
"( "
;
44
45
std::copy
((*itVV).begin(), (*itVV).end(), std::ostream_iterator<int>(myCout1,
" "
));
46
47
myCout1 <<
"); "
;
48
}
49
50
myCout <<
"\n List of combinations passing all requirements for this "
51
"condition: \n "
52
<< myCout1.str() <<
" \n"
53
<< std::endl;
54
}
filterCSVwithJSON.copy
copy
Definition:
filterCSVwithJSON.py:36
L1GtConditionEvaluation::print
virtual void print(std::ostream &myCout) const
print condition
Definition:
L1GtConditionEvaluation.cc:34
L1GtConditionEvaluation::m_combinationsInCond
CombinationsInCond m_combinationsInCond
store all the object combinations evaluated to true in the condition
Definition:
L1GtConditionEvaluation.h:102
end
#define end
Definition:
vmac.h:39
L1GtConditionEvaluation::m_condLastResult
bool m_condLastResult
the last result of evaluateCondition()
Definition:
L1GtConditionEvaluation.h:99
L1GtConditionEvaluation.h
L1GtConditionEvaluation::m_condMaxNumberObjects
int m_condMaxNumberObjects
Definition:
L1GtConditionEvaluation.h:96
L1GlobalTriggerObjectMapFwd.h
begin
#define begin
Definition:
vmac.h:32
Generated for CMSSW Reference Manual by
1.8.16