StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFtpcTrackToStEvent.hh
1 //StFtpcTrackToStEvent.h
2 /*******************************************************************************
3  *
4  * $Id: StFtpcTrackToStEvent.hh,v 1.6 2005/12/01 23:28:43 oldi Exp $
5  *
6  * Author: Markus D. Oldenburg
7  * (changed version of StiStEventFiller by Manuel Calderon de la Barca Sanchez)
8  *******************************************************************************
9  *
10  *
11  **************************************************************************/
12 #ifndef StFtpcTrackToStEvent_HH
13 #define StFtpcTrackToStEvent_HH
14 #include <map>
15 using std::map;
16 #include "StFtpcPoint.hh"
17 #include "StFtpcTrack.hh"
18 #include "TObjArray.h"
19 
20 class StEvent;
21 class StSPtrVecTrackNode;
22 class StTrackNode;
24 class StTrack;
25 class StFtpcTrack;
26 class StFtpcPoint;
27 class StHelix;
28 class StHelixModel;
29 #include "StPhysicalHelixD.hh"
30 
39 {
40 
41 public:
43  virtual ~StFtpcTrackToStEvent();
44  StEvent* FillEvent(StEvent*, TObjArray*);
45  StEvent* FillEventPrimaries(StEvent*, TObjArray*);
46  void FillDetectorInfo(StTrackDetectorInfo* detInfo, StFtpcTrack* kTrack, Bool_t global = kTRUE);
47  void FillGeometry(StTrack* track, StFtpcTrack* kTrack, bool outer);
48  void FillFitTraits(StTrack* track, StFtpcTrack* kTrack);
49  void FillPidTraits(StTrack* track, StFtpcTrack* kTrack);
50  void FilldEdxInfo(StTrack* track, StFtpcTrack* kTrack);
51  void FillTrack(StTrack* track, StFtpcTrack* kTrack);
52  void FillTopologyMap(StTrack* track, StFtpcTrack* kTrack);
53  unsigned short EncodedStEventFitPoints(StFtpcTrack* kTrack);
54  float ImpactParameter(StFtpcTrack* kTrack);
55  int GetHighestTrackKey(StSPtrVecTrackNode& trNodeVec);
56 
57 private:
58  StEvent* mEvent;
59  TObjArray* mTrackStore;
60  map<StFtpcTrack*, StTrackNode*> mTrkNodeMap;
61 
62  unsigned short mStiEncoded;
63  };
64 
65 #endif
StEvent * FillEvent(StEvent *, TObjArray *)