AliRoot Core  ee782a0 (ee782a0)
AliSurveyPoint.h
Go to the documentation of this file.
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 
8 // //
9 // class AliSurveyPoint //
10 // Retrieve and Convert survey data into ROOT Objects //
11 // //
13 
14 #include <TObject.h>
15 #include <TString.h>
16 
17 class AliSurveyPoint: public TObject {
18 
19  public:
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() const {return fPointName;};
27  Float_t GetX() const {return fX;};
28  Float_t GetY() const {return fY;};
29  Float_t GetZ() const {return fZ;};
30  Float_t GetPrecisionX() const {return fPrecisionX;};
31  Float_t GetPrecisionY() const {return fPrecisionY;};
32  Float_t GetPrecisionZ() const {return fPrecisionZ;};
33  Char_t GetType() const {return fType;};
34  Bool_t GetTarget() const {return fTargetUsed;};
35 
36  // Overwritten to enable the use of TObjArray::FindObject()
37  virtual const char* GetName() const {return fPointName.Data();};
38 
39  void PrintPoint();
40 
41  private:
42  TString fPointName; // Point name used by the survey group (TS/SU)
43  Float_t fX; // X Coordinate
44  Float_t fY; // Y Coordinate
45  Float_t fZ; // Z Coordinate
46  Float_t fPrecisionX; // Precision in the X axis
47  Float_t fPrecisionY; // Precision in the Y axis
48  Float_t fPrecisionZ; // Precision in the Z axis
49  Char_t fType; // Type of point: M(easured), T(ransformed)
50  Bool_t fTargetUsed; // Was a survey target used to measure this point?
51  // If yes, the user must take that into account
52 
53  ClassDef(AliSurveyPoint, 1);
54 };
55 
56 #endif
Float_t GetPrecisionY() const
Float_t GetZ() const
Float_t GetX() const
virtual const char * GetName() const
TString fPointName
Bool_t GetTarget() const
Float_t fPrecisionZ
Float_t fPrecisionY
Float_t GetPrecisionZ() const
Char_t GetType() const
virtual ~AliSurveyPoint()
TString GetPointName() const
Float_t GetPrecisionX() const
Float_t fPrecisionX
Float_t GetY() const