CMS 3D CMS Logo

LASCoordinateSet.cc
Go to the documentation of this file.
1 
2 
4 
9 
10 
14 LASCoordinateSet::LASCoordinateSet( double aPhi, double aPhiError, double aR, double aRError, double aZ, double aZError ) {
15 
16  phi = aPhi;
17  phiError = aPhiError;
18  r = aR;
19  rError = aRError;
20  z = aZ;
21  zError = aZError;
22 
23 }
24 
25 
26 
27 
28 
32 void LASCoordinateSet::GetCoordinates( double& aPhi, double& aPhiError, double& aR, double& aRError, double& aZ, double& aZError ) const {
33 
34  aPhi = phi;
35  aPhiError = phiError;
36  aR = r;
37  aRError = rError;
38  aZ = z;
39  aZError = zError;
40 
41 }
42 
43 
44 
45 
46 
50 void LASCoordinateSet::SetCoordinates( double aPhi, double aPhiError, double aR, double aRError, double aZ, double aZError ) {
51 
52  phi = aPhi;
53  phiError = aPhiError;
54  r = aR;
55  rError = aRError;
56  z = aZ;
57  zError = aZError;
58 
59 }
60 
61 
62 
63 
64 
68 void LASCoordinateSet::SetErrors( double aPhiError, double aRError, double aZError ) {
69 
70  phiError = aPhiError;
71  rError = aRError;
72  zError = aZError;
73 
74 }
75 
76 
77 
78 
79 
83 void LASCoordinateSet::Dump( void ) {
84 
85  std::cout << " [LASCoordinateSet::Dump] -- phi: " << phi << ", phiE: " << phiError
86  << ", r: " << r << ", rE: " << rError << ", z: " << z << ", zE: " << zError << " ." << std::endl;
87 
88 }
void SetCoordinates(double, double, double, double, double, double)
void GetCoordinates(double &, double &, double &, double &, double &, double &) const
void SetErrors(double, double, double)