CMS 3D CMS Logo

LASCoordinateSet.h
Go to the documentation of this file.
1 
2 
3 #ifndef __LASCOORDINATESET_H
4 #define __LASCOORDINATESET_H
5 
6 #include <iostream>
7 
13 public:
14  LASCoordinateSet() : phi(0.), phiError(0.), r(0.), rError(0.), z(0.), zError(0.) {}
15  LASCoordinateSet(double, double, double, double, double, double);
16 
17  void GetCoordinates(double&, double&, double&, double&, double&, double&) const;
18  double GetPhi(void) const { return phi; }
19  double GetPhiError(void) const { return phiError; }
20  double GetR(void) const { return r; }
21  double GetRError(void) const { return rError; }
22  double GetZ(void) const { return z; }
23  double GetZError(void) const { return zError; }
24 
25  void SetCoordinates(double, double, double, double, double, double);
26  void SetErrors(double, double, double);
27  void SetPhi(double aPhi) { phi = aPhi; }
28  void SetPhi(double aPhi, double aPhiError) {
29  phi = aPhi;
30  phiError = aPhiError;
31  }
32  void SetPhiError(double aPhiError) { phiError = aPhiError; }
33  void SetR(double aR) { r = aR; }
34  void SetR(double aR, double aRError) {
35  r = aR;
36  rError = aRError;
37  }
38  void SetRError(double aRError) { rError = aRError; }
39  void SetZ(double aZ) { z = aZ; }
40  void SetZ(double aZ, double aZError) {
41  z = aZ;
42  zError = aZError;
43  }
44  void SetZError(double aZError) { zError = aZError; }
45 
46  void Dump(void);
47 
48 private:
49  double phi;
50  double phiError;
51  double r;
52  double rError;
53  double z;
54  double zError;
55 };
56 
57 #endif
LASCoordinateSet::GetZError
double GetZError(void) const
Definition: LASCoordinateSet.h:23
LASCoordinateSet::SetRError
void SetRError(double aRError)
Definition: LASCoordinateSet.h:38
LASCoordinateSet::GetCoordinates
void GetCoordinates(double &, double &, double &, double &, double &, double &) const
Definition: LASCoordinateSet.cc:25
LASCoordinateSet::zError
double zError
Definition: LASCoordinateSet.h:54
LASCoordinateSet::phi
double phi
Definition: LASCoordinateSet.h:49
LASCoordinateSet::phiError
double phiError
Definition: LASCoordinateSet.h:50
LASCoordinateSet::GetZ
double GetZ(void) const
Definition: LASCoordinateSet.h:22
LASCoordinateSet::SetZError
void SetZError(double aZError)
Definition: LASCoordinateSet.h:44
LASCoordinateSet::SetZ
void SetZ(double aZ)
Definition: LASCoordinateSet.h:39
LASCoordinateSet::SetPhiError
void SetPhiError(double aPhiError)
Definition: LASCoordinateSet.h:32
LASCoordinateSet::r
double r
Definition: LASCoordinateSet.h:51
LASCoordinateSet::rError
double rError
Definition: LASCoordinateSet.h:52
LASCoordinateSet::GetRError
double GetRError(void) const
Definition: LASCoordinateSet.h:21
LASCoordinateSet::SetR
void SetR(double aR, double aRError)
Definition: LASCoordinateSet.h:34
LASCoordinateSet::SetR
void SetR(double aR)
Definition: LASCoordinateSet.h:33
LASCoordinateSet::SetZ
void SetZ(double aZ, double aZError)
Definition: LASCoordinateSet.h:40
LASCoordinateSet::LASCoordinateSet
LASCoordinateSet()
Definition: LASCoordinateSet.h:14
LASCoordinateSet::GetPhiError
double GetPhiError(void) const
Definition: LASCoordinateSet.h:19
LASCoordinateSet
Definition: LASCoordinateSet.h:12
LASCoordinateSet::z
double z
Definition: LASCoordinateSet.h:53
LASCoordinateSet::GetPhi
double GetPhi(void) const
Definition: LASCoordinateSet.h:18
LASCoordinateSet::Dump
void Dump(void)
Definition: LASCoordinateSet.cc:60
LASCoordinateSet::SetCoordinates
void SetCoordinates(double, double, double, double, double, double)
Definition: LASCoordinateSet.cc:38
LASCoordinateSet::GetR
double GetR(void) const
Definition: LASCoordinateSet.h:20
LASCoordinateSet::SetPhi
void SetPhi(double aPhi, double aPhiError)
Definition: LASCoordinateSet.h:28
LASCoordinateSet::SetErrors
void SetErrors(double, double, double)
Definition: LASCoordinateSet.cc:51
LASCoordinateSet::SetPhi
void SetPhi(double aPhi)
Definition: LASCoordinateSet.h:27
simKBmtfDigis_cfi.aPhi
aPhi
Definition: simKBmtfDigis_cfi.py:11