CMS 3D CMS Logo

LASCoordinateSet Class Reference

container for phi, x, y coordinates and their errors More...

#include <Alignment/LaserAlignment/src/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)
 convenience functions for the coordinates; the rest is declared inline
 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, double aRError)
void SetR (double aR)
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.

00016 {}

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.

00014                                                                                                                         {
00015   
00016   phi = aPhi;
00017   phiError = aPhiError;
00018   r = aR;
00019   rError = aRError;
00020   z = aZ;
00021   zError = aZError;
00022 
00023 }


Member Function Documentation

void LASCoordinateSet::Dump ( void   ) 

Definition at line 83 of file LASCoordinateSet.cc.

References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), phi, phiError, r, rError, z, and zError.

00083                                   {
00084 
00085   std::cout << " [LASCoordinateSet::Dump] -- phi: " << phi << ", phiE: " << phiError
00086             << ", r: " << r << ", rE: " << rError << ", z: " << z << ", zE: " << zError << " ." << std::endl;
00087 
00088 }

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.

00032                                                                                                                                        {
00033 
00034   aPhi = phi;
00035   aPhiError = phiError;
00036   aR = r;
00037   aRError = rError;
00038   aZ = z;
00039   aZError = zError;
00040 
00041 }

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

Definition at line 20 of file LASCoordinateSet.h.

References phi.

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

00020 { return phi; }

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

Definition at line 21 of file LASCoordinateSet.h.

References phiError.

Referenced by fcn().

00021 { return phiError; }

double LASCoordinateSet::GetR ( void   )  const [inline]

Definition at line 22 of file LASCoordinateSet.h.

References r.

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

00022 { return r; }

double LASCoordinateSet::GetRError ( void   )  const [inline]

Definition at line 23 of file LASCoordinateSet.h.

References rError.

00023 { return rError; }

double LASCoordinateSet::GetZ ( void   )  const [inline]

Definition at line 24 of file LASCoordinateSet.h.

References z.

Referenced by fcn().

00024 { return z; }

double LASCoordinateSet::GetZError ( void   )  const [inline]

Definition at line 25 of file LASCoordinateSet.h.

References zError.

00025 { 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.

00050                                                                                                                            {
00051   
00052   phi = aPhi;
00053   phiError = aPhiError;
00054   r = aR;
00055   rError = aRError;
00056   z = aZ;
00057   zError = aZError; 
00058 
00059 }

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

Definition at line 68 of file LASCoordinateSet.cc.

References phiError, rError, and zError.

00068                                                                                    {
00069 
00070   phiError = aPhiError;
00071   rError = aRError;
00072   zError = aZError;
00073 
00074 }

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

Definition at line 30 of file LASCoordinateSet.h.

References phi, and phiError.

00030 { phi = aPhi; phiError = aPhiError; }

void LASCoordinateSet::SetPhi ( double  aPhi  )  [inline]

Definition at line 29 of file LASCoordinateSet.h.

References phi.

Referenced by LaserAlignment::endJob(), and LASBarrelAlgorithm::ReadMisalignmentFromFile().

00029 { phi = aPhi; }

void LASCoordinateSet::SetPhiError ( double  aPhiError  )  [inline]

Definition at line 31 of file LASCoordinateSet.h.

References phiError.

Referenced by LaserAlignment::endJob(), and LASBarrelAlgorithm::ReadMisalignmentFromFile().

00031 { phiError = aPhiError; }

void LASCoordinateSet::SetR ( double  aR,
double  aRError 
) [inline]

Definition at line 33 of file LASCoordinateSet.h.

References r, and rError.

00033 { r = aR; rError = aRError; }

void LASCoordinateSet::SetR ( double  aR  )  [inline]

Definition at line 32 of file LASCoordinateSet.h.

References r.

00032 { r = aR; }

void LASCoordinateSet::SetRError ( double  aRError  )  [inline]

Definition at line 34 of file LASCoordinateSet.h.

References rError.

00034 { rError = aRError; }

void LASCoordinateSet::SetZ ( double  aZ,
double  aZError 
) [inline]

Definition at line 36 of file LASCoordinateSet.h.

References z, and zError.

00036 { z = aZ; zError = aZError; }

void LASCoordinateSet::SetZ ( double  aZ  )  [inline]

Definition at line 35 of file LASCoordinateSet.h.

References z.

00035 { z = aZ; }

void LASCoordinateSet::SetZError ( double  aZError  )  [inline]

Definition at line 37 of file LASCoordinateSet.h.

References zError.

00037 { zError = aZError; }


Member Data Documentation

double LASCoordinateSet::phi [private]

Definition at line 43 of file LASCoordinateSet.h.

Referenced by Dump(), GetCoordinates(), GetPhi(), LASCoordinateSet(), SetCoordinates(), and SetPhi().

double LASCoordinateSet::phiError [private]

Definition at line 44 of file LASCoordinateSet.h.

Referenced by Dump(), GetCoordinates(), GetPhiError(), LASCoordinateSet(), SetCoordinates(), SetErrors(), SetPhi(), and SetPhiError().

double LASCoordinateSet::r [private]

Definition at line 45 of file LASCoordinateSet.h.

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

double LASCoordinateSet::rError [private]

Definition at line 46 of file LASCoordinateSet.h.

Referenced by Dump(), GetCoordinates(), GetRError(), LASCoordinateSet(), SetCoordinates(), SetErrors(), SetR(), and SetRError().

double LASCoordinateSet::z [private]

Definition at line 47 of file LASCoordinateSet.h.

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

double LASCoordinateSet::zError [private]

Definition at line 48 of file LASCoordinateSet.h.

Referenced by Dump(), GetCoordinates(), GetZError(), LASCoordinateSet(), SetCoordinates(), SetErrors(), SetZ(), and SetZError().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:27:13 2009 for CMSSW by  doxygen 1.5.4