ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerTracks.h
Revision: 1.7
Committed: Thu Jul 31 12:34:04 2008 UTC (16 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.6: +10 -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.7 // $Id: FillerTracks.h,v 1.6 2008/07/08 12:38:20 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     // Authors: J.Bendavid, C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef TREEFILLER_FILLERTRACKS_H
12     #define TREEFILLER_FILLERTRACKS_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "DataFormats/TrackReco/interface/TrackFwd.h"
16     #include "MitAna/DataUtil/interface/TreeWriter.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 FillerTracks : public BaseFiller
24     {
25     public:
26 loizides 1.7 FillerTracks(const edm::ParameterSet &cfg, const char *name, bool active=1);
27 loizides 1.1 ~FillerTracks();
28    
29 loizides 1.4 void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31 loizides 1.1
32     private:
33 loizides 1.7 std::string edmName_; //edm name of tracks collection
34     std::string mitName_; //name of Tracks in OAK
35     std::string edmSimAssociationName_; //edm name of sim association map
36     std::string simMapName_; //name of inported map wrt simparts
37     std::string trackMapName_; //name of export map
38     const mithep::SimParticleMap *simMap_; //map wrt simulated particles
39     mithep::TrackArr *tracks_; //array of Tracks
40     mithep::TrackMap *trackMap_; //map wrt tracks
41 loizides 1.1 };
42     }
43     #endif