CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/Alignment/LaserAlignment/interface/LASCoordinateSet.h

Go to the documentation of this file.
00001 
00002 
00003 #ifndef __LASCOORDINATESET_H
00004 #define __LASCOORDINATESET_H
00005 
00006 #include <iostream>
00007 
00012 class LASCoordinateSet {
00013   
00014  public:
00015 
00016   LASCoordinateSet() {}
00017   LASCoordinateSet( double, double, double, double, double, double );
00018 
00019   void GetCoordinates( double&, double&, double&, double&, double&, double& ) const;
00020   double GetPhi( void ) const { return phi; }
00021   double GetPhiError( void ) const { return phiError; }
00022   double GetR( void ) const { return r; }
00023   double GetRError( void ) const { return rError; }
00024   double GetZ( void ) const { return z; }
00025   double GetZError( void ) const { return zError; }
00026 
00027   void SetCoordinates( double, double, double, double, double, double );
00028   void SetErrors( double, double, double );
00029   void SetPhi( double aPhi ) { phi = aPhi; }
00030   void SetPhi( double aPhi, double aPhiError ) { phi = aPhi; phiError = aPhiError; }
00031   void SetPhiError( double aPhiError ) { phiError = aPhiError; }
00032   void SetR( double aR ) { r = aR; }
00033   void SetR( double aR, double aRError ) { r = aR; rError = aRError; }
00034   void SetRError( double aRError ) { rError = aRError; }
00035   void SetZ( double aZ ) { z = aZ; }
00036   void SetZ( double aZ, double aZError ) { z = aZ; zError = aZError; }
00037   void SetZError( double aZError ) { zError = aZError; }
00038   
00039   void Dump( void );
00040 
00041  private:
00042 
00043   double phi;
00044   double phiError;
00045   double r;
00046   double rError;
00047   double z;
00048   double zError;
00049 
00050 };
00051   
00052 
00053 #endif