StRoot
1
|
#include <StMuTrack.h>
Public Member Functions | |
StMuTrack (const StEvent *, const StTrack *, const StVertex *, Int_t index2Global=-2, Int_t index2RichSpectra=-2, Bool_t l3=false, TObjArray *vtx_list=0) | |
default constructor More... | |
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_t | bad () const |
Int_t | 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_t | index2Cov () const |
Int_t | index2RichSpectra () const |
Returns index of associated rich spectra. | |
Int_t | index2BTofHit () const |
Int_t | index2ETofHit () const |
dongx | |
Int_t | index2MtdHit () const |
Int_t | vertexIndex () const |
Returns index of associated primary vertex. | |
void | setVertexIndex (Int_t i) |
Set index of primary vertex for which dca is stored. | |
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 |
const StMuETofHit * | etofHit () const |
dongx | |
const StMuMtdHit * | mtdHit () const |
UShort_t | nHits () const |
Bingchu. More... | |
UShort_t | nHitsPoss () const |
Return number of possible hits on track. | |
UShort_t | nHitsPoss (StDetectorId) const |
Return number of possible hits on track. | |
UShort_t | nHitsDedx () const |
Return number of hits used for dEdx. | |
UShort_t | nHitsFit () const |
Return total number of hits used in fit. | |
UShort_t | nHitsFit (StDetectorId) const |
Return number of hits used in fit. | |
Double_t | pidProbElectron () const |
Returns Aihong's probability of being an electron. | |
Double_t | pidProbPion () const |
Returns Aihong's probability of being a pion. | |
Double_t | pidProbKaon () const |
Returns Aihong's probability of being a kaon. | |
Double_t | pidProbProton () const |
Returns Aihong's probability of being a proton. | |
Double_t | nSigmaElectron () const |
Returns Craig's distance to the calculated dE/dx band for electrons in units of sigma. | |
Double_t | nSigmaPion () const |
Returns Craig's distance to the calculated dE/dx band for pions in units of sigma. | |
Double_t | nSigmaKaon () const |
Returns Craig's distance to the calculated dE/dx band for kaons in units of sigma. | |
Double_t | nSigmaProton () const |
Returns Craig's distance to the calculated dE/dx band for protons in units of sigma. | |
Double_t | dEdxPull (Double_t mass, Bool_t fit=kFALSE, Int_t charge=1) const |
Double_t | dEdxPullElectronI70 () const |
Double_t | dEdxPullPionI70 () const |
Double_t | dEdxPullKaonI70 () const |
Double_t | dEdxPullProtonI70 () const |
Double_t | dEdxPullElectronFit () const |
Double_t | dEdxPullPionFit () const |
Double_t | dEdxPullKaonFit () const |
Double_t | dEdxPullProtonFit () const |
Double_t | nSigmaElectron70 () const |
Double_t | nSigmaPion70 () const |
Double_t | nSigmaKaon70 () const |
Double_t | nSigmaProton70 () const |
Double_t | nSigmaElectronFit () const |
Double_t | nSigmaPionFit () const |
Double_t | nSigmaKaonFit () const |
Double_t | nSigmaProtonFit () const |
Double_t | dEdx () const |
Returns measured dE/dx value. | |
Double_t | chi2 () const |
Returns chi2 of fit. | |
Double_t | chi2prob () const |
Returns probability of fit. | |
Double_t | chi2xy () const |
Returns chi2 of fit. ATTENTIONS: does not return xy chi2 (historic) | |
Double_t | chi2z () const |
Returns probability of fit. ATTENTIONS: does not return z chi2 (historic) | |
Double_t | pt () const |
Returns pT at point of dca to primary vertex. | |
Double_t | phi () const |
Returns phi at point of dca to primary vertex. | |
Double_t | eta () const |
Returns pseudo rapidity at point of dca to primary vertex. | |
Double_t | length () const |
Returns length of track (cm) from primary vertex to last measured point. | |
Double_t | 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 StMuHelix & | muHelix () const |
Returns inner helix (first measured point) | |
const StMuHelix & | muOuterHelix () const |
Returns outer helix (last measured point) | |
const StMuProbPidTraits & | probPidTraits () const |
Returns Yuri Fisyak new pid probabilities. | |
const StMuBTofPidTraits & | btofPidTraits () const |
const StMuETofPidTraits & | etofPidTraits () const |
dongx | |
const StMuMtdPidTraits & | mtdPidTraits () const |
void | setBTofPidTraits (const StMuBTofPidTraits &pid) |
void | setETofPidTraits (const StMuETofPidTraits &pid) |
dongx | |
void | setMtdPidTraits (const StMuMtdPidTraits &pid) |
virtual void | Print (Option_t *option="") const |
Print track info. | |
void | setIndex2BTofHit (Int_t i) |
void | setIndex2ETofHit (Int_t i) |
dongx | |
void | setIndex2MtdHit (Int_t i) |
void | setIndex2Cov (Int_t i) |
Bingchu. More... | |
TArrayI | getTower (Bool_t useExitRadius=false, Int_t det=1) const |
Double_t | energyBEMC () const |
Bool_t | matchBEMC () const |
Int_t | idTruth () const |
Int_t | qaTruth () const |
Int_t | idParentVx () const |
void | setType (short type) |
void | setIdTruth (Int_t idtru, Int_t qatru=0) |
void | setIdParentVx (Int_t Id) |
Static Public Member Functions | |
static void | setProbabilityPidAlgorithm (StuProbabilityPidAlgorithm *) |
Sets the StuProbabilityPidAlgorithm. Important in order to calculate Aihong's pids. More... | |
static void | setProbabilityPidCentrality (Double_t cent) |
Sets the centrality for calculating Aihong's pid. | |
Protected Member Functions | |
void | setIndex2Global (Int_t i) |
Set index of associated global track. | |
void | setIndex2RichSpectra (Int_t i) |
Set index of associated rich spectra. | |
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 *) |
void | fillMuETofPidTraits (const StTrack *) |
dongx | |
void | fillMuMtdPidTraits (const StTrack *) |
Protected Attributes | |
Int_t | mId |
Short_t | mType |
Short_t | mFlag |
UInt_t | mFlagExtension |
Int_t | mIndex2Global |
Int_t | mIndex2RichSpectra |
Int_t | mIndex2BTofHit |
Int_t | mIndex2MtdHit |
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 |
StMuMtdPidTraits | mMtdPidTraits |
dongx | |
Int_t | mIndex2Cov |
Bingchu. | |
Int_t | mIndex2ETofHit |
StMuETofPidTraits | mETofPidTraits |
UShort_t | mIdTruth |
UShort_t | mQuality |
Int_t | mIdParentVx |
Static Protected Attributes | |
static StuProbabilityPidAlgorithm * | mProbabilityPidAlgorithm =0 |
Bingchu. More... | |
static Double_t | 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 |
Class holding the track properties All unitis are in standard STAR units: GeV,cm Please keep in mind, for primary tracks the first measured point is the primary vertex. This affects dca, length calculations, inner helix.
Definition at line 55 of file StMuTrack.h.
StMuTrack::StMuTrack | ( | const StEvent * | event, |
const StTrack * | track, | ||
const StVertex * | vertex, | ||
Int_t | index2Global = -2 , |
||
Int_t | index2RichSpectra = -2 , |
||
Bool_t | l3 = false , |
||
TObjArray * | vtx_list = 0 |
||
) |
default constructor
constructor from StEvent and StTrack
dongx
Definition at line 46 of file StMuTrack.cxx.
References charge(), dca(), fillMuETofPidTraits(), fillMuProbPidTraits(), momentumAtPrimaryVertex(), THelixTrack::Move(), mProbabilityPidAlgorithm, and mProbabilityPidCentrality.
|
inline |
Bingchu.
Return total number of hits on track.
Definition at line 237 of file StMuTrack.h.
Referenced by StEmcOfflineCalibrationMaker::Make(), and StSkimPionMaker::Make().
|
inline |
Bingchu.
Set index of associated DCA geoemtry for the global track.
Definition at line 148 of file StMuTrack.h.
References mIndex2Cov.
Referenced by StMuDstMaker::addTrack().
|
inlinestatic |
Sets the StuProbabilityPidAlgorithm. Important in order to calculate Aihong's pids.
Bingchu.
Definition at line 267 of file StMuTrack.h.
References mProbabilityPidAlgorithm, and p().
Referenced by StMuDstMaker::fill().
|
staticprotected |
Bingchu.
StuProbabilityPidAlgorithm, we will use the same algorithm for all tracks
Definition at line 220 of file StMuTrack.h.
Referenced by setProbabilityPidAlgorithm(), and StMuTrack().