CMS 3D CMS Logo

Public Member Functions | Private Attributes

LASCoordinateSet Class Reference

#include <LASCoordinateSet.h>

List of all members.

Public Member Functions

void Dump (void)
void GetCoordinates (double &, double &, double &, double &, double &, double &) const
double GetPhi (void) const
double GetPhiError (void) const
double GetR (void) const
double GetRError (void) const
double GetZ (void) const
double GetZError (void) const
 LASCoordinateSet (double, double, double, double, double, double)
 LASCoordinateSet ()
void SetCoordinates (double, double, double, double, double, double)
void SetErrors (double, double, double)
void SetPhi (double aPhi, double aPhiError)
void SetPhi (double aPhi)
void SetPhiError (double aPhiError)
void SetR (double aR)
void SetR (double aR, double aRError)
void SetRError (double aRError)
void SetZ (double aZ, double aZError)
void SetZ (double aZ)
void SetZError (double aZError)

Private Attributes

double phi
double phiError
double r
double rError
double z
double zError

Detailed Description

container for phi, x, y coordinates and their errors

Definition at line 12 of file LASCoordinateSet.h.


Constructor & Destructor Documentation

LASCoordinateSet::LASCoordinateSet ( ) [inline]

Definition at line 16 of file LASCoordinateSet.h.

                     :
    phi(0.), phiError(0.), r(0.), rError(0.), z(0.), zError(0.) {}
LASCoordinateSet::LASCoordinateSet ( double  aPhi,
double  aPhiError,
double  aR,
double  aRError,
double  aZ,
double  aZError 
)

convenience functions for the coordinates; the rest is declared inline

Definition at line 14 of file LASCoordinateSet.cc.

References phi, phiError, r, rError, z, and zError.

                                                                                                                        {
  
  phi = aPhi;
  phiError = aPhiError;
  r = aR;
  rError = aRError;
  z = aZ;
  zError = aZError;

}

Member Function Documentation

void LASCoordinateSet::Dump ( void  )

Definition at line 83 of file LASCoordinateSet.cc.

References gather_cfg::cout, phi, phiError, r, rError, z, and zError.

                                  {

  std::cout << " [LASCoordinateSet::Dump] -- phi: " << phi << ", phiE: " << phiError
            << ", r: " << r << ", rE: " << rError << ", z: " << z << ", zE: " << zError << " ." << std::endl;

}
void LASCoordinateSet::GetCoordinates ( double &  aPhi,
double &  aPhiError,
double &  aR,
double &  aRError,
double &  aZ,
double &  aZError 
) const

Definition at line 32 of file LASCoordinateSet.cc.

References phi, phiError, r, rError, z, and zError.

                                                                                                                                       {

  aPhi = phi;
  aPhiError = phiError;
  aR = r;
  aRError = rError;
  aZ = z;
  aZError = zError;

}
double LASCoordinateSet::GetPhi ( void  ) const [inline]
double LASCoordinateSet::GetPhiError ( void  ) const [inline]

Definition at line 22 of file LASCoordinateSet.h.

References phiError.

Referenced by LaserAlignment::DumpPosFileSet(), and fcn().

{ return phiError; }
double LASCoordinateSet::GetR ( void  ) const [inline]

Definition at line 23 of file LASCoordinateSet.h.

References r.

Referenced by LASEndcapAlgorithm::CalculateParameters(), and fcn().

{ return r; }
double LASCoordinateSet::GetRError ( void  ) const [inline]

Definition at line 24 of file LASCoordinateSet.h.

References rError.

{ return rError; }
double LASCoordinateSet::GetZ ( void  ) const [inline]
double LASCoordinateSet::GetZError ( void  ) const [inline]

Definition at line 26 of file LASCoordinateSet.h.

References zError.

{ return zError; }
void LASCoordinateSet::SetCoordinates ( double  aPhi,
double  aPhiError,
double  aR,
double  aRError,
double  aZ,
double  aZError 
)

Definition at line 50 of file LASCoordinateSet.cc.

References phi, phiError, r, rError, z, and zError.

                                                                                                                           {
  
  phi = aPhi;
  phiError = aPhiError;
  r = aR;
  rError = aRError;
  z = aZ;
  zError = aZError; 

}
void LASCoordinateSet::SetErrors ( double  aPhiError,
double  aRError,
double  aZError 
)

Definition at line 68 of file LASCoordinateSet.cc.

References phiError, rError, and zError.

                                                                                   {

  phiError = aPhiError;
  rError = aRError;
  zError = aZError;

}
void LASCoordinateSet::SetPhi ( double  aPhi,
double  aPhiError 
) [inline]

Definition at line 31 of file LASCoordinateSet.h.

References phi, and phiError.

{ phi = aPhi; phiError = aPhiError; }
void LASCoordinateSet::SetPhi ( double  aPhi) [inline]
void LASCoordinateSet::SetPhiError ( double  aPhiError) [inline]
void LASCoordinateSet::SetR ( double  aR,
double  aRError 
) [inline]

Definition at line 34 of file LASCoordinateSet.h.

References r, and rError.

{ r = aR; rError = aRError; }
void LASCoordinateSet::SetR ( double  aR) [inline]

Definition at line 33 of file LASCoordinateSet.h.

References r.

{ r = aR; }
void LASCoordinateSet::SetRError ( double  aRError) [inline]

Definition at line 35 of file LASCoordinateSet.h.

References rError.

{ rError = aRError; }
void LASCoordinateSet::SetZ ( double  aZ,
double  aZError 
) [inline]

Definition at line 37 of file LASCoordinateSet.h.

References z, and zError.

{ z = aZ; zError = aZError; }
void LASCoordinateSet::SetZ ( double  aZ) [inline]

Definition at line 36 of file LASCoordinateSet.h.

References z.

{ z = aZ; }
void LASCoordinateSet::SetZError ( double  aZError) [inline]

Definition at line 38 of file LASCoordinateSet.h.

References zError.

{ zError = aZError; }

Member Data Documentation

double LASCoordinateSet::phi [private]
double LASCoordinateSet::phiError [private]
double LASCoordinateSet::r [private]

Definition at line 46 of file LASCoordinateSet.h.

Referenced by Dump(), GetCoordinates(), GetR(), LASCoordinateSet(), SetCoordinates(), and SetR().

double LASCoordinateSet::rError [private]
double LASCoordinateSet::z [private]

Definition at line 48 of file LASCoordinateSet.h.

Referenced by Dump(), GetCoordinates(), GetZ(), LASCoordinateSet(), SetCoordinates(), and SetZ().

double LASCoordinateSet::zError [private]