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.

14 : phi(0.), phiError(0.), r(0.), rError(0.), z(0.), zError(0.) {}

◆ 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.

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

References simKBmtfDigis_cfi::aPhi, phi, phiError, r, rError, z, and zError.

Member Function Documentation

◆ Dump()

void LASCoordinateSet::Dump ( void  )

Definition at line 60 of file LASCoordinateSet.cc.

60  {
61  std::cout << " [LASCoordinateSet::Dump] -- phi: " << phi << ", phiE: " << phiError << ", r: " << r
62  << ", rE: " << rError << ", z: " << z << ", zE: " << zError << " ." << std::endl;
63 }

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

◆ 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.

26  {
27  aPhi = phi;
28  aPhiError = phiError;
29  aR = r;
30  aRError = rError;
31  aZ = z;
32  aZError = zError;
33 }

References simKBmtfDigis_cfi::aPhi, phi, phiError, r, rError, z, and zError.

◆ GetPhi()

double LASCoordinateSet::GetPhi ( void  ) const
inline

◆ GetPhiError()

double LASCoordinateSet::GetPhiError ( void  ) const
inline

Definition at line 19 of file LASCoordinateSet.h.

19 { return phiError; }

References phiError.

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

◆ GetR()

double LASCoordinateSet::GetR ( void  ) const
inline

Definition at line 20 of file LASCoordinateSet.h.

20 { return r; }

References r.

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

◆ GetRError()

double LASCoordinateSet::GetRError ( void  ) const
inline

Definition at line 21 of file LASCoordinateSet.h.

21 { return rError; }

References rError.

◆ GetZ()

double LASCoordinateSet::GetZ ( void  ) const
inline

◆ GetZError()

double LASCoordinateSet::GetZError ( void  ) const
inline

Definition at line 23 of file LASCoordinateSet.h.

23 { return zError; }

References 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.

39  {
40  phi = aPhi;
41  phiError = aPhiError;
42  r = aR;
43  rError = aRError;
44  z = aZ;
45  zError = aZError;
46 }

References simKBmtfDigis_cfi::aPhi, phi, phiError, r, rError, z, and zError.

◆ SetErrors()

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

Definition at line 51 of file LASCoordinateSet.cc.

51  {
52  phiError = aPhiError;
53  rError = aRError;
54  zError = aZError;
55 }

References phiError, rError, and zError.

◆ 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.

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

References simKBmtfDigis_cfi::aPhi, phi, and phiError.

◆ SetPhiError()

void LASCoordinateSet::SetPhiError ( double  aPhiError)
inline

◆ SetR() [1/2]

void LASCoordinateSet::SetR ( double  aR)
inline

Definition at line 33 of file LASCoordinateSet.h.

33 { r = aR; }

References r.

◆ SetR() [2/2]

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

Definition at line 34 of file LASCoordinateSet.h.

34  {
35  r = aR;
36  rError = aRError;
37  }

References r, and rError.

◆ SetRError()

void LASCoordinateSet::SetRError ( double  aRError)
inline

Definition at line 38 of file LASCoordinateSet.h.

38 { rError = aRError; }

References rError.

◆ SetZ() [1/2]

void LASCoordinateSet::SetZ ( double  aZ)
inline

Definition at line 39 of file LASCoordinateSet.h.

39 { z = aZ; }

References z.

◆ SetZ() [2/2]

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

Definition at line 40 of file LASCoordinateSet.h.

40  {
41  z = aZ;
42  zError = aZError;
43  }

References z, and zError.

◆ SetZError()

void LASCoordinateSet::SetZError ( double  aZError)
inline

Definition at line 44 of file LASCoordinateSet.h.

44 { zError = aZError; }

References zError.

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
LASCoordinateSet::zError
double zError
Definition: LASCoordinateSet.h:54
LASCoordinateSet::phi
double phi
Definition: LASCoordinateSet.h:49
LASCoordinateSet::phiError
double phiError
Definition: LASCoordinateSet.h:50
gather_cfg.cout
cout
Definition: gather_cfg.py:144
LASCoordinateSet::r
double r
Definition: LASCoordinateSet.h:51
LASCoordinateSet::rError
double rError
Definition: LASCoordinateSet.h:52
LASCoordinateSet::z
double z
Definition: LASCoordinateSet.h:53
simKBmtfDigis_cfi.aPhi
aPhi
Definition: simKBmtfDigis_cfi.py:11