09-jul-2001 NvE Support for impact points and user identifier introduced in AliTrack.
[u/mrichter/AliRoot.git] / RALICE / AliPosition.h
CommitLineData
d88f97cc 1#ifndef ALIPOSITION_H
2#define ALIPOSITION_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
f531a546 6// $Id$
3da30618 7
d88f97cc 8#include <iostream.h>
9#include <math.h>
10
11#include "TObject.h"
12#include "TString.h"
13
14#include "Ali3Vector.h"
15
16class AliPosition : public Ali3Vector
17{
18 public:
959fbac5 19 AliPosition(); // Default constructor
20 virtual ~AliPosition(); // Destructor
21 virtual void SetPosition(Double_t* r,TString f); // Store position r in frame f
22 virtual void GetPosition(Double_t* r,TString f); // Provide position r in frame f
23 virtual void SetPosition(Float_t* r,TString f); // Store position r in frame f
24 virtual void GetPosition(Float_t* r,TString f); // Provide position r in frame f
25 AliPosition& GetPosition(); // Provide position
26 virtual void SetPosition(Ali3Vector& r); // Store position r
43bfa5be 27 Double_t GetDistance(AliPosition& p); // Provide distance to position p
959fbac5 28 virtual void SetPositionErrors(Double_t* r,TString f); // Store position r in frame f
29 virtual void GetPositionErrors(Double_t* r,TString f); // Provide position r in frame f
30 virtual void SetPositionErrors(Float_t* r,TString f); // Store position r in frame f
31 virtual void GetPositionErrors(Float_t* r,TString f); // Provide position r in frame f
d88f97cc 32
959fbac5 33 ClassDef(AliPosition,1) // Handling of positions in various reference frames.
d88f97cc 34};
35#endif