ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillMitTree.h
Revision: 1.1
Committed: Wed Jun 18 13:23:22 2008 UTC (16 years, 10 months ago) by paus
Content type: text/plain
Branch: MAIN
Log Message:
Basic structure of Filling framework.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: $
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 #ifndef TREEFILLER_FILLMITTREE_H
14 #define TREEFILLER_FILLMITTREE_H
15
16 #include "FWCore/Framework/interface/EDAnalyzer.h"
17 #include "FWCore/Framework/interface/Event.h"
18 #include "FWCore/ParameterSet/interface/ParameterSet.h"
19 #include "FWCore/Framework/interface/Frameworkfwd.h"
20 #include "MitAna/DataUtil/interface/TreeWriter.h"
21 #include "MitProd/TreeService/interface/TreeService.h"
22 #include "MitProd/TreeFiller/interface/BaseFiller.h"
23
24 namespace mithep
25 {
26 class FillerGlobalMuons;
27
28 class FillMitTree : public edm::EDAnalyzer
29 {
30 public:
31 FillMitTree(const edm::ParameterSet&);
32 ~FillMitTree();
33
34 void analyze (const edm::Event&, const edm::EventSetup&);
35 void beginJob(edm::EventSetup const&);
36 void endJob ();
37
38 private:
39 // list of our fillers and potential fillers
40 std::vector<BaseFiller*> fillers_;
41 FillerGlobalMuons *fillerGlobalMuons_;
42
43 // parameters for service
44 std::vector<std::string> branchNames_; // names of the fillers to be activated
45 };
46 }
47 #endif