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

Comparing UserCode/MitProd/TreeFiller/interface/FillMitTree.h (file contents):
Revision 1.6 by loizides, Tue Jul 1 21:11:47 2008 UTC vs.
Revision 1.9 by loizides, Wed Sep 10 03:30:22 2008 UTC

# Line 11 | Line 11
11   // Authors: C.Paus
12   //--------------------------------------------------------------------------------------------------
13  
14 < #ifndef TREEFILLER_FILLMITTREE_H
15 < #define TREEFILLER_FILLMITTREE_H
14 > #ifndef MITPROD_TREEFILLER_FILLMITTREE_H
15 > #define MITPROD_TREEFILLER_FILLMITTREE_H
16  
17   #include "FWCore/Framework/interface/EDAnalyzer.h"
18   #include "FWCore/Framework/interface/Event.h"
19   #include "FWCore/ParameterSet/interface/ParameterSet.h"
20   #include "FWCore/Framework/interface/Frameworkfwd.h"
21 < #include "MitProd/TreeFiller/interface/BaseFiller.h"
21 > #include "MitProd/ObjectService/interface/ObjectService.h"
22  
23   namespace mithep
24   {
25 +  class BaseFiller;
26 +
27    class FillMitTree : public edm::EDAnalyzer
28    {
29      public:
# Line 31 | Line 33 | namespace mithep
33        void analyze (const edm::Event &e, const edm::EventSetup &es);
34        void beginJob(const edm::EventSetup &es);
35        void endJob();
36 <  
36 >
37 >      static ObjectService *os() { return os_; }
38 >
39      protected:
40 +      bool addActiveFiller(BaseFiller *bf);
41        bool configure(const edm::ParameterSet &cfg);
42  
43        std::vector<BaseFiller*> fillers_;       //list of active fillers
44        bool                     defactive_;     //default activity flag for fillers
45 +      static ObjectService    *os_;            //object service (set in beginJob)
46    };
47   }
48   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines