ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/GPetrucc/interface/fwliteHelpers.h
(Generate patch)

Comparing UserCode/GPetrucc/interface/fwliteHelpers.h (file contents):
Revision 1.2 by gpetrucc, Sun Jan 31 10:20:21 2010 UTC vs.
Revision 1.3 by gpetrucc, Sun Jan 31 19:44:41 2010 UTC

# Line 28 | Line 28 | namespace helper {
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) ;
# Line 41 | Line 41 | namespace helper {
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines