]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliESDkink.h
Updated version of the TRD calibration files (Alberto)
[u/mrichter/AliRoot.git] / STEER / AliESDkink.h
CommitLineData
51ad6848 1#ifndef ALIESDKINK_H
2#define ALIESDKINK_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9//-------------------------------------------------------------------------
10// ESD V0 Vertex Class
11// This class is part of the Event Summary Data set of classes
12// Origin: Marian Ivanov marian.ivanov@cern.ch
13//-------------------------------------------------------------------------
14
15#include <TObject.h>
16#include "AliExternalTrackParam.h"
17#include <TPDGCode.h>
18
19class AliESDtrack;
20
21class AliESDkink : public TObject {
22public:
23 AliESDkink(); //constructor
24 //
25 void SetID(Int_t id){fID=id;}
26 Int_t GetID(){return fID;}
27 void SetMother(const AliExternalTrackParam & pmother);
28 void SetDaughter(const AliExternalTrackParam & pdaughter);
29 void Update(); //update
30 Float_t GetTPCDensityFactor() const;
31 Float_t GetQt() const;
7c97ee80 32 //
33 Float_t GetR() const {return fRr;}
34 Float_t GetDistance() const {return fDist2;}
35 Int_t GetTPCRow0() const {return fRow0;}
36 Float_t GetAngle(Int_t i) const {return fAngle[i];}
37 const Double_t *GetPosition() const {return fXr;}
38 const Double_t *GetMotherP() const {return fPm;}
39 const Double_t *GetDaughterP() const {return fPdr;}
40 void SetTPCRow0(Int_t row0){fRow0 = row0;}
41 Int_t GetLabel(Int_t i) const {return fLab[i];}
42 void SetLabel(Int_t label, Int_t pos) {fLab[pos]=label;}
43 Int_t GetIndex(Int_t i) const {return fIndex[i];}
44 void SetIndex(Int_t index, Int_t pos){fIndex[pos]=index;}
45 void SetStatus(Int_t status, Int_t pos){fStatus[pos]=status;}
46 Int_t GetStatus(Int_t pos) const {return fStatus[pos];}
47 void SetTPCncls(Int_t ncls,Int_t pos) {fTPCncls[pos]=ncls;}
48 const Int_t *GetTPCncls() const {return fTPCncls;}
49 void SetTPCDensity(Float_t dens, Int_t pos0,Int_t pos1){fTPCdensity[pos0][pos1]=dens;}
50 Float_t GetTPCDensity(Int_t pos0,Int_t pos1) const {return fTPCdensity[pos0][pos1];}
51 void SetTPCDensity2(Float_t dens, Int_t pos0,Int_t pos1){fTPCdensity[pos0][pos1]=dens;}
52 Float_t GetTPCDensity2(Int_t pos0,Int_t pos1) const {return fTPCdensity[pos0][pos1];}
53 Float_t GetShapeFactor() const {return fShapeFactor;}
54 void SetShapeFactor(Float_t factor){fShapeFactor = factor;}
55 void SetMultiple(Int_t mult,Int_t pos){fMultiple[pos]=mult;}
56 const Int_t * GetMultiple() const {return fMultiple;}
51ad6848 57 //
7c97ee80 58 protected:
51ad6848 59 Int_t fID; // kink ID
60 AliExternalTrackParam fParamDaughter;
61 AliExternalTrackParam fParamMother;
62 Double_t fDist1; //info about closest distance according closest MC - linear DCA
63 Double_t fDist2; //info about closest distance parabolic DCA
64 //
65 Double_t fPdr[3]; //momentum at vertex daughter - according approx at DCA
66 Double_t fXr[3]; //rec. position according helix
67 //
68 Double_t fPm[3]; //momentum at the vertex mother
69 Double_t fAngle[3]; //three angles
70 Double_t fRr; // rec position of the vertex
71 Int_t fLab[2]; //MC label of the partecle
72 Int_t fIndex[2]; //reconstructed labels of the tracks
7c97ee80 73 Char_t fStatus[12]; //status of kink - first 4 mother (ITS,TPC,TRD,TOF) other daughter
51ad6848 74 Float_t fTPCdensity[2][2]; //tpc cluster density before and after kink
75 Float_t fTPCdensity2[2][2]; //tpc cluster density before and after kink - after second iteration
76 Float_t fShapeFactor; // tpc clusters shape factor
77 Int_t fRow0; // critical pad row number
78 Int_t fMultiple[2]; //how many times the track's were used
7c97ee80 79 Int_t fTPCncls[2]; //number of clusters for mother particle
80 ClassDef(AliESDkink,2) // ESD V0 vertex
51ad6848 81};
82
83#endif
84
85