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.4 by gpetrucc, Tue Feb 2 18:11:54 2010 UTC vs.
Revision 1.5 by gpetrucc, Thu Feb 4 10:53:26 2010 UTC

# Line 33 | Line 33 | namespace helper {
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; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines