ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillMitTree.h
Revision: 1.5
Committed: Tue Jul 1 14:38:33 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.4: +8 -7 lines
Log Message:
Have most of Josh's fillers.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillMitTree.h,v 1.4 2008/06/24 14:25:46 loizides Exp $
3 //
4 // FillMitTree
5 //
6 // This is the one Edm Module which we use to perform all our actions to properly fill the MitTree.
7 // The general function is that this module handles a list of generic fillers, which are called in
8 // the appropriate places of the Edm Module. We do make sure that first the information is
9 // completely stored and later the necessary links will get resolved.
10 //
11 // Authors: C.Paus
12 //--------------------------------------------------------------------------------------------------
13
14 #ifndef TREEFILLER_FILLMITTREE_H
15 #define 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"
22
23 namespace mithep
24 {
25 class FillMitTree : public edm::EDAnalyzer
26 {
27 public:
28 FillMitTree(const edm::ParameterSet &cfg);
29 ~FillMitTree();
30
31 void analyze (const edm::Event &e, const edm::EventSetup &es);
32 void beginJob(const edm::EventSetup &es);
33 void endJob();
34
35 protected:
36 bool configure(const edm::ParameterSet &cfg);
37
38 std::vector<BaseFiller*> fillers_; // list of active fillers
39 };
40 }
41 #endif