]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/JetCorrel/CorrelTrack.h
72c27a624aa45cbdf05aaa5cf9771a1d463faab2
[u/mrichter/AliRoot.git] / PWG4 / JetCorrel / CorrelTrack.h
1 #ifndef __CORRELTRACK_H__
2 #define __CORRELTRACK_H__
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 /* $Id:  $ */
6
7 //_____________________________________________________
8 // Container class for global tracks
9 // Use CorrelKFTrack_t to reconstruct parent with AliKF
10 //-- Author: Paul Constantin
11  
12 #include "CorrelParticle.h"
13
14 class CorrelTrack_t : public CorrelParticle_t {
15  public:
16   
17   CorrelTrack_t();
18   CorrelTrack_t(Float_t pt, Float_t p, Float_t e, Float_t m, PartType_t i, Float_t x, Float_t y, Float_t z);
19   CorrelTrack_t(const CorrelTrack_t &p);
20   virtual ~CorrelTrack_t() {;}
21   virtual CorrelTrack_t* Copy();
22   
23   Float_t X() const {return fTPCx;}
24   Float_t Y() const {return fTPCy;}
25   Float_t Z() const {return fTPCz;}
26   Float_t Dist(CorrelTrack_t * const trk);
27   
28   void SetTPCEntry(Float_t x, Float_t y, Float_t z) {fTPCx=x; fTPCy=y; fTPCz=z;}
29   virtual void Show();
30   
31  private:
32   Float_t fTPCx;   // x-coord TPC entrance
33   Float_t fTPCy;   // y-coord TPC entrance
34   Float_t fTPCz;   // z-coord TPC entrance
35 };
36
37 #endif