Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DLine.h
Go to the documentation of this file.
1 #ifndef _DLINE_H_
2 #define _DLINE_H_
3 
4 #include <CLHEP/Matrix/Vector.h>
5 #include <CLHEP/Vector/ThreeVector.h>
6 using namespace CLHEP;
7 
8 class DLine {
9  public:
10  DLine(); // default constructor
11  DLine(double x, double y, double z, double theta, double phi, int level = 0); // constructor with explicit point and direction
12  DLine(Hep3Vector r0_in, Hep3Vector r1_in, int level = 0); // constructor with 3-vector positions of two points
13  double doca(HepVector point);
14  double doca(Hep3Vector point);
15  HepVector poca(HepVector point);
16  Hep3Vector poca(Hep3Vector point);
17  private:
18  Hep3Vector r0, r1;
20 };
21 
22 #endif // _DLINE_H_
Hep3Vector r1
Definition: DLine.h:18
Double_t x[NCHANNELS]
Definition: st_tw_resols.C:39
#define y
int debug_level
Definition: DLine.h:19
Definition: DLine.h:8