40 #include "RtypesCore.h" 82 void set(
const TVector3& o,
const TVector3& u,
const TVector3& v);
84 void setO(
const TVector3& o);
85 void setO(
double,
double,
double);
86 void setU(
const TVector3& u);
87 void setU(
double,
double,
double);
88 void setV(
const TVector3& v);
89 void setV(
double,
double,
double);
90 void setUV(
const TVector3& u,
const TVector3& v);
91 void setON(
const TVector3& o,
const TVector3& n);
102 void setNormal(
const double& theta,
const double& phi);
104 TVector2
project(
const TVector3&
x)
const;
108 TVector3
toLab(
const TVector2& x)
const;
110 TVector3
dist(
const TVector3& point)
const;
115 void Print(std::ostream& out = std::cout)
const;
121 TPolyLine3D** plLine,
124 TPolyLine3D** n = NULL);
133 double distance(
double,
double,
double)
const;
136 bool inActive(
const TVector3& point,
const TVector3& dir)
const 169 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)