ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerGsfTracks.h
Revision: 1.7
Committed: Thu Jul 31 13:39:57 2008 UTC (16 years, 9 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: MITHEP_2_0_x
Changes since 1.6: +3 -1 lines
Log Message:
Updated fillers for new Track Class changes and added tracker hit info

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.7 // $Id: FillerGsfTracks.h,v 1.6 2008/07/31 12:34:04 loizides Exp $
3 loizides 1.1 //
4     // FillerGsfTracks
5     //
6     // Imlementation of a filler to fill EDM gsf tracks into our mithep::Track data structure.
7     //
8     // Authors: J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef TREEFILLER_FILLERGSFTRACKS_H
12     #define TREEFILLER_FILLERGSFTRACKS_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "MitAna/DataUtil/interface/TreeWriter.h"
16     #include "MitAna/DataTree/interface/Track.h"
17     #include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
18     #include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h"
19     #include "MitAna/DataTree/interface/Collections.h"
20     #include "MitProd/TreeFiller/interface/BaseFiller.h"
21     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
22    
23     namespace mithep
24     {
25     class FillerGsfTracks : public BaseFiller
26     {
27     public:
28 loizides 1.6 FillerGsfTracks(const edm::ParameterSet &cfg, const char *name, bool active=1, const SimParticleMap *sm=0);
29 loizides 1.1 ~FillerGsfTracks();
30    
31     void BookDataBlock(TreeWriter &tws);
32     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
33 bendavid 1.7 void InitLayerMap();
34 loizides 1.1
35     private:
36 loizides 1.6 std::string edmName_; //edm name of gsftracks collection
37     std::string mitName_; //name of Tracks in OAK
38     std::string edmSimAssociationName_; //edm name of sim association map
39     std::string simMapName_; //name of inported map wrt simparts
40     std::string trackMapName_; //name of export map
41     const mithep::SimParticleMap *simMap_; //map wrt simulated particles
42     mithep::Array<mithep::Track> *tracks_; //array of Tracks
43     mithep::GsfTrackMap *trackMap_; //map wrt tracks
44 bendavid 1.7 std::map<uint32_t,mithep::Track::HitLayer> layerMap_;
45 loizides 1.1 };
46     }
47     #endif