test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 16 of file LASCoordinateSet.h.

16  :
17  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.

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

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.

83  {
84 
85  std::cout << " [LASCoordinateSet::Dump] -- phi: " << phi << ", phiE: " << phiError
86  << ", r: " << r << ", rE: " << rError << ", z: " << z << ", zE: " << zError << " ." << std::endl;
87 
88 }
tuple cout
Definition: gather_cfg.py:121
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.

32  {
33 
34  aPhi = phi;
35  aPhiError = phiError;
36  aR = r;
37  aRError = rError;
38  aZ = z;
39  aZError = zError;
40 
41 }
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().

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

Definition at line 23 of file LASCoordinateSet.h.

References r.

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

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

Definition at line 24 of file LASCoordinateSet.h.

References rError.

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

Definition at line 26 of file LASCoordinateSet.h.

References zError.

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

50  {
51 
52  phi = aPhi;
53  phiError = aPhiError;
54  r = aR;
55  rError = aRError;
56  z = aZ;
57  zError = aZError;
58 
59 }
void LASCoordinateSet::SetErrors ( double  aPhiError,
double  aRError,
double  aZError 
)

Definition at line 68 of file LASCoordinateSet.cc.

References phiError, rError, and zError.

68  {
69 
70  phiError = aPhiError;
71  rError = aRError;
72  zError = aZError;
73 
74 }
void LASCoordinateSet::SetPhi ( double  aPhi)
inline
void LASCoordinateSet::SetPhi ( double  aPhi,
double  aPhiError 
)
inline

Definition at line 31 of file LASCoordinateSet.h.

References phi, and phiError.

31 { phi = aPhi; phiError = aPhiError; }
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 { r = aR; rError = aRError; }
void LASCoordinateSet::SetRError ( double  aRError)
inline

Definition at line 35 of file LASCoordinateSet.h.

References rError.

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

Definition at line 36 of file LASCoordinateSet.h.

References z.

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

Definition at line 37 of file LASCoordinateSet.h.

References z, and zError.

37 { z = aZ; zError = aZError; }
void LASCoordinateSet::SetZError ( double  aZError)
inline

Definition at line 38 of file LASCoordinateSet.h.

References zError.

38 { 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
double LASCoordinateSet::zError
private