ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPATMuons.h
Revision: 1.2
Committed: Wed Sep 10 03:30:23 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre1, Mit_006b, Mit_006a, Mit_006, Mit_005, Mit_004
Changes since 1.1: +3 -3 lines
Log Message:
Cleanup

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerPATMuons.h,v 1.1 2008/08/12 10:13:46 sixie Exp $
3 //
4 // FillerPATMuons
5 //
6 // Imlementation of a filler to fill EDM muons into our mithep::Muon data structure.
7 //
8 // Authors: J.Bendavid
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPROD_TREEFILLER_FILLERPATMUONS_H
12 #define MITPROD_TREEFILLER_FILLERPATMUONS_H
13
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 FillerPATMuons : public BaseFiller
24 {
25 public:
26 FillerPATMuons(const edm::ParameterSet &cfg, bool active=1,
27 const TrackMap *globalMap=0, const TrackMap *stdMap=0,
28 const TrackMap *stdVtxMap=0, const TrackMap *trackerMap=0);
29 ~FillerPATMuons();
30
31 void BookDataBlock(TreeWriter &tws);
32 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
33
34 private:
35 std::string edmName_;
36 std::string mitName_;
37 std::string globalTrackMapName_; //name of imported map wrt global muons
38 std::string staTrackMapName_; //name of imported map wrt sta muons
39 std::string staVtxTrackMapName_; //name of imported map wrt sta vtx muons
40 std::string trackerTrackMapName_; //name of imported map wrt tracker muons
41
42 const mithep::TrackMap *globalTrackMap_;
43 const mithep::TrackMap *standaloneTrackMap_;
44 const mithep::TrackMap *standaloneVtxTrackMap_;
45 const mithep::TrackMap *trackerTrackMap_;
46 mithep::MuonArr *muons_;
47 };
48 }
49 #endif