40 #include "TPolyMarker3D.h" 41 #include "TPolyLine3D.h" 81 void set(
const TVector3& o,
85 void setO(
const TVector3& o);
86 void setO(
double,
double,
double);
87 void setU(
const TVector3& u);
88 void setU(
double,
double,
double);
89 void setV(
const TVector3& v);
90 void setV(
double,
double,
double);
91 void setUV(
const TVector3& u,
const TVector3& v);
92 void setON(
const TVector3& o,
const TVector3& n);
103 void setNormal(
const double& theta,
const double& phi);
105 TVector2
project(
const TVector3&
x)
const;
109 TVector3
toLab(
const TVector2& x)
const;
111 TVector3
dist(
const TVector3& point)
const;
117 void Print(std::ostream& out = std::cout)
const;
120 void getGraphics(
double mesh,
double length, TPolyMarker3D **pl, TPolyLine3D **plLine,TPolyLine3D **u, TPolyLine3D **v, TPolyLine3D **n=NULL);
129 double distance(
double,
double,
double)
const;
133 bool inActive(
const TVector3& point,
const TVector3& dir)
const{
165 {
throw std::logic_error(std::string(__func__) +
"::Print(Option_t*) not available"); }
void setON(const TVector3 &o, const TVector3 &n)
void setU(const TVector3 &u)
GFDetPlane & operator=(const genf::GFDetPlane &)
void getGraphics(double mesh, double length, TPolyMarker3D **pl, TPolyLine3D **plLine, TPolyLine3D **u, TPolyLine3D **v, TPolyLine3D **n=NULL)
for poor attempts of making an event display. There is a lot of room for improvements.
Generic Interface to magnetic fields in GENFIT.
TVector3 dist(const TVector3 &point) const
void setO(const TVector3 &o)
void setUV(const TVector3 &u, const TVector3 &v)
void Print(std::ostream &out=std::cout) const
virtual void Print(Option_t *) const
TVector2 project(const TVector3 &x) const
projecting a direction onto the plane:
friend bool operator!=(const GFDetPlane &, const GFDetPlane &)
returns NOT ==
TVector3 getNormal() const
void setFinitePlane(genf::GFAbsFinitePlane *finite)
void setV(const TVector3 &v)
double distance(TVector3 &) const
bool inActive(double u, double v) const
inActive methods refer to finite plane. C.f. GFAbsFinitePlane
virtual bool inActive(const double &u, const double &v) const =0
genf::GFAbsFinitePlane * fFinitePlane
TVector3 toLab(const TVector2 &x) const
transform from plane coordinates to lab system
TVector2 LabToPlane(const TVector3 &x) const
transform from Lab system into plane
TVector2 straightLineToPlane(const TVector3 &point, const TVector3 &dir) const
gives u,v coordinates of the intersection point of a straight line with plane
void setNormal(TVector3 n)
bool inActive(const TVector3 &point, const TVector3 &dir) const
intersect in the active area? C.f. GFAbsFinitePlane
friend bool operator==(const GFDetPlane &, const GFDetPlane &)
bool inActive(const TVector2 &v) const
inActive methods refer to finite plane. C.f. GFAbsFinitePlane
GFDetPlane(genf::GFAbsFinitePlane *finite=NULL)