ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillMitTree.h
Revision: 1.4
Committed: Tue Jun 24 14:25:46 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.3: +2 -2 lines
Log Message:
Cleanup

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillMitTree.h,v 1.3 2008/06/19 16:53:43 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&);
29 ~FillMitTree();
30
31 void analyze (const edm::Event&, const edm::EventSetup&);
32 void beginJob(const edm::EventSetup&);
33 void endJob();
34
35 private:
36 bool configure(const edm::ParameterSet&);
37 std::vector<BaseFiller*> fillers_; // list of active fillers
38 };
39 }
40 #endif