Char_t type, Bool_t Target);
virtual ~AliSurveyPoint();
- TString GetPointName() {return fPointName;};
- Float_t GetX() {return fX;};
- Float_t GetY() {return fY;};
- Float_t GetZ() {return fZ;};
- Float_t GetPrecisionX() {return fPrecisionX;};
- Float_t GetPrecisionY() {return fPrecisionY;};
- Float_t GetPrecisionZ() {return fPrecisionZ;};
- Char_t GetType() {return fType;};
- Bool_t GetTarget() {return fTargetUsed;};
-
+ TString GetPointName() const {return fPointName;};
+ Float_t GetX() const {return fX;};
+ Float_t GetY() const {return fY;};
+ Float_t GetZ() const {return fZ;};
+ Float_t GetPrecisionX() const {return fPrecisionX;};
+ Float_t GetPrecisionY() const {return fPrecisionY;};
+ Float_t GetPrecisionZ() const {return fPrecisionZ;};
+ Char_t GetType() const {return fType;};
+ Bool_t GetTarget() const {return fTargetUsed;};
+
+ // Overwritten to enable the use of TObjArray::FindObject()
virtual const char* GetName() const {return fPointName.Data();};
void PrintPoint();
private:
- TString fPointName;
- Float_t fX;
- Float_t fY;
- Float_t fZ;
- Float_t fPrecisionX;
- Float_t fPrecisionY;
- Float_t fPrecisionZ;
- Char_t fType;
- Bool_t fTargetUsed;
+ TString fPointName; // Point name used by the survey group (TS/SU)
+ Float_t fX; // X Coordinate
+ Float_t fY; // Y Coordinate
+ Float_t fZ; // Z Coordinate
+ Float_t fPrecisionX; // Precision in the X axis
+ Float_t fPrecisionY; // Precision in the Y axis
+ Float_t fPrecisionZ; // Precision in the Z axis
+ Char_t fType; // Type of point: M(easured), T(ransformed)
+ Bool_t fTargetUsed; // Was a survey target used to measure this point?
+ // If yes, the user must take that into account
ClassDef(AliSurveyPoint, 1);
};