#include <StMuTrack.h>
Public Member Functions | |
| StMuTrack (const StEvent *, const StTrack *, const StVertex *, int index2Global=-2, int index2RichSpectra=-2, bool l3=false, TObjArray *vtx_list=0) | |
| default constructor | |
| short | id () const |
| Returns the track id(or key), is unique for a track node, i.e. global and primary tracks have the same id. | |
| short | type () const |
| Returns the track type: 0=global, 1=primary, etc (see StEvent manual for type information). | |
| short | flag () const |
| Returns flag, (see StEvent manual for type information). | |
| UInt_t | flagExtension () const |
| int | bad () const |
| int | index2Global () const |
| Returns index of associated global track. If not in order can be set with StMuDst::fixTrackIndeces() (but is taken care of in StMuDstReader.). | |
| int | index2Cov () const |
| int | index2RichSpectra () const |
| Returns index of associated rich spectra. | |
| int | index2BTofHit () const |
| int | vertexIndex () const |
| dongx | |
| const StMuTrack * | globalTrack () const |
| Returns pointer to associated global track. Null pointer if no global track available. | |
| const StMuTrack * | primaryTrack () const |
| Returns pointer to associated primary track. Null pointer if no global track available. | |
| const StRichSpectra * | richSpectra () const |
| Returns pointer to associated rich spectra. Null pointer if no global track available. | |
| const StMuBTofHit * | tofHit () const |
| unsigned short | nHits () const |
| dongx | |
| unsigned short | nHitsPoss () const |
| Return number of possible hits on track. | |
| unsigned short | nHitsPoss (StDetectorId) const |
| Return number of possible hits on track. | |
| unsigned short | nHitsDedx () const |
| Return number of hits used for dEdx. | |
| unsigned short | nHitsFit () const |
| Return total number of hits used in fit. | |
| unsigned short | nHitsFit (StDetectorId) const |
| Return number of hits used in fit. | |
| double | pidProbElectron () const |
| Returns Aihong's probability of being an electron. | |
| double | pidProbPion () const |
| Returns Aihong's probability of being a pion. | |
| double | pidProbKaon () const |
| Returns Aihong's probability of being a kaon. | |
| double | pidProbProton () const |
| Returns Aihong's probability of being a proton. | |
| double | nSigmaElectron () const |
| Returns Craig's distance to the calculated dE/dx band for electrons in units of sigma. | |
| double | nSigmaPion () const |
| Returns Craig's distance to the calculated dE/dx band for pions in units of sigma. | |
| double | nSigmaKaon () const |
| Returns Craig's distance to the calculated dE/dx band for kaons in units of sigma. | |
| double | nSigmaProton () const |
| Returns Craig's distance to the calculated dE/dx band for protons in units of sigma. | |
| double | dEdx () const |
| Returns measured dE/dx value. | |
| double | chi2 () const |
| Returns chi2 of fit. | |
| double | chi2prob () const |
| Returns probability of fit. | |
| double | chi2xy () const |
| Returns chi2 of fit. ATTENTIONS: does not return xy chi2 (historic). | |
| double | chi2z () const |
| Returns probability of fit. ATTENTIONS: does not return z chi2 (historic). | |
| double | pt () const |
| Returns pT at point of dca to primary vertex. | |
| double | phi () const |
| Returns phi at point of dca to primary vertex. | |
| double | eta () const |
| Returns pseudo rapidity at point of dca to primary vertex. | |
| double | length () const |
| Returns length of track (cm) from primary vertex to last measured point. | |
| double | lengthMeasured () const |
| Returns length of track (cm) from first to last measured point. | |
| StTrackTopologyMap | topologyMap () const |
| Returns topology map. | |
| Short_t | charge () const |
| Returns charge. | |
| const StThreeVectorF & | p () const |
| Returns 3-momentum at dca to primary vertex. | |
| const StThreeVectorF & | momentum () const |
| Returns 3-momentum at dca to primary vertex. | |
| StThreeVectorF | dca (Int_t vtx_id=-1) const |
| Returns 3D distance of closest approach to primary vertex. | |
| StThreeVectorF | dcaGlobal (Int_t vtx_id=-1) const |
| Returns 3D distance of closest approach to primary vertex of associated global track. | |
| Float_t | dcaD (Int_t vtx_id=-1) const |
| Signed radial component of global DCA (projected). | |
| Float_t | dcaZ (Int_t vtx_id=-1) const |
| Z component of global DCA. | |
| const StThreeVectorF & | firstPoint () const |
| Returns positions of first measured point. | |
| const StThreeVectorF & | lastPoint () const |
| Returns positions of last measured point. | |
| StPhysicalHelixD | helix () const |
| Returns inner helix (first measured point). | |
| StPhysicalHelixD | outerHelix () const |
| Returns outer helix (last measured point). | |
| const StMuProbPidTraits & | probPidTraits () const |
| Returns Yuri Fisyak new pid probabilities. | |
| const StMuBTofPidTraits & | btofPidTraits () const |
| void | setBTofPidTraits (const StMuBTofPidTraits &pid) |
| dongx | |
| virtual void | Print (Option_t *option="") const |
| Print track info. | |
| void | setIndex2BTofHit (int i) |
| void | setIndex2Cov (int i) |
| dongx | |
| TArrayI | getTower (bool useExitRadius=false, int det=1) const |
| double | energyBEMC () const |
| bool | matchBEMC () const |
| Int_t | idTruth () const |
| Int_t | qaTruth () const |
| Int_t | idParentVx () const |
| void | setIdTruth (Int_t idtru, Int_t qatru=0) |
| void | setIdParentVx (Int_t id) |
Static Public Member Functions | |
| static void | setProbabilityPidAlgorithm (StuProbabilityPidAlgorithm *) |
| dongx | |
| static void | setProbabilityPidCentrality (double cent) |
| Sets the centrality for calculating Aihong's pid. | |
Protected Member Functions | |
| void | setIndex2Global (int i) |
| Set index of associated global track. | |
| void | setIndex2RichSpectra (int i) |
| Set index of associated rich spectra. | |
| void | setVertexIndex (int i) |
| Set index of primary vertex for which dca is stored. | |
| StThreeVectorF | dca (const StThreeVectorF &pos) const |
| Calculate dca to a given point. | |
| StThreeVectorD | dca (const StTrack *, const StVertex *vertex) const |
| Helper function: Calculates dca from a given StTrack and the primary vertex taken from StEvent. | |
| StThreeVectorD | momentumAtPrimaryVertex (const StEvent *event, const StTrack *track, const StVertex *vertex) const |
| Helper function: Calculates the momentum at dca a given StTrack and the primary vertex taken from StEvent. | |
| void | fillMuProbPidTraits (const StEvent *, const StTrack *) |
| Helper function to fill all the different pid values. | |
| void | fillMuBTofPidTraits (const StTrack *) |
Protected Attributes | |
| Short_t | mId |
| Short_t | mType |
| Short_t | mFlag |
| UInt_t | mFlagExtension |
| Int_t | mIndex2Global |
| Int_t | mIndex2RichSpectra |
| Int_t | mIndex2BTofHit |
| Int_t | mVertexIndex |
| UChar_t | mNHits |
| UChar_t | mNHitsPoss |
| UChar_t | mNHitsDedx |
| UChar_t | mNHitsFit |
| UChar_t | mNHitsPossInner |
| UChar_t | mNHitsFitInner |
| UChar_t | mNHitsPossTpc |
| UChar_t | mNHitsFitTpc |
| UShort_t | mPidProbElectron |
| UShort_t | mPidProbPion |
| UShort_t | mPidProbKaon |
| UShort_t | mPidProbProton |
| Int_t | mNSigmaElectron |
| Int_t | mNSigmaPion |
| Int_t | mNSigmaKaon |
| Int_t | mNSigmaProton |
| Float_t | mdEdx |
| Float_t | mChiSqXY |
| Float_t | mChiSqZ |
| Float_t | mPt |
| Float_t | mEta |
| Float_t | mPhi |
| StTrackTopologyMap | mTopologyMap |
| StThreeVectorF | mP |
| StThreeVectorF | mDCA |
| StThreeVectorF | mDCAGlobal |
| StThreeVectorF | mFirstPoint |
| StThreeVectorF | mLastPoint |
| StMuHelix | mHelix |
| StMuHelix | mOuterHelix |
| StMuProbPidTraits | mProbPidTraits |
| Class holding the new Yuri Fisyak pid probabilities. | |
| StMuBTofPidTraits | mBTofPidTraits |
| Int_t | mIndex2Cov |
| dongx | |
| UShort_t | mIdTruth |
| UShort_t | mQuality |
| Int_t | mIdParentVx |
Static Protected Attributes | |
| static StuProbabilityPidAlgorithm * | mProbabilityPidAlgorithm = 0 |
| dongx | |
| static double | mProbabilityPidCentrality = 0 |
| Centrality for Aihong's pid prob calculations. Will set when new StMuEvent is made from StEvent. | |
Friends | |
| class | StMuDst |
| class | StMuDstFilterMaker |
| class | StMuMomentumShiftMaker |
Definition at line 53 of file StMuTrack.h.
| StMuTrack::StMuTrack | ( | const StEvent * | event, | |
| const StTrack * | track, | |||
| const StVertex * | vertex, | |||
| int | index2Global = -2, |
|||
| int | index2RichSpectra = -2, |
|||
| bool | l3 = false, |
|||
| TObjArray * | vtx_list = 0 | |||
| ) |
default constructor
constructor from StEvent and StTrack
dongx
Definition at line 40 of file StMuTrack.cxx.
References charge(), dca(), fillMuProbPidTraits(), globalTrack(), momentumAtPrimaryVertex(), mProbabilityPidAlgorithm, and mProbabilityPidCentrality.
| unsigned short StMuTrack::nHits | ( | ) | const [inline] |
| const StMuProbPidTraits & StMuTrack::probPidTraits | ( | ) | const [inline] |
Returns Yuri Fisyak new pid probabilities.
inline StPhysicalHelixD StMuTrack::helix() const {return mHelix;} inline StPhysicalHelixD StMuTrack::outerHelix() const {return mOuterHelix;}
Definition at line 224 of file StMuTrack.h.
References mProbPidTraits.
Referenced by fillMuProbPidTraits().
| void StMuTrack::setIndex2Cov | ( | int | i | ) | [inline] |
dongx
Set index of associated DCA geoemtry for the global track.
Definition at line 116 of file StMuTrack.h.
References mIndex2Cov.
Referenced by StMuDstMaker::addTrack().
| void StMuTrack::setProbabilityPidAlgorithm | ( | StuProbabilityPidAlgorithm * | p | ) | [inline, static] |
dongx
Sets the StuProbabilityPidAlgorithm. Important in order to calculate Aihong's pids.
Definition at line 226 of file StMuTrack.h.
References mProbabilityPidAlgorithm.
Referenced by StMuDstMaker::fill().
| int StMuTrack::vertexIndex | ( | ) | const |
dongx
Returns index of associated primary vertex.
Definition at line 543 of file StMuTrack.cxx.
References StMuDst::event(), primaryTrack(), type(), and vertexIndex().
Referenced by vertexIndex().
StuProbabilityPidAlgorithm * StMuTrack::mProbabilityPidAlgorithm = 0 [static, protected] |
dongx
StuProbabilityPidAlgorithm, we will use the same algorithm for all tracks
Definition at line 182 of file StMuTrack.h.
Referenced by setProbabilityPidAlgorithm(), and StMuTrack().
1.5.9