ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMuons.h
Revision: 1.12
Committed: Thu Mar 18 20:21:00 2010 UTC (15 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013
Changes since 1.11: +2 -2 lines
Log Message:
Fix beginrun,beginjob mess

File Contents

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