]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSIOTrack.cxx
40b6d18d2e70ccc1e6c76a8242ba96b7de740037
[u/mrichter/AliRoot.git] / ITS / AliITSIOTrack.cxx
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
9 ClassImp(AliITSIOTrack)
10
11 AliITSIOTrack::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
14   fLab=-3;
15   fTPCLab=-3;   
16   fX=fZ=fY=0.; 
17   fPx=fPy=fPz=0.;
18   fDz=0.;
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; 
22   fMass =0.;
23   fdEdx=0.;
24   fPid=0;
25   fC00=fC10=fC11=fC20=fC21=fC22=fC30=fC31=fC32=fC33=fC40=fC41=fC42=fC43=fC44=0.; 
26
27 }
28    
29
30 void AliITSIOTrack::SetCovMatrix(Double_t C00, Double_t C10, Double_t C11, Double_t C20, Double_t C21, 
31 Double_t C22, Double_t C30, Double_t C31, Double_t C32, Double_t C33, Double_t C40, 
32 Double_t C41, Double_t C42, Double_t C43, Double_t C44){
33 //Origin  A. Badala' and G.S. Pappalardo:  e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
34 // sets the elements of the covariance matrix
35
36   fC00=C00; fC10=C10; fC11=C11; fC20=C20; fC21=C21; fC22=C22; fC30=C30; fC31=C31;
37   fC32=C32; fC33=C33; fC40=C40; fC41=C41; fC42=C42; fC43=C43; fC44=C44; 
38 }
39
40 void AliITSIOTrack::GetCovMatrix(Double_t &C00, Double_t &C10, Double_t &C11,
41 Double_t &C20, Double_t &C21, Double_t &C22, Double_t &C30, Double_t &C31, 
42 Double_t &C32, Double_t &C33, Double_t &C40, Double_t &C41, Double_t &C42, 
43 Double_t &C43, Double_t &C44) const {
44 //Origin  A. Badala' and G.S. Pappalardo:  e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
45 // gets the elements of the covariance matrix
46
47   C00=fC00; C10=fC10; C11=fC11; C20=fC20; C21=fC21; 
48   C22=fC22; C30=fC30; C31=fC31; C32=fC32; C33=fC33;
49   C40=fC40; C41=fC41; C42=fC42; C43=fC43; C44=fC44;  
50 }
51