]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSiotrack.cxx
New version with the Bari/Salerno model as default for SPD simulation
[u/mrichter/AliRoot.git] / ITS / AliITSiotrack.cxx
1 ////////////////////////////////////////////////
2 //  Reconstructed point class for set:ITS     //
3 ////////////////////////////////////////////////
4
5 #include <TMatrix.h>
6
7 #include "AliITSiotrack.h"
8
9 ClassImp(AliITSiotrack)
10
11 AliITSiotrack::AliITSiotrack() {
12
13   // default creator
14   fLab=-3; 
15   fX=fZ=fY=0.; 
16   fPx=fPy=fPz=0.;
17   for (Int_t i=0;i<6;i++) {fIdModules[i]=fIdPoints[i]=-1; fIdPoints[i]=-1;}
18   fStateVPhi=0.; fStateVZ=0.; fStateVD=0.; fStateVTgl=0.; fStateVC=0.;
19   fRadius=0.; fCharge=0; 
20   fC00=fC10=fC11=fC20=fC21=fC22=fC30=fC31=fC32=fC33=fC40=fC41=fC42=fC43=fC44=0.;      
21 }
22    
23
24 void AliITSiotrack::SetCovMatrix(Double_t C00, Double_t C10, Double_t C11, Double_t C20, Double_t C21, 
25 Double_t C22, Double_t C30, Double_t C31, Double_t C32, Double_t C33, Double_t C40, 
26 Double_t C41, Double_t C42, Double_t C43, Double_t C44){
27
28   fC00=C00; fC10=C10; fC11=C11; fC20=C20; fC21=C21; fC22=C22; fC30=C30; fC31=C31;
29   fC32=C32; fC33=C33; fC40=C40; fC41=C41; fC42=C42; fC43=C43; fC44=C44; 
30 }
31
32 void AliITSiotrack::GetCovMatrix(Double_t &C00, Double_t &C10, Double_t &C11,
33 Double_t &C20, Double_t &C21, Double_t &C22, Double_t &C30, Double_t &C31, 
34 Double_t &C32, Double_t &C33, Double_t &C40, Double_t &C41, Double_t &C42, 
35 Double_t &C43, Double_t &C44){
36
37   C00=fC00; C10=fC10; C11=fC11; C20=fC20; C21=fC21; 
38   C22=fC22; C30=fC30; C31=fC31; C32=fC32; C33=fC33;
39   C40=fC40; C41=fC41; C42=fC42; C43=fC43; C44=fC44;  
40 }
41