CMS 3D CMS Logo

FastLine.h
Go to the documentation of this file.
1 #ifndef TR_FastLine_H_
2 #define TR_FastLine_H_
3 
5 
15 class FastLine {
16 public:
17  FastLine(const GlobalPoint& outerHit, const GlobalPoint& innerHit);
18 
19  FastLine(const GlobalPoint& outerHit, const GlobalPoint& innerHit, double rho);
20 
21  ~FastLine() {}
22 
23  double n1() const { return theN1; }
24 
25  double n2() const { return theN2; }
26 
27  double c() const { return theC; }
28 
29  bool isValid() const { return theValid; }
30 
31 private:
34  double theRho;
35 
36  double theN1;
37  double theN2;
38  double theC;
39 
40  bool theValid;
41 
42  void createLineParameters();
43 };
44 
45 #endif //TR_FastLine_H_
GlobalPoint theOuterHit
Definition: FastLine.h:32
FastLine(const GlobalPoint &outerHit, const GlobalPoint &innerHit)
Definition: FastLine.cc:3
double c() const
Definition: FastLine.h:27
bool isValid() const
Definition: FastLine.h:29
double theRho
Definition: FastLine.h:34
void createLineParameters()
Definition: FastLine.cc:13
double theN2
Definition: FastLine.h:37
bool theValid
Definition: FastLine.h:40
GlobalPoint theInnerHit
Definition: FastLine.h:33
double theC
Definition: FastLine.h:38
~FastLine()
Definition: FastLine.h:21
double theN1
Definition: FastLine.h:36
double n2() const
Definition: FastLine.h:25
double n1() const
Definition: FastLine.h:23