ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMuons.h
Revision: 1.4
Committed: Thu Jul 31 12:34:04 2008 UTC (16 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: MITHEP_2_0_x
Changes since 1.3: +13 -11 lines
Log Message:
Consistently introduced ObjectService. Updated comments. Updated .cfg files. Switched off default handling of Stable and DecayParts (for now). ZmmFullReco.cfg shows how to use standard filler with extensions.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.4 // $Id: FillerMuons.h,v 1.3 2008/07/08 12:38:20 loizides Exp $
3 loizides 1.1 //
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 loizides 1.4 FillerMuons(const edm::ParameterSet &cfg, bool active=1);
27 loizides 1.1 ~FillerMuons();
28    
29     void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31    
32     private:
33 loizides 1.4 std::string edmName_; //edm name of muons collection
34     std::string mitName_; //name of Muons in OAK
35     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     const mithep::TrackMap *globalTrackMap_; //map wrt global muons
40     const mithep::TrackMap *standaloneTrackMap_; //map wrt standalone muons
41     const mithep::TrackMap *standaloneVtxTrackMap_; //map wrt standalone vertex muons
42     const mithep::TrackMap *trackerTrackMap_; //map wrt tracker track muons
43     mithep::MuonArr *muons_; //array of Muons
44 loizides 1.1 };
45     }
46     #endif