Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DLine Class Reference

#include <DLine.h>

Public Member Functions

 DLine ()
 
 DLine (double x, double y, double z, double theta, double phi, int level=0)
 
 DLine (Hep3Vector r0_in, Hep3Vector r1_in, int level=0)
 
double doca (HepVector point)
 
double doca (Hep3Vector point)
 
HepVector poca (HepVector point)
 
Hep3Vector poca (Hep3Vector point)
 

Private Attributes

Hep3Vector r0
 
Hep3Vector r1
 
int debug_level
 

Detailed Description

Definition at line 8 of file DLine.h.

Constructor & Destructor Documentation

DLine::DLine ( )

Definition at line 7 of file DLine.cc.

DLine::DLine ( double  x,
double  y,
double  z,
double  theta,
double  phi,
int  level = 0 
)

Definition at line 11 of file DLine.cc.

References debug_level, r0, r1, sin(), x, and y.

DLine::DLine ( Hep3Vector  r0_in,
Hep3Vector  r1_in,
int  level = 0 
)

Definition at line 9 of file DLine.cc.

Member Function Documentation

double DLine::doca ( HepVector  point)

Definition at line 23 of file DLine.cc.

Referenced by MyTrajectory::dist(), and doca().

double DLine::doca ( Hep3Vector  point)

Definition at line 28 of file DLine.cc.

References debug_level, doca(), r0, and r1.

HepVector DLine::poca ( HepVector  point)
Hep3Vector DLine::poca ( Hep3Vector  point)

Definition at line 47 of file DLine.cc.

References poca(), r0, and r1.

Member Data Documentation

int DLine::debug_level
private

Definition at line 19 of file DLine.h.

Referenced by DLine(), and doca().

Hep3Vector DLine::r0
private

Definition at line 18 of file DLine.h.

Referenced by DLine(), doca(), and poca().

Hep3Vector DLine::r1
private

Definition at line 18 of file DLine.h.

Referenced by DLine(), doca(), and poca().


The documentation for this class was generated from the following files: