ROOT logo
#ifndef ALI_SURVEY_POINT_H
#define ALI_SURVEY_POINT_H

/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/////////////////////////////////////////////////////////////////////
//                                                                 //
//  class AliSurveyPoint					   //
//  Retrieve and Convert survey data into ROOT Objects		   //
//                                                                 //
/////////////////////////////////////////////////////////////////////

#include <TObject.h>
#include <TString.h>

class AliSurveyPoint: public TObject {

 public:
  AliSurveyPoint();
  AliSurveyPoint(TString name, Float_t x, Float_t y, Float_t z,
		 Float_t precX, Float_t precY, Float_t precZ, 
                 Char_t type, Bool_t Target);
  virtual ~AliSurveyPoint();
  
  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; // 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);
};

#endif
 AliSurveyPoint.h:1
 AliSurveyPoint.h:2
 AliSurveyPoint.h:3
 AliSurveyPoint.h:4
 AliSurveyPoint.h:5
 AliSurveyPoint.h:6
 AliSurveyPoint.h:7
 AliSurveyPoint.h:8
 AliSurveyPoint.h:9
 AliSurveyPoint.h:10
 AliSurveyPoint.h:11
 AliSurveyPoint.h:12
 AliSurveyPoint.h:13
 AliSurveyPoint.h:14
 AliSurveyPoint.h:15
 AliSurveyPoint.h:16
 AliSurveyPoint.h:17
 AliSurveyPoint.h:18
 AliSurveyPoint.h:19
 AliSurveyPoint.h:20
 AliSurveyPoint.h:21
 AliSurveyPoint.h:22
 AliSurveyPoint.h:23
 AliSurveyPoint.h:24
 AliSurveyPoint.h:25
 AliSurveyPoint.h:26
 AliSurveyPoint.h:27
 AliSurveyPoint.h:28
 AliSurveyPoint.h:29
 AliSurveyPoint.h:30
 AliSurveyPoint.h:31
 AliSurveyPoint.h:32
 AliSurveyPoint.h:33
 AliSurveyPoint.h:34
 AliSurveyPoint.h:35
 AliSurveyPoint.h:36
 AliSurveyPoint.h:37
 AliSurveyPoint.h:38
 AliSurveyPoint.h:39
 AliSurveyPoint.h:40
 AliSurveyPoint.h:41
 AliSurveyPoint.h:42
 AliSurveyPoint.h:43
 AliSurveyPoint.h:44
 AliSurveyPoint.h:45
 AliSurveyPoint.h:46
 AliSurveyPoint.h:47
 AliSurveyPoint.h:48
 AliSurveyPoint.h:49
 AliSurveyPoint.h:50
 AliSurveyPoint.h:51
 AliSurveyPoint.h:52
 AliSurveyPoint.h:53
 AliSurveyPoint.h:54
 AliSurveyPoint.h:55
 AliSurveyPoint.h:56