|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "TPolyLine.h"
41 const double phiFactor = 1000.;
43 x2 =
pos.Phi() * phiFactor;
68 const double phiFactor = 1000.;
72 x2 = (pos2.Phi() -
pos.Phi()) * phiFactor;
97 if(
p != 0 &&
p != 1 &&
p != 2 &&
p != 3 &&
p != 4)
98 std::cout <<
"ERROR Wrong projection " << std::endl;
119 return new TLine(xu1,xu2,xl1,xl2);
145 return new TLine(xu1,xu2,xl1,xl2);
171 return new TPolyLine(3,
x,
y);
180 return new TArc(
x1,
x2,
r);
206 return new TEllipse(
x1,
x2, r1, r2);
TEllipse * createEllipse(const TVector3 &pos, double r1, double r2)
void applyDirectionProjectionUnit(const TVector3 &dir, double &x1, double &x2, const TVector3 &pos)
TArc * createArc(const TVector3 &pos, double r)
TBox * createBox(const TVector3 &upperleft, const TVector3 &lowerright)
TPolyLine * createTriangle(const TVector3 &pos, const TVector3 &dir, double length)
TLine * createLine(const TVector3 &pos, const TVector3 &dir, double length)
TArrow * createArrow(const TVector3 &pos, const TVector3 &dir, double length)
TLine * createOrthogonalLine(const TVector3 &pos, const TVector3 &dir, double length)
void setProjection(int p)
void applyProjection(const TVector3 &pos, double &x1, double &x2)
TText * createText(const TVector3 &pos, const char *text)