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.1 by paus, Wed Jun 18 13:23:22 2008 UTC vs.
Revision 1.6 by loizides, Tue Jul 1 21:11:47 2008 UTC

# Line 10 | Line 10
10   //
11   // Authors: C.Paus
12   //--------------------------------------------------------------------------------------------------
13 +
14   #ifndef TREEFILLER_FILLMITTREE_H
15   #define TREEFILLER_FILLMITTREE_H
16  
# Line 17 | Line 18
18   #include "FWCore/Framework/interface/Event.h"
19   #include "FWCore/ParameterSet/interface/ParameterSet.h"
20   #include "FWCore/Framework/interface/Frameworkfwd.h"
20 #include "MitAna/DataUtil/interface/TreeWriter.h"
21 #include "MitProd/TreeService/interface/TreeService.h"
21   #include "MitProd/TreeFiller/interface/BaseFiller.h"
22  
23   namespace mithep
24   {
26  class FillerGlobalMuons;
27
25    class FillMitTree : public edm::EDAnalyzer
26    {
27      public:
28 <      FillMitTree(const edm::ParameterSet&);
28 >      FillMitTree(const edm::ParameterSet &cfg);
29        ~FillMitTree();
30  
31 <      void analyze (const edm::Event&, const edm::EventSetup&);
32 <      void beginJob(edm::EventSetup const&);
33 <      void endJob  ();
31 >      void analyze (const edm::Event &e, const edm::EventSetup &es);
32 >      void beginJob(const edm::EventSetup &es);
33 >      void endJob();
34    
35 <    private:
36 <      // list of our fillers and potential fillers
37 <      std::vector<BaseFiller*>  fillers_;
38 <      FillerGlobalMuons        *fillerGlobalMuons_;
39 <      
43 <      // parameters for service
44 <      std::vector<std::string>  branchNames_;   // names of the fillers to be activated
35 >    protected:
36 >      bool configure(const edm::ParameterSet &cfg);
37 >
38 >      std::vector<BaseFiller*> fillers_;       //list of active fillers
39 >      bool                     defactive_;     //default activity flag for fillers
40    };
41   }
42   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines