]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliSurveyPoint.h
Classes to import survey data added.
[u/mrichter/AliRoot.git] / STEER / AliSurveyPoint.h
1 #ifndef ALI_SURVEY_POINT_H
2 #define ALI_SURVEY_POINT_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /////////////////////////////////////////////////////////////////////
8 //                                                                 //
9 //  class AliSurveyPoint                                           //
10 //  Retrieve and Convert survey data into ROOT Objects             //
11 //                                                                 //
12 /////////////////////////////////////////////////////////////////////
13
14 #include <TObject.h>
15 #include <TString.h>
16
17 class AliSurveyPoint: public TObject {
18
19  public:
20   AliSurveyPoint();
21   AliSurveyPoint(TString name, Float_t x, Float_t y, Float_t z,
22                  Float_t precX, Float_t precY, Float_t precZ, 
23                  Char_t type, Bool_t Target);
24   virtual ~AliSurveyPoint();
25   
26   TString GetPointName() {return fPointName;};
27   Float_t GetX() {return fX;};
28   Float_t GetY() {return fY;};
29   Float_t GetZ() {return fZ;};
30   Float_t GetPrecisionX() {return fPrecisionX;};
31   Float_t GetPrecisionY() {return fPrecisionY;};
32   Float_t GetPrecisionZ() {return fPrecisionZ;};
33   Char_t GetType() {return fType;};
34   Bool_t GetTarget() {return fTargetUsed;};
35   
36   void PrintPoint();
37   
38  private:
39   TString fPointName;
40   Float_t fX;
41   Float_t fY;
42   Float_t fZ;
43   Float_t fPrecisionX;
44   Float_t fPrecisionY;
45   Float_t fPrecisionZ;
46   Char_t fType;
47   Bool_t fTargetUsed;
48   
49   ClassDef(AliSurveyPoint, 1);
50 };
51
52 #endif