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

Comparing UserCode/MitProd/TreeFiller/interface/BaseFiller.h (file contents):
Revision 1.3 by loizides, Thu Jun 19 16:53:43 2008 UTC vs.
Revision 1.4 by loizides, Fri Jun 20 17:52:57 2008 UTC

# Line 21 | Line 21 | namespace mithep
21    class BaseFiller
22    {
23      public:
24 <      BaseFiller(const edm::ParameterSet&, const char *name);
24 >      BaseFiller(const edm::ParameterSet&, const char *name, bool active=true);
25        virtual ~BaseFiller() {}
26  
27        bool                     Active() const { return active_; }
28 <      virtual void             BookDataBlock(TreeWriter *tws)                           = 0;
28 >      virtual void             BookDataBlock(TreeWriter &tws)                           = 0;
29        virtual void             FillDataBlock(const edm::Event&, const edm::EventSetup&) = 0;
30        const std::string       &Name()   const { return name_; }
31        virtual void             ResolveLinks(const edm::Event&, const edm::EventSetup&)  {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines