CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
LASCoordinateSet Class Reference

#include <LASCoordinateSet.h>

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 ()
 
 LASCoordinateSet (double, double, double, double, double, double)
 
void SetCoordinates (double, double, double, double, double, double)
 
void SetErrors (double, double, double)
 
void SetPhi (double aPhi)
 
void SetPhi (double aPhi, double aPhiError)
 
void SetPhiError (double aPhiError)
 
void SetR (double aR)
 
void SetR (double aR, double aRError)
 
void SetRError (double aRError)
 
void SetZ (double aZ)
 
void SetZ (double aZ, double aZError)
 
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 14 of file LASCoordinateSet.h.

14 : 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 13 of file LASCoordinateSet.cc.

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

13  {
14  phi = aPhi;
15  phiError = aPhiError;
16  r = aR;
17  rError = aRError;
18  z = aZ;
19  zError = aZError;
20 }

Member Function Documentation

void LASCoordinateSet::Dump ( void  )

Definition at line 60 of file LASCoordinateSet.cc.

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

60  {
61  std::cout << " [LASCoordinateSet::Dump] -- phi: " << phi << ", phiE: " << phiError << ", r: " << r
62  << ", rE: " << rError << ", z: " << z << ", zE: " << zError << " ." << std::endl;
63 }
tuple cout
Definition: gather_cfg.py:144
void LASCoordinateSet::GetCoordinates ( double &  aPhi,
double &  aPhiError,
double &  aR,
double &  aRError,
double &  aZ,
double &  aZError 
) const

Definition at line 25 of file LASCoordinateSet.cc.

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

26  {
27  aPhi = phi;
28  aPhiError = phiError;
29  aR = r;
30  aRError = rError;
31  aZ = z;
32  aZError = zError;
33 }
double LASCoordinateSet::GetPhi ( void  ) const
inline
double LASCoordinateSet::GetPhiError ( void  ) const
inline

Definition at line 19 of file LASCoordinateSet.h.

References phiError.

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

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

Definition at line 20 of file LASCoordinateSet.h.

References r.

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

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

Definition at line 21 of file LASCoordinateSet.h.

References rError.

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

Definition at line 23 of file LASCoordinateSet.h.

References zError.

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

Definition at line 38 of file LASCoordinateSet.cc.

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

39  {
40  phi = aPhi;
41  phiError = aPhiError;
42  r = aR;
43  rError = aRError;
44  z = aZ;
45  zError = aZError;
46 }
void LASCoordinateSet::SetErrors ( double  aPhiError,
double  aRError,
double  aZError 
)

Definition at line 51 of file LASCoordinateSet.cc.

References phiError, rError, and zError.

51  {
52  phiError = aPhiError;
53  rError = aRError;
54  zError = aZError;
55 }
void LASCoordinateSet::SetPhi ( double  aPhi)
inline
void LASCoordinateSet::SetPhi ( double  aPhi,
double  aPhiError 
)
inline

Definition at line 28 of file LASCoordinateSet.h.

References phi, and phiError.

28  {
29  phi = aPhi;
30  phiError = aPhiError;
31  }
void LASCoordinateSet::SetPhiError ( double  aPhiError)
inline
void LASCoordinateSet::SetR ( double  aR)
inline

Definition at line 33 of file LASCoordinateSet.h.

References r.

33 { r = aR; }
void LASCoordinateSet::SetR ( double  aR,
double  aRError 
)
inline

Definition at line 34 of file LASCoordinateSet.h.

References r, and rError.

34  {
35  r = aR;
36  rError = aRError;
37  }
void LASCoordinateSet::SetRError ( double  aRError)
inline

Definition at line 38 of file LASCoordinateSet.h.

References rError.

38 { rError = aRError; }
void LASCoordinateSet::SetZ ( double  aZ)
inline

Definition at line 39 of file LASCoordinateSet.h.

References z.

39 { z = aZ; }
void LASCoordinateSet::SetZ ( double  aZ,
double  aZError 
)
inline

Definition at line 40 of file LASCoordinateSet.h.

References z, and zError.

40  {
41  z = aZ;
42  zError = aZError;
43  }
void LASCoordinateSet::SetZError ( double  aZError)
inline

Definition at line 44 of file LASCoordinateSet.h.

References zError.

44 { zError = aZError; }

Member Data Documentation

double LASCoordinateSet::phi
private
double LASCoordinateSet::phiError
private
double LASCoordinateSet::r
private

Definition at line 51 of file LASCoordinateSet.h.

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

double LASCoordinateSet::rError
private
double LASCoordinateSet::z
private
double LASCoordinateSet::zError
private