5 |
|
#include <TString.h> |
6 |
|
#include "Objects.h" |
7 |
|
#include "BaseCycleContainer.h" |
8 |
< |
#include "ObjectHandler.h" |
8 |
> |
#include "EventCalc.h" |
9 |
|
#include "../../core/include/SLogger.h" |
10 |
|
|
11 |
|
/** |
57 |
|
bool passSelection(BaseCycleContainer *bcc); |
58 |
|
bool passInvertedSelection(BaseCycleContainer *bcc); |
59 |
|
/** |
60 |
< |
* same as passSelection(BaseCycleContainer *bcc) but takes BaseCycleContainer from ObjectHandler |
60 |
> |
* same as passSelection(BaseCycleContainer *bcc) but takes BaseCycleContainer from EventCalc |
61 |
|
* @see passSelection(BaseCycleContainer *bcc) |
62 |
|
*/ |
63 |
|
bool passSelection(); |
64 |
|
bool passInvertedSelection(); |
65 |
|
|
66 |
+ |
/** |
67 |
+ |
* enable or disable the selection, the selection is enabled by default |
68 |
+ |
*/ |
69 |
+ |
void DisableSelection(){m_isactive = false;} |
70 |
+ |
void EnableSelection(){m_isactive = true;} |
71 |
+ |
bool IsActive(){return m_isactive;} |
72 |
+ |
|
73 |
|
/// print the cut-flow table for the booked SelectionModules, to be called in the EndInputData routine of a cycle |
74 |
|
void printCutFlow(); |
75 |
|
|
82 |
|
std::vector<SelectionModule*> m_cuts; |
83 |
|
std::vector<int> m_cutflow; |
84 |
|
int Ntotal; |
85 |
+ |
bool m_isactive; |
86 |
|
|
87 |
|
}; |
88 |
|
|