ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerGlobalMuons.h
Revision: 1.2
Committed: Wed Jun 18 14:10:45 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.1: +4 -3 lines
Log Message:
Use Array

File Contents

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