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_
FastLine::isValid
bool isValid() const
Definition: FastLine.h:29
FastLine::c
double c() const
Definition: FastLine.h:27
FastLine::FastLine
FastLine(const GlobalPoint &outerHit, const GlobalPoint &innerHit)
Definition: FastLine.cc:3
FastLine
Definition: FastLine.h:15
FastLine::theN1
double theN1
Definition: FastLine.h:36
FastLine::theC
double theC
Definition: FastLine.h:38
FastLine::theInnerHit
GlobalPoint theInnerHit
Definition: FastLine.h:33
FastLine::theValid
bool theValid
Definition: FastLine.h:40
Point3DBase< float, GlobalTag >
DDAxes::rho
FastLine::theRho
double theRho
Definition: FastLine.h:34
FastLine::theOuterHit
GlobalPoint theOuterHit
Definition: FastLine.h:32
FastLine::~FastLine
~FastLine()
Definition: FastLine.h:21
FastLine::createLineParameters
void createLineParameters()
Definition: FastLine.cc:13
FastLine::n1
double n1() const
Definition: FastLine.h:23
FastLine::n2
double n2() const
Definition: FastLine.h:25
GlobalPoint.h
FastLine::theN2
double theN2
Definition: FastLine.h:37