StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEmcMicroTrack.cxx
1 //###########################################################
2 // EMC Pico Event
3 // Author: Alexandre A. P. Suaide
4 // initial version 08/2001
5 //
6 // See README for details
7 //###########################################################
8 #include "StEmcMicroTrack.h"
9 
10 ClassImp(StEmcMicroTrack)
11 
13 {
14 }
15 StEmcMicroTrack::StEmcMicroTrack(StEmcMicroTrack* track):TObject()
16 {
17  mP = track->getP();
18  mEta = track->getEta();
19  mPhi = track->getPhi();
20  mCurvature = track->getCurvature();
21  for(Int_t i=0;i<3;i++) mX[i]=track->getOrigin(i);
22  mCharge = (Char_t)track->getCharge();
23  mDca = track->getDca();
24  mDcaSigned = track->getDcaSigned();
25  mChi2 = (Int_t)(track->getChi2()*1000.);
26  mFitPts = (Char_t)track->getFitPts();
27  mMaxPts = (Char_t)track->getMaxPts();
28  mNhits = (Char_t)track->getNhits();
29  mDedx = track->getDedx();
30  mDedxErr = track->getDedxErr();
31  mNdedxPts = (Char_t)track->getNdedxPts();
32  mTrackLength = track->getTrackLength();
33  mTrackNode = track->getTrackNode();
34  mFlag = (Char_t)track->getFlag();
35 }
36 StEmcMicroTrack::~StEmcMicroTrack()
37 {
38 }
Float_t getOrigin(Int_t i) const
Return Origin of the track (0=X, 1=Y, 2=Z)
Float_t getChi2() const
Return ChiSquare of the track.
Float_t getPhi() const
Return Phi of the track.
Int_t getNhits() const
Return Number of hits of the track.
Float_t getDcaSigned() const
Return DCA signed of the track.
Short_t getCharge() const
Return Charge of the track.
Float_t getDca() const
Return DCA of the track.
Float_t getDedx() const
Return dE/dX of the track.
Int_t getFitPts() const
Return Number of fit points of the track.
Int_t getMaxPts() const
Return Max number of points of the track.
Float_t getDedxErr() const
Return dE/dX error on mean value.
Float_t getCurvature() const
Return Curvature of the track.
Int_t getNdedxPts() const
Return dE/dX number of points of the track.
Float_t getTrackLength() const
Return track length.
Float_t getP() const
Return P of the track.
Float_t getEta() const
Return Eta of the track.
Int_t getTrackNode() const
Return track node (useful for StEvent Reconstruction)
Int_t getFlag() const
Return flag of the track.