]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliESDCosmicTrack.h
skim task first usable version
[u/mrichter/AliRoot.git] / TPC / AliESDCosmicTrack.h
CommitLineData
15d37333 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//#include "AliExternalTrackParam.h"
33
34class AliESDCosmicTrack: public AliExternalTrackParam
35{
36 public:
37 AliESDCosmicTrack();
38 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);
39 AliESDCosmicTrack(const AliESDCosmicTrack & costrk);
40 AliESDCosmicTrack operator=(const AliESDCosmicTrack & costrk);
41
42 virtual ~AliESDCosmicTrack(){}
43
44 Int_t GetESDUpperTrackIndex() const {return fESDtrackIndex[0];}
45 Int_t GetESDLowerTrackIndex() const {return fESDtrackIndex[1];}
46 const AliExternalTrackParam * GetLowerPartner() const {return &fLowerTrackParam;}
47 const AliExternalTrackParam * GetESDUpperTrackParamAt0() const {return &fX0UpperTrackParam;}
48 const AliExternalTrackParam * GetESDLowerTrackParamAt0() const {return &fX0LowerTrackParam;}
49
50 Int_t GetNCluster() const {return fNCluster;}
51 Double_t GetLeverArm() const {return fLeverArm;}
52 Double_t GetChi2PerCluster() const {return fChi2PerCluster;}
53 Double_t GetImpactD() const {return fImpactD;}
54 Double_t GetImpactZ() const {return fImpactZ;}
55 Bool_t IsReuse() const{return fIsReuse;}
56 Double_t GetMinFindableRatio()const{return fFindableRatio;}
57
58 private:
59 Int_t fESDtrackIndex[2]; //[0]= ESD track for this object; [1]= ESD track for LowerTrackParma
60
61 AliExternalTrackParam fLowerTrackParam; //trackparameter estimated at lower-outer part of TPC
62 AliExternalTrackParam fX0UpperTrackParam; //ESD upper trackparam at X=0
63 AliExternalTrackParam fX0LowerTrackParam; //ESD lower trackparam at X=0
64
65
66 Int_t fNCluster; //number of cls used in fit
67 Double_t fLeverArm; //lever arm
68 Double_t fChi2PerCluster; //chi2/ncls
69 Double_t fImpactD; //2d impact parameter
70 Double_t fImpactZ; //z of impact parameter
71 Bool_t fIsReuse; //true if one of the track from the pair already used in previous pair
72 Double_t fFindableRatio; //min of TPC ncls/nfindablecls of the two tracks
73
74 ClassDef(AliESDCosmicTrack, 1); //0: only data members derived from AliExternalTrackParam are saved in tree; 1: all are saved!!
75};
76
77#endif
78
79