![]() |
Project
|
This class defines the Geometry for the Services of the ITS Upgrade using TGeo. More...
#include <V3Services.h>
Inherits o2::its::V11Geometry.
Public Member Functions | |
V3Services () | |
V3Services (const char *name) | |
V3Services (const V3Services &)=default | |
Copy constructor. | |
V3Services & | operator= (const V3Services &)=default |
Assignment operator. | |
~V3Services () override | |
Default destructor. | |
TGeoVolume * | createIBEndWheelsSideA (const TGeoManager *mgr=gGeoManager) |
TGeoVolume * | createIBEndWheelsSideC (const TGeoManager *mgr=gGeoManager) |
TGeoVolume * | createCYSSAssembly (const TGeoManager *mgr=gGeoManager) |
void | createMBEndWheelsSideA (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
void | createMBEndWheelsSideC (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
void | createOBEndWheelsSideA (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
void | createOBEndWheelsSideC (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
void | createOBConeSideA (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
void | createOBConeSideC (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
void | createOBCYSSCylinder (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
void | createIBGammaConvWire (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
void | createAllITSServices (TGeoVolume *motherVolume, const TGeoManager *mgr=gGeoManager) |
void | createOBGammaConvWire (TGeoVolume *mother, const TGeoManager *mgr=gGeoManager) |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
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 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 defines the Geometry for the Services of the ITS Upgrade using TGeo.
Definition at line 38 of file V3Services.h.
V3Services::V3Services | ( | ) |
Definition at line 57 of file V3Services.cxx.
V3Services::V3Services | ( | const char * | name | ) |
Definition at line 62 of file V3Services.cxx.
|
default |
Copy constructor.
|
overridedefault |
Default destructor.
void V3Services::createAllITSServices | ( | TGeoVolume * | motherVolume, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Steering method to creates the ITS Services (tubes, cables, and the like)
motherVolume | the TGeoVolume owing the volume supports |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 2911 of file V3Services.cxx.
TGeoVolume * V3Services::createCYSSAssembly | ( | const TGeoManager * | mgr = gGeoManager | ) |
Creates the CYSS Assembly (i.e. the supporting half cylinder and cone)
mgr | The GeoManager (used only to get the proper material) |
Definition at line 125 of file V3Services.cxx.
TGeoVolume * V3Services::createIBEndWheelsSideA | ( | const TGeoManager * | mgr = gGeoManager | ) |
Creates the Inner Barrel End Wheels on Side A
mgr | The GeoManager (used only to get the proper material) |
Definition at line 69 of file V3Services.cxx.
TGeoVolume * V3Services::createIBEndWheelsSideC | ( | const TGeoManager * | mgr = gGeoManager | ) |
Creates the Inner Barrel End Wheels on Side C
mgr | The GeoManager (used only to get the proper material) |
Definition at line 97 of file V3Services.cxx.
void V3Services::createIBGammaConvWire | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Inner Barrel Gamma Conversion Wire
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 319 of file V3Services.cxx.
void V3Services::createMBEndWheelsSideA | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Middle Barrel End Wheels on Side A
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 176 of file V3Services.cxx.
void V3Services::createMBEndWheelsSideC | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Middle Barrel End Wheels on Side C
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 197 of file V3Services.cxx.
void V3Services::createOBConeSideA | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Outer Barrel Cone on Side A
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 260 of file V3Services.cxx.
void V3Services::createOBConeSideC | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Outer Barrel Cone on Side C
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 280 of file V3Services.cxx.
void V3Services::createOBCYSSCylinder | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Outer Barrel CYSS Cylinder
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 299 of file V3Services.cxx.
void V3Services::createOBEndWheelsSideA | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Outer Barrel End Wheels on Side A
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 218 of file V3Services.cxx.
void V3Services::createOBEndWheelsSideC | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Outer Barrel End Wheels on Side C
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 239 of file V3Services.cxx.
void V3Services::createOBGammaConvWire | ( | TGeoVolume * | mother, |
const TGeoManager * | mgr = gGeoManager |
||
) |
Creates the Outer Barrel Gamma Conversion Wire
mother | the TGeoVolume owing the volume structure |
mgr | The GeoManager (used only to get the proper material) |
Definition at line 339 of file V3Services.cxx.
|
default |
Assignment operator.