28 |
|
}; |
29 |
|
class ScannerBase { |
30 |
|
public: |
31 |
< |
ScannerBase(const Reflex::Type &objType) : objType_(objType) {} |
31 |
> |
ScannerBase(const Reflex::Type &objType) : objType_(objType), ignoreExceptions_(false) {} |
32 |
|
void clearExpressions() { exprs_.clear(); } |
33 |
|
void addExpression(const char *expr) ; |
34 |
|
void setCut(const char *cut) ; |
41 |
|
void fill1D(const void *obj, TH1 *hist) ; |
42 |
|
void fill2D(const void *obj, TH2 *hist2d) ; |
43 |
|
void fillProf(const void *obj, TProfile *prof) ; |
44 |
+ |
|
45 |
+ |
void setIgnoreExceptions(bool ignoreThem) { ignoreExceptions_ = ignoreThem; } |
46 |
|
private: |
47 |
|
Parser helpme; |
48 |
|
Reflex::Type objType_; |
49 |
|
std::vector<reco::parser::ExpressionPtr> exprs_; |
50 |
|
reco::parser::SelectorPtr cut_; |
51 |
+ |
bool ignoreExceptions_; |
52 |
|
}; |
53 |
|
} |
54 |
|
|