ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerGlobalMuons.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

# User Rev Content
1 paus 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: $
3     //
4     // FillerGlobalMuons
5     //
6     // Imlementation of a filler to fill global muons into our data structure.
7     //
8     // Authors: C.Paus
9     //--------------------------------------------------------------------------------------------------
10     #ifndef TREEFILLER_FILLERGLOBALMUONS_H
11     #define TREEFILLER_FILLERGLOBALMUONS_H
12    
13     #include "FWCore/ParameterSet/interface/ParameterSet.h"
14     #include "MitAna/DataUtil/interface/TreeWriter.h"
15     #include "MitAna/DataTree/interface/GlobalMuon.h"
16     #include "MitAna/DataTree/interface/Muon.h"
17     #include "MitAna/DataTree/interface/Track.h"
18     #include "MitAna/DataTree/interface/Vector.h"
19     #include "MitProd/TreeService/interface/TreeService.h"
20     #include "MitProd/TreeFiller/interface/BaseFiller.h"
21    
22     namespace mithep
23     {
24     class FillerGlobalMuons : public BaseFiller
25     {
26     public:
27     FillerGlobalMuons(const edm::ParameterSet&);
28     ~FillerGlobalMuons();
29    
30     bool Active () { return active_; }
31     void BookDataBlock(TreeWriter *tws);
32     void FillDataBlock(const edm::Event&, const edm::EventSetup&);
33     void ResolveLinks (const edm::Event&, const edm::EventSetup&);
34    
35     private:
36     mithep::Vector<mithep::GlobalMuon> *muons_;
37     const std::string edmName_;
38     const std::string mitName_;
39     const bool active_;
40     };
41     }
42     #endif