ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerTracks.h
Revision: 1.9
Committed: Thu Jul 31 13:51:10 2008 UTC (16 years, 9 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: MITHEP_2_0_x
Changes since 1.8: +0 -1 lines
Log Message:
Removed warning now that filler is consistant with Track class again

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.8 // $Id: FillerTracks.h,v 1.7 2008/07/31 12:34:04 loizides Exp $
3 loizides 1.1 //
4     // FillerTracks
5     //
6     // Imlementation of a filler to fill EDM tracks into our mithep::Track data structure.
7     //
8 bendavid 1.8 //
9 loizides 1.1 // Authors: J.Bendavid, C.Loizides
10     //--------------------------------------------------------------------------------------------------
11    
12     #ifndef TREEFILLER_FILLERTRACKS_H
13     #define TREEFILLER_FILLERTRACKS_H
14    
15     #include "FWCore/ParameterSet/interface/ParameterSet.h"
16     #include "DataFormats/TrackReco/interface/TrackFwd.h"
17     #include "MitAna/DataUtil/interface/TreeWriter.h"
18     #include "MitAna/DataTree/interface/Collections.h"
19 bendavid 1.8 #include "MitAna/DataTree/interface/Track.h"
20 loizides 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
21     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
22    
23     namespace mithep
24     {
25     class FillerTracks : public BaseFiller
26     {
27     public:
28 loizides 1.7 FillerTracks(const edm::ParameterSet &cfg, const char *name, bool active=1);
29 loizides 1.1 ~FillerTracks();
30    
31 loizides 1.4 void BookDataBlock(TreeWriter &tws);
32     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
33 bendavid 1.8 void InitLayerMap();
34    
35 loizides 1.1 private:
36 loizides 1.7 std::string edmName_; //edm name of tracks 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::TrackArr *tracks_; //array of Tracks
43     mithep::TrackMap *trackMap_; //map wrt tracks
44 bendavid 1.8 std::map<uint32_t,mithep::Track::HitLayer> layerMap_;
45 loizides 1.1 };
46     }
47     #endif