10 |
|
Ntotal=0; |
11 |
|
} |
12 |
|
|
13 |
+ |
void Selection::resetCutFlow(){ |
14 |
+ |
Ntotal=0; |
15 |
+ |
for(unsigned int i=0; i<m_cuts.size(); ++i){ |
16 |
+ |
m_cutflow[i]=0; |
17 |
+ |
} |
18 |
+ |
} |
19 |
+ |
|
20 |
|
void Selection::addSelectionModule(SelectionModule* sel){ |
21 |
+ |
m_logger << DEBUG << "Adding selection module: " << sel->description() << SLogger::endmsg; |
22 |
|
m_cuts.push_back(sel); |
23 |
|
m_cutflow.push_back(0); |
24 |
|
} |
49 |
|
return false; |
50 |
|
} |
51 |
|
|
52 |
+ |
bool Selection::passSelection(){ |
53 |
+ |
ObjectHandler* objs = ObjectHandler::Instance(); |
54 |
+ |
BaseCycleContainer* bcc = objs->GetBaseCycleContainer(); |
55 |
+ |
return passSelection(bcc); |
56 |
+ |
} |
57 |
+ |
|
58 |
+ |
bool Selection::passInvertedSelection(){ |
59 |
+ |
ObjectHandler* objs = ObjectHandler::Instance(); |
60 |
+ |
BaseCycleContainer* bcc = objs->GetBaseCycleContainer(); |
61 |
+ |
return passInvertedSelection(bcc); |
62 |
+ |
} |
63 |
+ |
|
64 |
|
void Selection::printCutFlow(){ |
65 |
|
|
66 |
|
using namespace std; |