]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSIOTrack.cxx
Updated version of some files of tracking V1. New member fMass added. By default...
[u/mrichter/AliRoot.git] / ITS / AliITSIOTrack.cxx
CommitLineData
aecdf013 1////////////////////////////////////////////////
2// Reconstructed point class for set:ITS //
3////////////////////////////////////////////////
4// This class is used to write the tracks information into a file
5// The authors thank Mariana Bondila to have help them to resolve some problems
6
7#include "AliITSIOTrack.h"
8
9ClassImp(AliITSIOTrack)
10
11AliITSIOTrack::AliITSIOTrack() {
12//Origin A. Badala' and G.S. Pappalardo: e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
13// default constructor
0983ac5b 14 fLab=-3;
15 fTPCLab=-3;
aecdf013 16 fX=fZ=fY=0.;
17 fPx=fPy=fPz=0.;
61231d74 18 fDz=0.;
aecdf013 19 for (Int_t i=0;i<6;i++) {fIdModules[i]=fIdPoints[i]=-1; fIdPoints[i]=-1;}
20 fStateVPhi=0.; fStateVZ=0.; fStateVD=0.; fStateVTgl=0.; fStateVC=0.;
21 fRadius=0.; fCharge=0;
f66ae545 22 fC00=fC10=fC11=fC20=fC21=fC22=fC30=fC31=fC32=fC33=fC40=fC41=fC42=fC43=fC44=0.;
23
aecdf013 24}
25
26
27void AliITSIOTrack::SetCovMatrix(Double_t C00, Double_t C10, Double_t C11, Double_t C20, Double_t C21,
28Double_t C22, Double_t C30, Double_t C31, Double_t C32, Double_t C33, Double_t C40,
29Double_t C41, Double_t C42, Double_t C43, Double_t C44){
30//Origin A. Badala' and G.S. Pappalardo: e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
31// sets the elements of the covariance matrix
32
33 fC00=C00; fC10=C10; fC11=C11; fC20=C20; fC21=C21; fC22=C22; fC30=C30; fC31=C31;
34 fC32=C32; fC33=C33; fC40=C40; fC41=C41; fC42=C42; fC43=C43; fC44=C44;
35}
36
37void AliITSIOTrack::GetCovMatrix(Double_t &C00, Double_t &C10, Double_t &C11,
38Double_t &C20, Double_t &C21, Double_t &C22, Double_t &C30, Double_t &C31,
39Double_t &C32, Double_t &C33, Double_t &C40, Double_t &C41, Double_t &C42,
40Double_t &C43, Double_t &C44) const {
41//Origin A. Badala' and G.S. Pappalardo: e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
42// gets the elements of the covariance matrix
43
44 C00=fC00; C10=fC10; C11=fC11; C20=fC20; C21=fC21;
45 C22=fC22; C30=fC30; C31=fC31; C32=fC32; C33=fC33;
46 C40=fC40; C41=fC41; C42=fC42; C43=fC43; C44=fC44;
47}
48