![]() |
Project
|
#include <V11Geometry.h>
Inherits TObject.
Inherited by o2::its::V1Layer, o2::its::V3Cage, o2::its::V3Layer, and o2::its::V3Services.
Public Member Functions | |
V11Geometry () | |
V11Geometry (Int_t debug, const char *name="ITS") | |
~V11Geometry () override=default | |
void | SetDetName (const char *name) |
Set detector name. | |
const char * | GetDetName () const |
Get detector name. | |
void | setDebug (Int_t level=5) |
Sets the debug flag for debugging output. | |
void | setNoDebug () |
Clears the debug flag so no debugging output will be generated. | |
Bool_t | getDebug (Int_t level=1) const |
Returns the debug flag value. | |
Double_t | sinD (Double_t deg) const |
Double_t | cosD (Double_t deg) const |
Cosine function. | |
Double_t | tanD (Double_t deg) const |
Tangent function. | |
void | intersectLines (Double_t m, Double_t x0, Double_t y0, Double_t n, Double_t x1, Double_t y1, Double_t &xi, Double_t &yi) const |
Double_t | yFrom2Points (Double_t x0, Double_t y0, Double_t x1, Double_t y1, Double_t x) const |
Double_t | xFrom2Points (Double_t x0, Double_t y0, Double_t x1, Double_t y1, Double_t y) const |
Double_t | rMaxFrom2Points (const TGeoPcon *p, Int_t i1, Int_t i2, Double_t z) const |
Double_t | rMinFrom2Points (const TGeoPcon *p, Int_t i1, Int_t i2, Double_t z) const |
Double_t | rFrom2Points (const Double_t *ar, const Double_t *az, Int_t i1, Int_t i2, Double_t z) const |
Double_t | zFrom2MinPoints (const TGeoPcon *p, Int_t i1, Int_t i2, Double_t r) const |
Double_t | zFrom2MaxPoints (const TGeoPcon *p, Int_t i1, Int_t i2, Double_t r) const |
Double_t | zFrom2Points (const Double_t *az, const Double_t *ar, Int_t i1, Int_t i2, Double_t r) const |
Double_t | rMaxFromZpCone (const TGeoPcon *p, int ip, Double_t tc, Double_t z, Double_t th=0.0) const |
Double_t | rFromZpCone (const Double_t *ar, const Double_t *az, int ip, Double_t tc, Double_t z, Double_t th=0.0) const |
Double_t | rMinFromZpCone (const TGeoPcon *p, Int_t ip, Double_t tc, Double_t z, Double_t th=0.0) const |
Double_t | zFromRMaxpCone (const TGeoPcon *p, int ip, Double_t tc, Double_t r, Double_t th=0.0) const |
Double_t | zFromRMaxpCone (const Double_t *ar, const Double_t *az, Int_t ip, Double_t tc, Double_t r, Double_t th=0.0) const |
Double_t | zFromRMinpCone (const TGeoPcon *p, int ip, Double_t tc, Double_t r, Double_t th=0.0) const |
void | insidePoint (const TGeoPcon *p, Int_t i1, Int_t i2, Int_t i3, Double_t Cthick, TGeoPcon *q, Int_t j1, Bool_t max) const |
void | insidePoint (Double_t x0, Double_t y0, Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t c, Double_t &x, Double_t &y) const |
void | radiusOfCurvature (Double_t rc, Double_t theta0, Double_t z0, Double_t r0, Double_t theta1, Double_t &z1, Double_t &r1) const |
void | printArb8 (const TGeoArb8 *a) const |
void | printPcon (const TGeoPcon *a) const |
void | printTube (const TGeoTube *a) const |
void | printTubeSeg (const TGeoTubeSeg *a) const |
void | printConeSeg (const TGeoConeSeg *a) const |
void | printBBox (const TGeoBBox *a) const |
void | drawCrossSection (const TGeoPcon *p, Int_t fillc=7, Int_t fills=4050, Int_t linec=3, Int_t lines=1, Int_t linew=4, Int_t markc=2, Int_t marks=4, Float_t marksize=1.0) const |
Bool_t | angleOfIntersectionWithLine (Double_t x0, Double_t y0, Double_t x1, Double_t y1, Double_t xc, Double_t yc, Double_t rc, Double_t &t0, Double_t &t1) const |
void | anglesForRoundedCorners (Double_t x0, Double_t y0, Double_t r0, Double_t x1, Double_t y1, Double_t r1, Double_t &t0, Double_t &t1) const |
void | createDefaultMaterials () |
virtual void | createMaterials () |
void | makeFigure1 (Double_t x0=0.0, Double_t y0=0.0, Double_t r0=2.0, Double_t x1=-4.0, Double_t y1=-2.0, Double_t r1=1.0) |
Static Public Member Functions | |
static Bool_t | intersectCircle (Double_t m, Double_t x0, Double_t y0, Double_t rr, Double_t xc, Double_t yc, Double_t &xi1, Double_t &yi1, Double_t &xi2, Double_t &yi2) |
Static Protected Attributes | |
static const Double_t | sMicron = 1.0E-4 |
Convert micron to TGeom's cm. | |
static const Double_t | sMm = 0.10 |
Convert mm to TGeom's cm. | |
static const Double_t | sCm = 1.00 |
Convert cm to TGeom's cm. | |
static const Double_t | sDegree = 1.0 |
Convert degrees to TGeom's degrees. | |
static const Double_t | sRadian = 180. / 3.14159265358979323846 |
To Radians. | |
static const Double_t | sGCm3 = 1.0 |
Density in g/cm^3. | |
static const Double_t | sKgm3 = 1.0E+3 |
Density in kg/m^3. | |
static const Double_t | sKgdm3 = 1.0 |
Density in kg/dm^3. | |
static const Double_t | sCelsius = 1.0 |
Temperature in degrees Celcius. | |
static const Double_t | sPascal = 1.0E-3 |
Preasure in Pascal. | |
static const Double_t | sKPascal = 1.0 |
Preasure in KPascal. | |
static const Double_t | sEV = 1.0E-9 |
Energy in eV. | |
static const Double_t | sKEV = 1.0e-6 |
Energy in KeV. | |
static const Double_t | sMEV = 1.0e-3 |
Energy in MeV. | |
static const Double_t | sGEV = 1.0 |
Energy in GeV. | |
This class is a base class for the ITS geometry version 11. It contains common/standard functions used in many places in defining the ITS geometry, version 11. Large posions of the ITS geometry, version 11, should be derived from this class so as to make maximum use of these common functions. This class also defines the proper conversion values such, to cm and degrees, such that the most useful units, those used in the Engineering drawings, can be used.
Definition at line 40 of file V11Geometry.h.
|
inline |
Definition at line 44 of file V11Geometry.h.
|
inline |
Definition at line 46 of file V11Geometry.h.
|
overridedefault |
Bool_t V11Geometry::angleOfIntersectionWithLine | ( | Double_t | x0, |
Double_t | y0, | ||
Double_t | x1, | ||
Double_t | y1, | ||
Double_t | xc, | ||
Double_t | yc, | ||
Double_t | rc, | ||
Double_t & | t0, | ||
Double_t & | t1 | ||
) | const |
Computes the angles, t0 and t1 corresponding to the intersection of the line, defined by {x0,y0} {x1,y1}, and the circle, defined by its center {xc,yc} and radius r. If the line does not intersect the line, function returns kFALSE, otherwise it returns kTRUE. If the line is tangent to the circle, the angles t0 and t1 will be the same. Returns kTRUE if line intersects circle or kFALSE if line does not intersect circle or the line is not properly defined point {x0,y0} and {x1,y1} are the same point.
Double_t | x0 X of first point defining the line |
Double_t | y0 Y of first point defining the line |
Double_t | x1 X of Second point defining the line |
Double_t | y1 Y of Second point defining the line |
Double_t | xc X of Circle center point defining the line |
Double_t | yc Y of Circle center point defining the line |
Double_t | r radius of circle |
Double_t | &t0 First angle where line intersects circle |
Double_t | &t1 Second angle where line intersects circle |
Definition at line 945 of file V11Geometry.cxx.
void V11Geometry::anglesForRoundedCorners | ( | Double_t | x0, |
Double_t | y0, | ||
Double_t | r0, | ||
Double_t | x1, | ||
Double_t | y1, | ||
Double_t | r1, | ||
Double_t & | t0, | ||
Double_t & | t1 | ||
) | const |
Function to compute the ending angle, for arc 0, and starting angle, for arc 1, such that a straight line will connect them with no discontinuities. Begin_Html
Double_t | x0 X Coordinate of arc 0 center. |
Double_t | y0 Y Coordinate of arc 0 center. |
Double_t | r0 Radius of curvature of arc 0. For signe see figure. |
Double_t | x1 X Coordinate of arc 1 center. |
Double_t | y1 Y Coordinate of arc 1 center. |
Double_t | r1 Radius of curvature of arc 1. For signe see figure. |
Double_t | t0 Ending angle of arch 0, with respect to x axis, Degrees. |
Double_t | t1 Starting angle of arch 1, with respect to x axis, Degrees. |
Definition at line 1074 of file V11Geometry.cxx.
|
inline |
Cosine function.
Definition at line 91 of file V11Geometry.h.
void V11Geometry::createDefaultMaterials | ( | ) |
Define a general createMaterials function here so that if any specific subdetector does not define it this null function will due. This function is not declaired const so that a sub- detector's version may use class variables if they wish. Defined media here should correspond to the one defined in galice.cuts File which is red in (AliMC*) fMCApp::Init() { ReadTransPar(); }
Definition at line 390 of file V11Geometry.cxx.
|
inlinevirtual |
Definition at line 417 of file V11Geometry.h.
void V11Geometry::drawCrossSection | ( | const TGeoPcon * | p, |
Int_t | fillc = 7 , |
||
Int_t | fills = 4050 , |
||
Int_t | linec = 3 , |
||
Int_t | lines = 1 , |
||
Int_t | linew = 4 , |
||
Int_t | markc = 2 , |
||
Int_t | marks = 4 , |
||
Float_t | marksize = 1.0 |
||
) | const |
Draws a cross sectional view of the TGeoPcon, Primarily for debugging. A TCanvas should exist first.
TGeoPcon | *p The TGeoPcon to be "drawn" |
Int_t | fillc The fill color to be used |
Int_t | fills The fill style to be used |
Int_t | linec The line color to be used |
Int_t | lines The line style to be used |
Int_t | linew The line width to be used |
Int_t | markc The markder color to be used |
Int_t | marks The markder style to be used |
Float_t | marksize The marker size |
Definition at line 893 of file V11Geometry.cxx.
|
inline |
Returns the debug flag value.
Definition at line 76 of file V11Geometry.h.
|
inline |
Get detector name.
Definition at line 58 of file V11Geometry.h.
void V11Geometry::insidePoint | ( | const TGeoPcon * | p, |
Int_t | i1, | ||
Int_t | i2, | ||
Int_t | i3, | ||
Double_t | Cthick, | ||
TGeoPcon * | q, | ||
Int_t | j1, | ||
Bool_t | max | ||
) | const |
Given two lines defined by the points i1, i2,i3 in the TGeoPcon class p that intersect at point p->GetZ(i2) return the point z,r that is Cthick away in the TGeoPcon class q. If points i1=i2 and max == kTRUE, then p->GetRmin(i1) and p->GetRmax(i2) are used. if points i2=i3 and max=kTRUE then points p->GetRmax(i2) and p->GetRmin(i3) are used. If i2=i3 and max=kFALSE, then p->GetRmin(i2) and p->GetRmax(i3) are used.
TGeoPcon | *p Class where points i1, i2, and i3 are taken from |
Int_t | i1 First point in class p |
Int_t | i2 Second point in class p |
Int_t | i3 Third point in class p |
Double_t | c Distance inside the outer/inner surface that the point j1 is to be computed for |
TGeoPcon | *q Pointer to class for results to be put into. |
Int_t | j1 Point in class q where data is to be stored. |
Bool_t | ma if kTRUE, then a Rmax value is computed, else a Rmin valule is computed |
TGeoPcon | *q Pointer to class for results to be put into. |
Definition at line 245 of file V11Geometry.cxx.
void V11Geometry::insidePoint | ( | Double_t | x0, |
Double_t | y0, | ||
Double_t | x1, | ||
Double_t | y1, | ||
Double_t | x2, | ||
Double_t | y2, | ||
Double_t | c, | ||
Double_t & | x, | ||
Double_t & | y | ||
) | const |
Given two intersecting lines defined by the points (x0,y0), (x1,y1) and (x1,y1), (x2,y2) {intersecting at (x1,y1)} the point (x,y) a distance c away is returned such that two lines a distance c away from the lines defined above intersect at (x,y).
Double_t | x0 X point on the first intersecting sets of lines |
Double_t | y0 Y point on the first intersecting sets of lines |
Double_t | x1 X point on the first/second intersecting sets of lines |
Double_t | y1 Y point on the first/second intersecting sets of lines |
Double_t | x2 X point on the second intersecting sets of lines |
Double_t | y2 Y point on the second intersecting sets of lines |
Double_t | c Distance the two sets of lines are from each other |
Double_t | x X point for the intersecting sets of parellel lines |
Double_t | y Y point for the intersecting sets of parellel lines |
Definition at line 285 of file V11Geometry.cxx.
|
static |
Determine the intersection of a line and a circle Given a line passing by (x0,y0) with slope m and a circle with radius rr and center (xc,yc), returns the coordinates of the intersecting points (xi1,yi1) and (xi2,yi2) (xi1 > xi2)
Double_t | m The slope of the line |
Double_t | x0,y0 The x and y coord. of the point |
Double_t | rr The radius of the circle |
Double_t | xc,yc The x and y coord. of the center of circle As an output it gives the coordinates xi and yi of the intersection points Returns kFALSE if the line does not intercept the circle, otherwise kTRUE |
Definition at line 76 of file V11Geometry.cxx.
void V11Geometry::intersectLines | ( | Double_t | m, |
Double_t | x0, | ||
Double_t | y0, | ||
Double_t | n, | ||
Double_t | x1, | ||
Double_t | y1, | ||
Double_t & | xi, | ||
Double_t & | yi | ||
) | const |
Determine the intersection of two lines Given the two lines, one passing by (x0,y0) with slope m and the other passing by (x1,y1) with slope n, returns the coordinates of the intersecting point (xi,yi)
Double_t | m The slope of the first line |
Double_t | x0,y0 The x and y coord. of the first point |
Double_t | n The slope of the second line |
Double_t | x1,y1 The x and y coord. of the second point As an output it gives the coordinates xi and yi of the intersection point |
Definition at line 62 of file V11Geometry.cxx.
void V11Geometry::makeFigure1 | ( | Double_t | x0 = 0.0 , |
Double_t | y0 = 0.0 , |
||
Double_t | r0 = 2.0 , |
||
Double_t | x1 = -4.0 , |
||
Double_t | y1 = -2.0 , |
||
Double_t | r1 = 1.0 |
||
) |
Function to create the figure describing how the function anglesForRoundedCorners works.
Double_t | x0 X Coordinate of arc 0 center. |
Double_t | y0 Y Coordinate of arc 0 center. |
Double_t | r0 Radius of curvature of arc 0. For signe see figure. |
Double_t | x1 X Coordinate of arc 1 center. |
Double_t | y1 Y Coordinate of arc 1 center. |
Double_t | r1 Radius of curvature of arc 1. For signe see figure. |
Definition at line 1118 of file V11Geometry.cxx.
void V11Geometry::printArb8 | ( | const TGeoArb8 * | a | ) | const |
Prints out the content of the TGeoArb8
TGeoArb8 | *a |
Definition at line 324 of file V11Geometry.cxx.
void V11Geometry::printBBox | ( | const TGeoBBox * | a | ) | const |
Prints out the contents of the TGeoBBox
TGeoBBox | *a |
Definition at line 380 of file V11Geometry.cxx.
void V11Geometry::printConeSeg | ( | const TGeoConeSeg * | a | ) | const |
Prints out the contents of the TGeoConeSeg
TGeoConeSeg | *a |
Definition at line 369 of file V11Geometry.cxx.
void V11Geometry::printPcon | ( | const TGeoPcon * | a | ) | const |
Prints out the contents of the TGeoPcon
TGeoPcon | *a |
Definition at line 334 of file V11Geometry.cxx.
void V11Geometry::printTube | ( | const TGeoTube * | a | ) | const |
Prints out the contents of the TGeoTube
TGeoTube | *a |
Definition at line 349 of file V11Geometry.cxx.
void V11Geometry::printTubeSeg | ( | const TGeoTubeSeg * | a | ) | const |
Prints out the contents of the TGeoTubeSeg
TGeoTubeSeg | *a |
Definition at line 359 of file V11Geometry.cxx.
void V11Geometry::radiusOfCurvature | ( | Double_t | rc, |
Double_t | theta0, | ||
Double_t | z0, | ||
Double_t | r0, | ||
Double_t | theta1, | ||
Double_t & | z1, | ||
Double_t & | r1 | ||
) | const |
Given an initial point z0,r0, the initial angle theta0, and the radius of curvature, returns the point z1, r1 at the angle theta1. Theta measured from the r axis in the clock wise direction [degrees].
Double_t | rc The radius of curvature |
Double_t | theta0 The starting angle (degrees) |
Double_t | z0 The value of z at theta0 |
Double_t | r0 The value of r at theta0 |
Double_t | theta1 The ending angle (degrees) |
Double_t | &z1 The value of z at theta1 |
Double_t | &r1 The value of r at theta1 |
Definition at line 237 of file V11Geometry.cxx.
Double_t V11Geometry::rFrom2Points | ( | const Double_t * | ar, |
const Double_t * | az, | ||
Int_t | i1, | ||
Int_t | i2, | ||
Double_t | z | ||
) | const |
Returns the value of Rmin corresponding to point z alone the line defined by the two points p->GetRmin(i1),p->GetZ(i1) and p->GetRmin(i2), p->GetZ(i2). Returns the value r corresponding to z and the line defined by the two points
Double_t | az Array of z values |
Double_t | r Array of r values |
Int_t | i1 First Point in arrays |
Int_t | i2 Second Point in arrays |
Double_t | z Value z at which r is to be found |
Definition at line 159 of file V11Geometry.cxx.
Double_t V11Geometry::rFromZpCone | ( | const Double_t * | ar, |
const Double_t * | az, | ||
int | ip, | ||
Double_t | tc, | ||
Double_t | z, | ||
Double_t | th = 0.0 |
||
) | const |
Definition at line 192 of file V11Geometry.cxx.
Double_t V11Geometry::rMaxFrom2Points | ( | const TGeoPcon * | p, |
Int_t | i1, | ||
Int_t | i2, | ||
Double_t | z | ||
) | const |
Functions require at parts of Volume A to be already defined. Returns the value of Rmax corresponding to point z alone the line defined by the two points p.Rmax(i1),p-GetZ(i1) and p->GetRmax(i2), p->GetZ(i2).
TGeoPcon | *p The Polycone where the two points come from |
Int_t | i1 Point 1 |
Int_t | i2 Point 2 |
Double_t | z The value of z for which Rmax is to be found |
Double_t | Rmx the value corresponding to z |
Definition at line 142 of file V11Geometry.cxx.
Double_t V11Geometry::rMaxFromZpCone | ( | const TGeoPcon * | p, |
int | ip, | ||
Double_t | tc, | ||
Double_t | z, | ||
Double_t | th = 0.0 |
||
) | const |
General Outer Cone surface equation Rmax Given 1 point from a TGeoPcon(z and Rmax) the angle tc returns r for a given z, an offset (distnace perpendicular to line at angle tc) of th may be applied. Returns the value Rmax corresponding to the line at angle th, offset by th, and the point p->GetZ/Rmin[ip] at the location z.
TGeoPcon | *p The poly cone where the initial point comes from |
Int_t | ip The index in p to get the point location |
Double_t | tc The angle of that part of the cone is at |
Double_t | z The value of z to compute Rmax from |
Double_t | th The perpendicular distance the parralell line is from the point ip |
Definition at line 183 of file V11Geometry.cxx.
Double_t V11Geometry::rMinFrom2Points | ( | const TGeoPcon * | p, |
Int_t | i1, | ||
Int_t | i2, | ||
Double_t | z | ||
) | const |
Returns the value of Rmin corresponding to point z alone the line defined by the two points p->GetRmin(i1),p->GetZ(i1) and p->GetRmin(i2), p->GetZ(i2).
TGeoPcon | *p The Polycone where the two points come from |
Int_t | i1 Point 1 |
Int_t | i2 Point 2 |
Double_t | z The value of z for which Rmax is to be found |
Double_t | Rmx the value corresponding to z |
Definition at line 153 of file V11Geometry.cxx.
Double_t V11Geometry::rMinFromZpCone | ( | const TGeoPcon * | p, |
Int_t | ip, | ||
Double_t | tc, | ||
Double_t | z, | ||
Double_t | th = 0.0 |
||
) | const |
General Inner Cone surface equation Rmin. Given 1 point from a TGeoPcon(z and Rmin) the angle tc returns r for a given z, an offset (distnace perpendicular to line at angle tc) of th may be applied. Returns the value Rmin correstponding to the line at angle th, offset by th, and the point p->GetZ/Rmin[ip] at the location z.
TGeoPcon | *p The poly cone where the initial point comes from |
Int_t | ip The index in p to get the point location |
Double_t | tc The angle of that part of the cone is at |
Double_t | z The value of z to compute Rmin from |
Double_t | th The perpendicular distance the parralell line is from the point ip |
Definition at line 201 of file V11Geometry.cxx.
|
inline |
Sets the debug flag for debugging output.
Definition at line 64 of file V11Geometry.h.
Set detector name.
Definition at line 52 of file V11Geometry.h.
|
inline |
Clears the debug flag so no debugging output will be generated.
Definition at line 70 of file V11Geometry.h.
|
inline |
Define Trig functions for use with degrees (standerd TGeo angles). Sine function
Definition at line 85 of file V11Geometry.h.
|
inline |
Tangent function.
Definition at line 97 of file V11Geometry.h.
Double_t V11Geometry::xFrom2Points | ( | Double_t | x0, |
Double_t | y0, | ||
Double_t | x1, | ||
Double_t | y1, | ||
Double_t | y | ||
) | const |
Given the two points (x0,y0) and (x1,y1) and the location y, returns the value x corresponding to that point y on the line defined by the two points. Returns the value x corresponding to the point y on the line defined by the two points (x0,y0) and (x1,y1).
Double_t | x0 The first x value defining the line |
Double_t | y0 The first y value defining the line |
Double_t | x1 The second x value defining the line |
Double_t | y1 The second y value defining the line |
Double_t | y The y value for which the x value is wanted. |
Definition at line 121 of file V11Geometry.cxx.
Double_t V11Geometry::yFrom2Points | ( | Double_t | x0, |
Double_t | y0, | ||
Double_t | x1, | ||
Double_t | y1, | ||
Double_t | x | ||
) | const |
Given the two points (x0,y0) and (x1,y1) and the location x, returns the value y corresponding to that point x on the line defined by the two points. Returns the value y corresponding to the point x on the line defined by the two points (x0,y0) and (x1,y1).
Double_t | x0 The first x value defining the line |
Double_t | y0 The first y value defining the line |
Double_t | x1 The second x value defining the line |
Double_t | y1 The second y value defining the line |
Double_t | x The x value for which the y value is wanted. |
Definition at line 99 of file V11Geometry.cxx.
Double_t V11Geometry::zFrom2MaxPoints | ( | const TGeoPcon * | p, |
Int_t | i1, | ||
Int_t | i2, | ||
Double_t | r | ||
) | const |
Returns the value of Z corresponding to point R alone the line defined by the two points p->GetRmax(i1),p->GetZ(i1) and p->GetRmax(i2),p->GetZ(i2). Returns the value z corresponding to r max and the line defined by the two points
TGeoPcon | *p The Poly cone where the two points come from. |
Int_t | i1 First Point in arrays |
Int_t | i2 Second Point in arrays |
Double_t | r Value r max at which z is to be found |
Definition at line 171 of file V11Geometry.cxx.
Double_t V11Geometry::zFrom2MinPoints | ( | const TGeoPcon * | p, |
Int_t | i1, | ||
Int_t | i2, | ||
Double_t | r | ||
) | const |
Returns the value of Z corresponding to point R alone the line defined by the two points p->GetRmin(i1),p->GetZ(i1) and p->GetRmin(i2),p->GetZ(i2). Returns the value z corresponding to r min and the line defined by the two points
TGeoPcon | *p The Poly cone where the two points come from. |
Int_t | i1 First Point in arrays |
Int_t | i2 Second Point in arrays |
Double_t | r Value r min at which z is to be found |
Definition at line 165 of file V11Geometry.cxx.
Double_t V11Geometry::zFrom2Points | ( | const Double_t * | az, |
const Double_t * | ar, | ||
Int_t | i1, | ||
Int_t | i2, | ||
Double_t | r | ||
) | const |
Returns the value of z corresponding to point R alone the line defined by the two points p->GetRmax(i1),p->GetZ(i1) and p->GetRmax(i2),p->GetZ(i2). Returns the value z corresponding to r and the line defined by the two points
Double_t | z Array of z values |
Double_t | ar Array of r values |
Int_t | i1 First Point in arrays |
Int_t | i2 Second Point in arrays |
Double_t | r Value r at which z is to be found |
Definition at line 177 of file V11Geometry.cxx.
Double_t o2::its::V11Geometry::zFromRMaxpCone | ( | const Double_t * | ar, |
const Double_t * | az, | ||
Int_t | ip, | ||
Double_t | tc, | ||
Double_t | r, | ||
Double_t | th = 0.0 |
||
) | const |
General Outer cone Surface equation for z. Returns the value Z correstponding to the line at angle th, offeset by th, and the point p->GetZ/Rmax[ip] at the locatin r.
Double_t | ar The array of R values |
Double_t | az The array of Z values |
Int_t | ip The index in p to get the point location |
Double_t | tc The angle of that part of the cone is at |
Double_t | r The value of Rmax to compute z from |
Double_t | th The perpendicular distance the parralell line is from the point ip |
Double_t V11Geometry::zFromRMaxpCone | ( | const TGeoPcon * | p, |
int | ip, | ||
Double_t | tc, | ||
Double_t | r, | ||
Double_t | th = 0.0 |
||
) | const |
General Outer cone Surface equation for z. Given 1 point from a TGeoPcon(z and Rmax) the angle tc returns z for a given Rmax, an offset (distnace perpendicular to line at angle tc) of th may be applied. Returns thevalue Z correstponding to the line at angle th, offset by th, and the point p->GetZ/Rmax[ip] at the location r.
TGeoPcon | *p The poly cone where the initial point comes from |
Int_t | ip The index in p to get the point location |
Double_t | tc The angle of that part of the cone is at |
Double_t | r The value of Rmax to compute z from |
Double_t | th The perpendicular distance the parralell line is from the point ip |
Definition at line 210 of file V11Geometry.cxx.
Double_t V11Geometry::zFromRMinpCone | ( | const TGeoPcon * | p, |
int | ip, | ||
Double_t | tc, | ||
Double_t | r, | ||
Double_t | th = 0.0 |
||
) | const |
General Inner cone Surface equation for z. Given 1 point from a TGeoPcon(z and Rmin) the angle tc returns z for a given Rmin, an offset (distnace perpendicular to line at angle tc) of th may be applied. Returns the value Z correstponding to the line at angle th, offeset by th, and the point p->GetZ/Rmin[ip] at the location r.
TGeoPcon | *p The poly cone where the initial point comes from |
Int_t | ip The index in p to get the point location |
Double_t | tc The angle of that part of the cone is at |
Double_t | r The value of Rmin to compute z from |
Double_t | th The perpendicular distance the parralell line is from the point ip |
Definition at line 228 of file V11Geometry.cxx.
|
staticprotected |
Temperature in degrees Celcius.
Definition at line 440 of file V11Geometry.h.
|
staticprotected |
Convert cm to TGeom's cm.
Definition at line 434 of file V11Geometry.h.
|
staticprotected |
Convert degrees to TGeom's degrees.
Definition at line 435 of file V11Geometry.h.
|
staticprotected |
Energy in eV.
Definition at line 443 of file V11Geometry.h.
|
staticprotected |
Density in g/cm^3.
Definition at line 437 of file V11Geometry.h.
|
staticprotected |
Energy in GeV.
Definition at line 446 of file V11Geometry.h.
|
staticprotected |
Energy in KeV.
Definition at line 444 of file V11Geometry.h.
|
staticprotected |
Density in kg/dm^3.
Definition at line 439 of file V11Geometry.h.
|
staticprotected |
Density in kg/m^3.
Definition at line 438 of file V11Geometry.h.
|
staticprotected |
Preasure in KPascal.
Definition at line 442 of file V11Geometry.h.
|
staticprotected |
Energy in MeV.
Definition at line 445 of file V11Geometry.h.
|
staticprotected |
Convert micron to TGeom's cm.
Definition at line 432 of file V11Geometry.h.
|
staticprotected |
Convert mm to TGeom's cm.
Definition at line 433 of file V11Geometry.h.
|
staticprotected |
Preasure in Pascal.
Definition at line 441 of file V11Geometry.h.
|
staticprotected |
To Radians.
Definition at line 436 of file V11Geometry.h.