StRoot
1
|
#include <StFtpcTrackToStEvent.hh>
Public Member Functions | |
StEvent * | FillEvent (StEvent *, TObjArray *) |
StEvent * | FillEventPrimaries (StEvent *, TObjArray *) |
void | FillDetectorInfo (StTrackDetectorInfo *detInfo, StFtpcTrack *kTrack, Bool_t global=kTRUE) |
void | FillGeometry (StTrack *track, StFtpcTrack *kTrack, bool outer) |
void | FillFitTraits (StTrack *track, StFtpcTrack *kTrack) |
void | FillPidTraits (StTrack *track, StFtpcTrack *kTrack) |
void | FilldEdxInfo (StTrack *track, StFtpcTrack *kTrack) |
void | FillTrack (StTrack *track, StFtpcTrack *kTrack) |
void | FillTopologyMap (StTrack *track, StFtpcTrack *kTrack) |
unsigned short | EncodedStEventFitPoints (StFtpcTrack *kTrack) |
float | ImpactParameter (StFtpcTrack *kTrack) |
int | GetHighestTrackKey (StSPtrVecTrackNode &trNodeVec) |
StFtpcTrackToStEvent is a utilitity class meant to properly convert StFtpcTrack objects into StTrack (Global/Primary) objects and hang these on the StEvent Track-node.
Definition at line 38 of file StFtpcTrackToStEvent.hh.
Algorithm: Loop over all tracks in the TObjArray of StFtpcTracks, doing for each track:
In addition to the StGlobalTrack, we need to create the following objects (owned by it): StTrackTopologyMap StTrackFitTraits StTrackGeometry (2 are needed, one at first point, one at last point) (note: StHelixModel is implementation of the StTrackGeometry abstract class)
The track also owns a container of PidTraits, this algorithm will not fill this container.
And set up links to: StTrackDetectorInfo (owned by StEvent, StSPtrVecTrackDetectorInfo) StTrackNode (owned by StEvent, StSPtrVecTrackNode) These links are track -> detector info track <-> track node
The creation of the various objects needed by StGlobalTrack are taken care of in the methods: FillTopologyMap(), FillGeometry(), FillFitTraits(), which are called within FillGlobalTrack().
Definition at line 84 of file StFtpcTrackToStEvent.cc.
Referenced by StFtpcTrackMaker::Make().