AliRoot Core  edcc906 (edcc906)
AliESDCosmicTrack.h
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 //
16 //comment
17 //comment
18 //comment
19 //comment
20 //comment
21 //
22 //
23 // Xianguo Lu
24 // lu@physi.uni-heidelberg.de
25 // Xianguo.Lu@cern.ch
26 //
27 
28 
29 #ifndef ALIESDCOSMICTRACK_H
30 #define ALIESDCOSMICTRACK_H
31 
32 #ifndef TVECTOR3_H
33 #include "TVector3.h"
34 #endif
35 
37 {
38  public:
40  AliESDCosmicTrack(const Int_t idUp, const Int_t idLow, const AliExternalTrackParam * trkparUp, const AliExternalTrackParam * trkparLow, const AliExternalTrackParam * parx0Up, const AliExternalTrackParam * parx0Low, const Int_t ncls, const Double_t la, const Double_t chi2, const Double_t vd, const Double_t vz, const Bool_t isreuse, const Double_t findable, const TVector3 innerclusterupper, const TVector3 innerclusterlower);
41  AliESDCosmicTrack(const AliESDCosmicTrack & costrk);
43 
44  virtual ~AliESDCosmicTrack();
45 
49  const TVector3* GetInnerClusterUpper()const{return fInnerClusterUpper;}
50  const TVector3* GetInnerClusterLower()const{return fInnerClusterLower;}
51 
52  Int_t GetESDUpperTrackIndex() const {return fESDtrackIndex[0];}
53  Int_t GetESDLowerTrackIndex() const {return fESDtrackIndex[1];}
54 
55  Int_t GetNCluster() const {return fNCluster;}
56  Double_t GetLeverArm() const {return fLeverArm;}
57  Double_t GetChi2PerCluster() const {return fChi2PerCluster;}
58  Double_t GetImpactD() const {return fImpactD;}
59  Double_t GetImpactZ() const {return fImpactZ;}
60  Bool_t IsReuse() const{return fIsReuse;}
61  Double_t GetMinFindableRatio()const{return fFindableRatio;}
62 
63  private:
64  AliExternalTrackParam *fLowerTrackParam; //trackparameter estimated at lower-outer part of TPC
65  AliExternalTrackParam *fX0UpperTrackParam; //ESD upper trackparam at X=0
66  AliExternalTrackParam *fX0LowerTrackParam; //ESD lower trackparam at X=0
67  TVector3 *fInnerClusterUpper; //innermost TPC cluster, upper
68  TVector3 *fInnerClusterLower; //innermost TPC cluster, lower
69 
70  Int_t fESDtrackIndex[2]; //[0]= ESD track for this object; [1]= ESD track for LowerTrackParma
71 
72  Int_t fNCluster; //number of cls used in fit
73  Double_t fLeverArm; //lever arm
74  Double_t fChi2PerCluster; //chi2/ncls
75  Double_t fImpactD; //2d impact parameter
76  Double_t fImpactZ; //z of impact parameter
77  Bool_t fIsReuse; //true if one of the track from the pair already used in previous pair
78  Double_t fFindableRatio; //min of TPC ncls/nfindablecls of the two tracks
79 
80  ClassDef(AliESDCosmicTrack, 1); //0: only data members derived from AliExternalTrackParam are saved in tree; 1: all are saved!!
81 };
82 
83 #endif
84 
85 
TVector3 * fInnerClusterUpper
const TVector3 * GetInnerClusterUpper() const
AliESDCosmicTrack & operator=(const AliESDCosmicTrack &costrk)
Int_t GetNCluster() const
Int_t GetESDUpperTrackIndex() const
const TVector3 * GetInnerClusterLower() const
Double_t GetMinFindableRatio() const
TVectorD vz
Definition: driftITSTPC.C:87
const AliExternalTrackParam * GetESDUpperTrackParamAt0() const
const AliExternalTrackParam * GetESDLowerTrackParamAt0() const
Double_t chi2
Definition: AnalyzeLaser.C:7
AliExternalTrackParam * fX0UpperTrackParam
AliExternalTrackParam * fX0LowerTrackParam
const AliExternalTrackParam * GetLowerPartner() const
TVector3 * fInnerClusterLower
Double_t GetImpactZ() const
Bool_t IsReuse() const
Double_t GetImpactD() const
Double_t GetLeverArm() const
Int_t GetESDLowerTrackIndex() const
Double_t GetChi2PerCluster() const
AliExternalTrackParam * fLowerTrackParam