ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPATMuons.h
Revision: 1.1
Committed: Tue Aug 12 10:13:46 2008 UTC (16 years, 8 months ago) by sixie
Content type: text/plain
Branch: MAIN
CVS Tags: MITHEP_2_0_x
Log Message:
add Fillers for PAT electrons and muons.

File Contents

# User Rev Content
1 sixie 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerMuons.h,v 1.3 2008/07/08 12:38:20 loizides 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 TREEFILLER_FILLERPATMUONS_H
12     #define 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