]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSIOTrack.cxx
Merge branch 'flatdev' of https://git.cern.ch/reps/AliRoot into flatdev
[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
e56160b8 11AliITSIOTrack::AliITSIOTrack():
12fLab(-3),
13fTPCLab(-3),
14fX(0.),
15fY(0.),
16fZ(0.),
17fPx(0.),
18fPy(0.),
19fPz(0.),
20fStateVPhi(0.),
21fStateVZ(0.),
22fStateVD(0.),
23fStateVTgl(0.),
24fStateVC(0.),
25fRadius(0.),
26fPid(0),
27fCharge(0),
28fMass(0.),
29fDz(0.),
30fdEdx(0.),
31fC00(0.),
32fC10(0.),
33fC11(0.),
34fC20(0.),
35fC21(0.),
36fC22(0.),
37fC30(0.),
38fC31(0.),
39fC32(0.),
40fC33(0.),
41fC40(0.),
42fC41(0.),
43fC42(0.),
44fC43(0.),
45fC44(0.) {
aecdf013 46//Origin A. Badala' and G.S. Pappalardo: e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
47// default constructor
f66ae545 48
e56160b8 49 for (Int_t i=0;i<6;i++) {fIdModules[i]=fIdPoints[i]=-1; fIdPoints[i]=-1;}
aecdf013 50}
51
52
53void AliITSIOTrack::SetCovMatrix(Double_t C00, Double_t C10, Double_t C11, Double_t C20, Double_t C21,
54Double_t C22, Double_t C30, Double_t C31, Double_t C32, Double_t C33, Double_t C40,
55Double_t C41, Double_t C42, Double_t C43, Double_t C44){
56//Origin A. Badala' and G.S. Pappalardo: e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
57// sets the elements of the covariance matrix
58
59 fC00=C00; fC10=C10; fC11=C11; fC20=C20; fC21=C21; fC22=C22; fC30=C30; fC31=C31;
60 fC32=C32; fC33=C33; fC40=C40; fC41=C41; fC42=C42; fC43=C43; fC44=C44;
61}
62
63void AliITSIOTrack::GetCovMatrix(Double_t &C00, Double_t &C10, Double_t &C11,
64Double_t &C20, Double_t &C21, Double_t &C22, Double_t &C30, Double_t &C31,
65Double_t &C32, Double_t &C33, Double_t &C40, Double_t &C41, Double_t &C42,
66Double_t &C43, Double_t &C44) const {
67//Origin A. Badala' and G.S. Pappalardo: e-mail Angela.Badala@ct.infn.it, Giuseppe.S.Pappalardo@ct.infn.it
68// gets the elements of the covariance matrix
69
70 C00=fC00; C10=fC10; C11=fC11; C20=fC20; C21=fC21;
71 C22=fC22; C30=fC30; C31=fC31; C32=fC32; C33=fC33;
72 C40=fC40; C41=fC41; C42=fC42; C43=fC43; C44=fC44;
73}
74