]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/JetCorrel/CorrelTrack.h
Updates from Paul Constantin
[u/mrichter/AliRoot.git] / PWG4 / JetCorrel / CorrelTrack.h
CommitLineData
7488b3de 1#ifndef CORRELTRACK_H
2#define CORRELTRACK_H
c97d2ae1 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
e1b97289 14class 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;}
7488b3de 26 Float_t Dist(CorrelTrack_t * const trk) const;
e1b97289 27
28 void SetTPCEntry(Float_t x, Float_t y, Float_t z) {fTPCx=x; fTPCy=y; fTPCz=z;}
7488b3de 29 virtual void Show() const;
e1b97289 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};
c97d2ae1 36
37#endif