Print removed
[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;
def162f4 22 fMass =0.;
23 fdEdx=0.;
24 fPid=0;
f66ae545 25 fC00=fC10=fC11=fC20=fC21=fC22=fC30=fC31=fC32=fC33=fC40=fC41=fC42=fC43=fC44=0.;
26
aecdf013 27}
28
29
30void AliITSIOTrack::SetCovMatrix(Double_t C00, Double_t C10, Double_t C11, Double_t C20, Double_t C21,
31Double_t C22, Double_t C30, Double_t C31, Double_t C32, Double_t C33, Double_t C40,
32Double_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
40void AliITSIOTrack::GetCovMatrix(Double_t &C00, Double_t &C10, Double_t &C11,
41Double_t &C20, Double_t &C21, Double_t &C22, Double_t &C30, Double_t &C31,
42Double_t &C32, Double_t &C33, Double_t &C40, Double_t &C41, Double_t &C42,
43Double_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