ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMuons.h
Revision: 1.1
Committed: Tue Jul 1 14:38:33 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Have most of Josh's fillers.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerGlobalMuons.h,v 1.3 2008/06/18 19:17:21 loizides Exp $
3     //
4     // FillerMuons
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_FILLERMUONS_H
12     #define TREEFILLER_FILLERMUONS_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 FillerMuons : public BaseFiller
24     {
25     public:
26     FillerMuons(const edm::ParameterSet &cfg, const TrackMap *globalMap,
27     const TrackMap *stdMap, const TrackMap *stdVtxMap, const TrackMap * trackerMap);
28     ~FillerMuons();
29    
30     void BookDataBlock(TreeWriter &tws);
31     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
32    
33     private:
34     std::string edmName_;
35     std::string mitName_;
36     mithep::MuonArr *muons_;
37     edm::Handle<reco::MuonCollection> muonProduct_;
38     const mithep::TrackMap *globalTrackMap_;
39     const mithep::TrackMap *standaloneTrackMap_;
40     const mithep::TrackMap *standaloneVtxTrackMap_;
41     const mithep::TrackMap *trackerTrackMap_;
42     };
43     }
44     #endif