CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/Alignment/LaserAlignment/src/LASCoordinateSet.cc

Go to the documentation of this file.
00001 
00002 
00003 #include "Alignment/LaserAlignment/interface/LASCoordinateSet.h"
00004 
00009 
00010 
00014 LASCoordinateSet::LASCoordinateSet( double aPhi, double aPhiError, double aR, double aRError, double aZ, double aZError ) {
00015   
00016   phi = aPhi;
00017   phiError = aPhiError;
00018   r = aR;
00019   rError = aRError;
00020   z = aZ;
00021   zError = aZError;
00022 
00023 }
00024 
00025 
00026 
00027 
00028 
00032 void LASCoordinateSet::GetCoordinates( double& aPhi, double& aPhiError, double& aR, double& aRError, double& aZ, double& aZError ) const {
00033 
00034   aPhi = phi;
00035   aPhiError = phiError;
00036   aR = r;
00037   aRError = rError;
00038   aZ = z;
00039   aZError = zError;
00040 
00041 }
00042 
00043 
00044 
00045 
00046 
00050 void LASCoordinateSet::SetCoordinates( double aPhi, double aPhiError, double aR, double aRError, double aZ, double aZError ) {
00051   
00052   phi = aPhi;
00053   phiError = aPhiError;
00054   r = aR;
00055   rError = aRError;
00056   z = aZ;
00057   zError = aZError; 
00058 
00059 }
00060 
00061 
00062 
00063 
00064 
00068 void LASCoordinateSet::SetErrors( double aPhiError, double aRError, double aZError ) {
00069 
00070   phiError = aPhiError;
00071   rError = aRError;
00072   zError = aZError;
00073 
00074 }
00075 
00076 
00077 
00078 
00079 
00083 void LASCoordinateSet::Dump( void ) {
00084 
00085   std::cout << " [LASCoordinateSet::Dump] -- phi: " << phi << ", phiE: " << phiError
00086             << ", r: " << r << ", rE: " << rError << ", z: " << z << ", zE: " << zError << " ." << std::endl;
00087 
00088 }