Project
Loading...
Searching...
No Matches
o2::its::V11Geometry Class Reference

#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 charGetDetName () 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ V11Geometry() [1/2]

o2::its::V11Geometry::V11Geometry ( )
inline

Definition at line 44 of file V11Geometry.h.

◆ V11Geometry() [2/2]

o2::its::V11Geometry::V11Geometry ( Int_t  debug,
const char name = "ITS" 
)
inline

Definition at line 46 of file V11Geometry.h.

◆ ~V11Geometry()

o2::its::V11Geometry::~V11Geometry ( )
overridedefault

Member Function Documentation

◆ angleOfIntersectionWithLine()

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.

Parameters
Double_tx0 X of first point defining the line
Double_ty0 Y of first point defining the line
Double_tx1 X of Second point defining the line
Double_ty1 Y of Second point defining the line
Double_txc X of Circle center point defining the line
Double_tyc Y of Circle center point defining the line
Double_tr 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.

◆ anglesForRoundedCorners()

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

Parameters
Double_tx0 X Coordinate of arc 0 center.
Double_ty0 Y Coordinate of arc 0 center.
Double_tr0 Radius of curvature of arc 0. For signe see figure.
Double_tx1 X Coordinate of arc 1 center.
Double_ty1 Y Coordinate of arc 1 center.
Double_tr1 Radius of curvature of arc 1. For signe see figure.
Double_tt0 Ending angle of arch 0, with respect to x axis, Degrees.
Double_tt1 Starting angle of arch 1, with respect to x axis, Degrees.

Definition at line 1074 of file V11Geometry.cxx.

◆ cosD()

Double_t o2::its::V11Geometry::cosD ( Double_t  deg) const
inline

Cosine function.

Definition at line 91 of file V11Geometry.h.

◆ createDefaultMaterials()

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.

◆ createMaterials()

virtual void o2::its::V11Geometry::createMaterials ( )
inlinevirtual

Definition at line 417 of file V11Geometry.h.

◆ drawCrossSection()

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.

Parameters
TGeoPcon*p The TGeoPcon to be "drawn"
Int_tfillc The fill color to be used
Int_tfills The fill style to be used
Int_tlinec The line color to be used
Int_tlines The line style to be used
Int_tlinew The line width to be used
Int_tmarkc The markder color to be used
Int_tmarks The markder style to be used
Float_tmarksize The marker size

Definition at line 893 of file V11Geometry.cxx.

◆ getDebug()

Bool_t o2::its::V11Geometry::getDebug ( Int_t  level = 1) const
inline

Returns the debug flag value.

Definition at line 76 of file V11Geometry.h.

◆ GetDetName()

const char * o2::its::V11Geometry::GetDetName ( ) const
inline

Get detector name.

Definition at line 58 of file V11Geometry.h.

◆ insidePoint() [1/2]

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.

Parameters
TGeoPcon*p Class where points i1, i2, and i3 are taken from
Int_ti1 First point in class p
Int_ti2 Second point in class p
Int_ti3 Third point in class p
Double_tc 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_tj1 Point in class q where data is to be stored.
Bool_tma 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.

◆ insidePoint() [2/2]

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).

Parameters
Double_tx0 X point on the first intersecting sets of lines
Double_ty0 Y point on the first intersecting sets of lines
Double_tx1 X point on the first/second intersecting sets of lines
Double_ty1 Y point on the first/second intersecting sets of lines
Double_tx2 X point on the second intersecting sets of lines
Double_ty2 Y point on the second intersecting sets of lines
Double_tc Distance the two sets of lines are from each other
Double_tx X point for the intersecting sets of parellel lines
Double_ty Y point for the intersecting sets of parellel lines

Definition at line 285 of file V11Geometry.cxx.

◆ intersectCircle()

Bool_t V11Geometry::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

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)

Parameters
Double_tm The slope of the line
Double_tx0,y0 The x and y coord. of the point
Double_trr The radius of the circle
Double_txc,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.

◆ intersectLines()

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)

Parameters
Double_tm The slope of the first line
Double_tx0,y0 The x and y coord. of the first point
Double_tn The slope of the second line
Double_tx1,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.

◆ makeFigure1()

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.

Parameters
Double_tx0 X Coordinate of arc 0 center.
Double_ty0 Y Coordinate of arc 0 center.
Double_tr0 Radius of curvature of arc 0. For signe see figure.
Double_tx1 X Coordinate of arc 1 center.
Double_ty1 Y Coordinate of arc 1 center.
Double_tr1 Radius of curvature of arc 1. For signe see figure.

Definition at line 1118 of file V11Geometry.cxx.

◆ printArb8()

void V11Geometry::printArb8 ( const TGeoArb8 *  a) const

Prints out the content of the TGeoArb8

Parameters
TGeoArb8*a

Definition at line 324 of file V11Geometry.cxx.

◆ printBBox()

void V11Geometry::printBBox ( const TGeoBBox *  a) const

Prints out the contents of the TGeoBBox

Parameters
TGeoBBox*a

Definition at line 380 of file V11Geometry.cxx.

◆ printConeSeg()

void V11Geometry::printConeSeg ( const TGeoConeSeg *  a) const

Prints out the contents of the TGeoConeSeg

Parameters
TGeoConeSeg*a

Definition at line 369 of file V11Geometry.cxx.

◆ printPcon()

void V11Geometry::printPcon ( const TGeoPcon *  a) const

Prints out the contents of the TGeoPcon

Parameters
TGeoPcon*a

Definition at line 334 of file V11Geometry.cxx.

◆ printTube()

void V11Geometry::printTube ( const TGeoTube *  a) const

Prints out the contents of the TGeoTube

Parameters
TGeoTube*a

Definition at line 349 of file V11Geometry.cxx.

◆ printTubeSeg()

void V11Geometry::printTubeSeg ( const TGeoTubeSeg *  a) const

Prints out the contents of the TGeoTubeSeg

Parameters
TGeoTubeSeg*a

Definition at line 359 of file V11Geometry.cxx.

◆ radiusOfCurvature()

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].

Parameters
Double_trc The radius of curvature
Double_ttheta0 The starting angle (degrees)
Double_tz0 The value of z at theta0
Double_tr0 The value of r at theta0
Double_ttheta1 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.

◆ rFrom2Points()

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

Parameters
Double_taz Array of z values
Double_tr Array of r values
Int_ti1 First Point in arrays
Int_ti2 Second Point in arrays
Double_tz Value z at which r is to be found

Definition at line 159 of file V11Geometry.cxx.

◆ rFromZpCone()

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.

◆ rMaxFrom2Points()

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).

Parameters
TGeoPcon*p The Polycone where the two points come from
Int_ti1 Point 1
Int_ti2 Point 2
Double_tz The value of z for which Rmax is to be found
Double_tRmx the value corresponding to z

Definition at line 142 of file V11Geometry.cxx.

◆ rMaxFromZpCone()

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.

Parameters
TGeoPcon*p The poly cone where the initial point comes from
Int_tip The index in p to get the point location
Double_ttc The angle of that part of the cone is at
Double_tz The value of z to compute Rmax from
Double_tth The perpendicular distance the parralell line is from the point ip

Definition at line 183 of file V11Geometry.cxx.

◆ rMinFrom2Points()

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).

Parameters
TGeoPcon*p The Polycone where the two points come from
Int_ti1 Point 1
Int_ti2 Point 2
Double_tz The value of z for which Rmax is to be found
Double_tRmx the value corresponding to z

Definition at line 153 of file V11Geometry.cxx.

◆ rMinFromZpCone()

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.

Parameters
TGeoPcon*p The poly cone where the initial point comes from
Int_tip The index in p to get the point location
Double_ttc The angle of that part of the cone is at
Double_tz The value of z to compute Rmin from
Double_tth The perpendicular distance the parralell line is from the point ip

Definition at line 201 of file V11Geometry.cxx.

◆ setDebug()

void o2::its::V11Geometry::setDebug ( Int_t  level = 5)
inline

Sets the debug flag for debugging output.

Definition at line 64 of file V11Geometry.h.

◆ SetDetName()

void o2::its::V11Geometry::SetDetName ( const char name)
inline

Set detector name.

Definition at line 52 of file V11Geometry.h.

◆ setNoDebug()

void o2::its::V11Geometry::setNoDebug ( )
inline

Clears the debug flag so no debugging output will be generated.

Definition at line 70 of file V11Geometry.h.

◆ sinD()

Double_t o2::its::V11Geometry::sinD ( Double_t  deg) const
inline

Define Trig functions for use with degrees (standerd TGeo angles). Sine function

Definition at line 85 of file V11Geometry.h.

◆ tanD()

Double_t o2::its::V11Geometry::tanD ( Double_t  deg) const
inline

Tangent function.

Definition at line 97 of file V11Geometry.h.

◆ xFrom2Points()

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).

Parameters
Double_tx0 The first x value defining the line
Double_ty0 The first y value defining the line
Double_tx1 The second x value defining the line
Double_ty1 The second y value defining the line
Double_ty The y value for which the x value is wanted.

Definition at line 121 of file V11Geometry.cxx.

◆ yFrom2Points()

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).

Parameters
Double_tx0 The first x value defining the line
Double_ty0 The first y value defining the line
Double_tx1 The second x value defining the line
Double_ty1 The second y value defining the line
Double_tx The x value for which the y value is wanted.

Definition at line 99 of file V11Geometry.cxx.

◆ zFrom2MaxPoints()

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

Parameters
TGeoPcon*p The Poly cone where the two points come from.
Int_ti1 First Point in arrays
Int_ti2 Second Point in arrays
Double_tr Value r max at which z is to be found

Definition at line 171 of file V11Geometry.cxx.

◆ zFrom2MinPoints()

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

Parameters
TGeoPcon*p The Poly cone where the two points come from.
Int_ti1 First Point in arrays
Int_ti2 Second Point in arrays
Double_tr Value r min at which z is to be found

Definition at line 165 of file V11Geometry.cxx.

◆ zFrom2Points()

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

Parameters
Double_tz Array of z values
Double_tar Array of r values
Int_ti1 First Point in arrays
Int_ti2 Second Point in arrays
Double_tr Value r at which z is to be found

Definition at line 177 of file V11Geometry.cxx.

◆ zFromRMaxpCone() [1/2]

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.

Parameters
Double_tar The array of R values
Double_taz The array of Z values
Int_tip The index in p to get the point location
Double_ttc The angle of that part of the cone is at
Double_tr The value of Rmax to compute z from
Double_tth The perpendicular distance the parralell line is from the point ip

◆ zFromRMaxpCone() [2/2]

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.

Parameters
TGeoPcon*p The poly cone where the initial point comes from
Int_tip The index in p to get the point location
Double_ttc The angle of that part of the cone is at
Double_tr The value of Rmax to compute z from
Double_tth The perpendicular distance the parralell line is from the point ip

Definition at line 210 of file V11Geometry.cxx.

◆ zFromRMinpCone()

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.

Parameters
TGeoPcon*p The poly cone where the initial point comes from
Int_tip The index in p to get the point location
Double_ttc The angle of that part of the cone is at
Double_tr The value of Rmin to compute z from
Double_tth The perpendicular distance the parralell line is from the point ip

Definition at line 228 of file V11Geometry.cxx.

Member Data Documentation

◆ sCelsius

const Double_t V11Geometry::sCelsius = 1.0
staticprotected

Temperature in degrees Celcius.

Definition at line 440 of file V11Geometry.h.

◆ sCm

const Double_t V11Geometry::sCm = 1.00
staticprotected

Convert cm to TGeom's cm.

Definition at line 434 of file V11Geometry.h.

◆ sDegree

const Double_t V11Geometry::sDegree = 1.0
staticprotected

Convert degrees to TGeom's degrees.

Definition at line 435 of file V11Geometry.h.

◆ sEV

const Double_t V11Geometry::sEV = 1.0E-9
staticprotected

Energy in eV.

Definition at line 443 of file V11Geometry.h.

◆ sGCm3

const Double_t V11Geometry::sGCm3 = 1.0
staticprotected

Density in g/cm^3.

Definition at line 437 of file V11Geometry.h.

◆ sGEV

const Double_t V11Geometry::sGEV = 1.0
staticprotected

Energy in GeV.

Definition at line 446 of file V11Geometry.h.

◆ sKEV

const Double_t V11Geometry::sKEV = 1.0e-6
staticprotected

Energy in KeV.

Definition at line 444 of file V11Geometry.h.

◆ sKgdm3

const Double_t V11Geometry::sKgdm3 = 1.0
staticprotected

Density in kg/dm^3.

Definition at line 439 of file V11Geometry.h.

◆ sKgm3

const Double_t V11Geometry::sKgm3 = 1.0E+3
staticprotected

Density in kg/m^3.

Definition at line 438 of file V11Geometry.h.

◆ sKPascal

const Double_t V11Geometry::sKPascal = 1.0
staticprotected

Preasure in KPascal.

Definition at line 442 of file V11Geometry.h.

◆ sMEV

const Double_t V11Geometry::sMEV = 1.0e-3
staticprotected

Energy in MeV.

Definition at line 445 of file V11Geometry.h.

◆ sMicron

const Double_t V11Geometry::sMicron = 1.0E-4
staticprotected

Convert micron to TGeom's cm.

Definition at line 432 of file V11Geometry.h.

◆ sMm

const Double_t V11Geometry::sMm = 0.10
staticprotected

Convert mm to TGeom's cm.

Definition at line 433 of file V11Geometry.h.

◆ sPascal

const Double_t V11Geometry::sPascal = 1.0E-3
staticprotected

Preasure in Pascal.

Definition at line 441 of file V11Geometry.h.

◆ sRadian

const Double_t V11Geometry::sRadian = 180. / 3.14159265358979323846
staticprotected

To Radians.

Definition at line 436 of file V11Geometry.h.


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