test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
17 public:
18 
19  FastLine(const GlobalPoint& outerHit,
20  const GlobalPoint& innerHit);
21 
22  FastLine(const GlobalPoint& outerHit,
23  const GlobalPoint& innerHit,
24  double rho);
25 
26  ~FastLine() {}
27 
28  double n1() const {return theN1;}
29 
30  double n2() const {return theN2;}
31 
32  double c() const {return theC;}
33 
34  bool isValid() const {return theValid;}
35 
36 private:
37 
40  double theRho;
41 
42  double theN1;
43  double theN2;
44  double theC;
45 
46  bool theValid;
47 
48  void createLineParameters();
49 
50 };
51 
52 #endif //TR_FastLine_H_
GlobalPoint theOuterHit
Definition: FastLine.h:38
FastLine(const GlobalPoint &outerHit, const GlobalPoint &innerHit)
Definition: FastLine.cc:3
bool isValid() const
Definition: FastLine.h:34
double n1() const
Definition: FastLine.h:28
double theRho
Definition: FastLine.h:40
void createLineParameters()
Definition: FastLine.cc:32
double theN2
Definition: FastLine.h:43
bool theValid
Definition: FastLine.h:46
GlobalPoint theInnerHit
Definition: FastLine.h:39
double theC
Definition: FastLine.h:44
~FastLine()
Definition: FastLine.h:26
double c() const
Definition: FastLine.h:32
double theN1
Definition: FastLine.h:42
double n2() const
Definition: FastLine.h:30