ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMuons.h
Revision: 1.9
Committed: Sun Mar 22 10:00:45 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009a, Mit_009, Mit_008
Changes since 1.8: +3 -3 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.9 // $Id: FillerMuons.h,v 1.8 2009/03/15 11:20:40 loizides Exp $
3 loizides 1.1 //
4     // FillerMuons
5     //
6 loizides 1.8 // Implementation of a filler to fill EDM muons into our mithep::Muon data structure.
7 loizides 1.1 //
8     // Authors: J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.5 #ifndef MITPROD_TREEFILLER_FILLERMUONS_H
12     #define MITPROD_TREEFILLER_FILLERMUONS_H
13 loizides 1.1
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "MitAna/DataUtil/interface/TreeWriter.h"
16     #include "DataFormats/MuonReco/interface/MuonFwd.h"
17     #include "MitAna/DataTree/interface/Collections.h"
18     #include "MitProd/TreeFiller/interface/BaseFiller.h"
19     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
20    
21     namespace mithep
22     {
23     class FillerMuons : public BaseFiller
24     {
25     public:
26 loizides 1.6 FillerMuons(const edm::ParameterSet &cfg, const char *name, bool active=1);
27 loizides 1.1 ~FillerMuons();
28    
29 loizides 1.9 void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31 loizides 1.1
32     private:
33 loizides 1.4 std::string edmName_; //edm name of muons collection
34 loizides 1.8 std::string mitName_; //mit name of Muons
35 loizides 1.4 std::string globalTrackMapName_; //name of imported map wrt global muons
36     std::string staTrackMapName_; //name of imported map wrt sta muons
37     std::string staVtxTrackMapName_; //name of imported map wrt sta vtx muons
38     std::string trackerTrackMapName_; //name of imported map wrt tracker muons
39 bendavid 1.7 std::string muonMapName_; //name of exported muon map
40 loizides 1.4 const mithep::TrackMap *globalTrackMap_; //map wrt global muons
41     const mithep::TrackMap *standaloneTrackMap_; //map wrt standalone muons
42     const mithep::TrackMap *standaloneVtxTrackMap_; //map wrt standalone vertex muons
43     const mithep::TrackMap *trackerTrackMap_; //map wrt tracker track muons
44 bendavid 1.7 mithep::MuonMap *muonMap_; //exported muon map
45 loizides 1.4 mithep::MuonArr *muons_; //array of Muons
46 loizides 1.1 };
47     }
48     #endif