ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerTracks.h
Revision: 1.10
Committed: Thu Aug 28 22:21:01 2008 UTC (16 years, 8 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.9: +13 -13 lines
Log Message:
Include stereo layer information in hit pattern, a 21x feature.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.10 // $Id: FillerTracks.h,v 1.9 2008/07/31 13:51:10 bendavid 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.10 void BookDataBlock(TreeWriter &tws);
32     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
33     void InitLayerMap();
34 bendavid 1.8
35 loizides 1.1 private:
36 loizides 1.10 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     std::map<uint32_t,mithep::Track::HitLayer> layerMap_;
45 loizides 1.1 };
46     }
47     #endif