33 |
|
ScannerBase() {} |
34 |
|
ScannerBase(const Reflex::Type &objType) : objType_(objType), ignoreExceptions_(false) {} |
35 |
|
void clearExpressions() { exprs_.clear(); } |
36 |
< |
void addExpression(const char *expr) ; |
37 |
< |
void setCut(const char *cut) ; |
36 |
> |
size_t numberOfExpressions() const { return exprs_.size(); } |
37 |
> |
bool addExpression(const char *expr) ; |
38 |
> |
bool setCut(const char *cut) ; |
39 |
|
void clearCut() { cut_.reset(); } |
40 |
|
|
41 |
< |
/// obj must point to an object of the correct type! |
42 |
< |
bool test(const void *obj) const ; |
43 |
< |
void print(const void *obj) const ; |
41 |
> |
// obj must point to an object of the correct type! |
42 |
> |
bool test(const void *obj) const ; |
43 |
> |
double eval(const void *obj, size_t iexpr = 0) const; |
44 |
> |
void print(const void *obj) const ; |
45 |
> |
|
46 |
|
|
47 |
|
void fill1D(const void *obj, TH1 *hist) const ; |
48 |
|
void fill2D(const void *obj, TH2 *hist2d) const ; |
49 |
+ |
void fillGraph(const void *obj, TGraph *graph) const ; |
50 |
|
void fillProf(const void *obj, TProfile *prof) const ; |
51 |
|
|
52 |
|
void setIgnoreExceptions(bool ignoreThem) { ignoreExceptions_ = ignoreThem; } |