CMS 3D CMS Logo

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() [1/2]

LASCoordinateSet::LASCoordinateSet ( )
inline

Definition at line 14 of file LASCoordinateSet.h.

◆ LASCoordinateSet() [2/2]

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 simKBmtfDigis_cfi::aPhi, 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

◆ Dump()

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 }

◆ GetCoordinates()

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 simKBmtfDigis_cfi::aPhi, 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 }

◆ GetPhi()

double LASCoordinateSet::GetPhi ( void  ) const
inline

◆ GetPhiError()

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; }

◆ GetR()

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; }

◆ GetRError()

double LASCoordinateSet::GetRError ( void  ) const
inline

Definition at line 21 of file LASCoordinateSet.h.

References rError.

21 { return rError; }

◆ GetZ()

double LASCoordinateSet::GetZ ( void  ) const
inline

◆ GetZError()

double LASCoordinateSet::GetZError ( void  ) const
inline

Definition at line 23 of file LASCoordinateSet.h.

References zError.

23 { return zError; }

◆ SetCoordinates()

void LASCoordinateSet::SetCoordinates ( double  aPhi,
double  aPhiError,
double  aR,
double  aRError,
double  aZ,
double  aZError 
)

Definition at line 38 of file LASCoordinateSet.cc.

References simKBmtfDigis_cfi::aPhi, 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 }

◆ SetErrors()

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 }

◆ SetPhi() [1/2]

void LASCoordinateSet::SetPhi ( double  aPhi)
inline

◆ SetPhi() [2/2]

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

Definition at line 28 of file LASCoordinateSet.h.

References simKBmtfDigis_cfi::aPhi, phi, and phiError.

28  {
29  phi = aPhi;
30  phiError = aPhiError;
31  }

◆ SetPhiError()

void LASCoordinateSet::SetPhiError ( double  aPhiError)
inline

◆ SetR() [1/2]

void LASCoordinateSet::SetR ( double  aR)
inline

Definition at line 33 of file LASCoordinateSet.h.

References r.

33 { r = aR; }

◆ SetR() [2/2]

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  }

◆ SetRError()

void LASCoordinateSet::SetRError ( double  aRError)
inline

Definition at line 38 of file LASCoordinateSet.h.

References rError.

38 { rError = aRError; }

◆ SetZ() [1/2]

void LASCoordinateSet::SetZ ( double  aZ)
inline

Definition at line 39 of file LASCoordinateSet.h.

References z.

39 { z = aZ; }

◆ SetZ() [2/2]

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  }

◆ SetZError()

void LASCoordinateSet::SetZError ( double  aZError)
inline

Definition at line 44 of file LASCoordinateSet.h.

References zError.

44 { zError = aZError; }

Member Data Documentation

◆ phi

double LASCoordinateSet::phi
private

◆ phiError

double LASCoordinateSet::phiError
private

◆ r

double LASCoordinateSet::r
private

Definition at line 51 of file LASCoordinateSet.h.

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

◆ rError

double LASCoordinateSet::rError
private

◆ z

double LASCoordinateSet::z
private

◆ zError

double LASCoordinateSet::zError
private