1 #ifndef ALI_SURVEY_POINT_H
2 #define ALI_SURVEY_POINT_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /////////////////////////////////////////////////////////////////////
9 // class AliSurveyPoint //
10 // Retrieve and Convert survey data into ROOT Objects //
12 /////////////////////////////////////////////////////////////////////
17 class AliSurveyPoint: public TObject {
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();
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;};
36 // Overwritten to enable the use of TObjArray::FindObject()
37 virtual const char* GetName() const {return fPointName.Data();};
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
53 ClassDef(AliSurveyPoint, 1);