CbmRoot
|
#include <RichGeoCreator.h>
Public Member Functions | |
RichGeoCreator () | |
virtual | ~RichGeoCreator () |
void | Create () |
void | SetGeoName (const std::string &geoName) |
void | SetAddShieldingBox (bool addShildingBox) |
void | SetVolumeColors (bool setVolumeColors) |
Private Member Functions | |
void | CalculateParams () |
TGeoVolume * | CreatePmt () |
TGeoVolume * | CreateCameraModule () |
TGeoVolume * | CreateCameraStrip () |
TGeoVolumeAssembly * | CreateCameraContainer () |
TGeoVolumeAssembly * | CreateMirror () |
TGeoVolumeAssembly * | CreateMainFrame () |
TGeoVolume * | CreateGas () |
TGeoVolume * | CreateRichContainer () |
TGeoVolume * | CreateSensitivePlane () |
TGeoVolume * | CreateRichEntrance () |
TGeoVolume * | CreateRichExit () |
TGeoVolume * | CreatePipe () |
TGeoVolume * | CreatePipeCyl () |
TGeoVolumeAssembly * | CreateShieldingBox () |
TGeoVolumeAssembly * | CreateBeltAssembly () |
TGeoVolumeAssembly * | CreateMirrorSupportBelts () |
TGeoVolumeAssembly * | CreateMirrorSupportPillars () |
TGeoVolume * | CreateStuds (double zpos, double lenHalf, double angle) |
TGeoVolume * | CreatePillarConnection () |
void | CreateRich () |
double | ToDeg (double rad) |
double | ToRad (double deg) |
TGeoCompositeShape * | MakeSubtraction (const std::string &name, TGeoShape *left, TGeoShape *right, TGeoMatrix *lmat=nullptr, TGeoMatrix *rmat=nullptr) |
TGeoCompositeShape * | MakeUnion (const std::string &name, TGeoShape *left, TGeoShape *right, TGeoMatrix *lmat=nullptr, TGeoMatrix *rmat=nullptr) |
TGeoCompositeShape * | MakeIntersection (const std::string &name, TGeoShape *left, TGeoShape *right, TGeoMatrix *lmat=nullptr, TGeoMatrix *rmat=nullptr) |
TGeoCombiTrans * | MakeCombiTrans (double dx, double dy, double dz, double rotX, double rotY, double rotZ) |
TGeoTranslation * | MakeTrans (double dx, double dy, double dz) |
TGeoRotation * | MakeRot (double rotX, double rotY, double rotZ) |
Private Attributes | |
RichGeoMaterials | fMaterials |
std::string | fGeoName = "rich_v24a" |
bool | fAddShieldingBox = true |
bool | fSetVolumeColors = false |
double | fDegToRad = 1.74532925199433E-02 |
double | fRichOrigZ = 180. |
double | fAccAngle = 25. |
double | fRichLength = 220. |
double | fRichHeight = 501.7 |
double | fRichWidth = 600 |
double | fRichCoveringThickness = 0.5 |
double | fRichAddZ = 20. |
double | fRichEntranceWidth = 260. |
double | fRichEntranceHeight = 175. |
double | fRichEntranceThickness = 0.025 |
double | fRichExitWidth = 569. |
double | fRichExitHeight = 384. |
double | fRichExitThickness = 1 |
double | fPipeOuterRadiusEntrance = 16.4 |
double | fPipeThicknessEntrance = 0.3 |
double | fPipeOuterRadiusExit = 29.9 |
double | fPipeThicknessExit = fPipeThicknessEntrance |
double | fPipeCylPartLen = 10.0 |
double | fPipeLength = fRichLength + 0.5 |
double | fMirrorRadius = 300. |
double | fMirrorThickness = 0.6 |
double | fMirrorPos = 350. |
double | fMirrorRot = 12. |
double | fMirrorPhiSize = 8.425 |
double | fMirrorPhiStep = 8.5 |
double | fMirrorThetaSize = 8.088 |
double | fMirrorThetaStep = 8.1625 |
double | fMirrorThetaGap = 0.0745 |
double | fMirrorSupportAdd = 4.5 |
double | fMirrorGapY = 0.1 |
int | fNofPixels = 8 |
double | fPixelSize = 0.6 |
double | fPixelSizeEdge = 0.625 |
double | fPixelThickness = 0.05 |
double | fPmtSize = 5.2 |
double | fPmtDepth = 3.871 |
double | fCameraRot = 15. |
double | fCameraShiftY = 2.5 |
double | fCameraShiftZ = 5. |
double | fCameraRadius = 169.7 |
double | fCameraGap = 0.1 |
double | fCameraTouchWidth = 15.75 |
double | fSensPlaneZ = -30. |
double | fCameraFullRotX = 0. |
double | fCameraOriginY = 0. |
double | fCameraOriginZ = 0. |
double | fMirrorOriginY = 0. |
double | fMirrorOriginZ = 0. |
double | fAlpha = 0. |
double | fCameraHeight = 0. |
double | fCameraTouchRadius = 0. |
double | fCameraSegmentAng = 0. |
Definition at line 28 of file RichGeoCreator.h.
RichGeoCreator::RichGeoCreator | ( | ) |
Definition at line 35 of file RichGeoCreator.cxx.
|
virtual |
Definition at line 37 of file RichGeoCreator.cxx.
|
private |
Definition at line 53 of file RichGeoCreator.cxx.
References cos(), fAccAngle, fAlpha, fCameraFullRotX, fCameraGap, fCameraHeight, fCameraOriginY, fCameraOriginZ, fCameraRadius, fCameraRot, fCameraSegmentAng, fCameraTouchRadius, fCameraTouchWidth, fMirrorOriginY, fMirrorOriginZ, fMirrorPos, fMirrorRadius, fMirrorRot, fPmtDepth, fPmtSize, sin(), sqrt(), ToDeg(), and ToRad().
Referenced by Create().
void RichGeoCreator::Create | ( | ) |
Definition at line 39 of file RichGeoCreator.cxx.
References CalculateParams(), CreateRich(), fGeoName, fMaterials, and RichGeoMaterials::Init().
|
private |
Definition at line 386 of file RichGeoCreator.cxx.
References fMaterials, RichGeoMaterials::GetMedium(), MakeCombiTrans(), and MakeTrans().
Referenced by CreateMirrorSupportBelts().
|
private |
Definition at line 192 of file RichGeoCreator.cxx.
References cos(), CreateCameraStrip(), fCameraRadius, fCameraSegmentAng, fPmtDepth, MakeCombiTrans(), sin(), and ToRad().
Referenced by CreateRich().
|
private |
Definition at line 142 of file RichGeoCreator.cxx.
References CreatePmt(), fCameraGap, fMaterials, fPmtDepth, fPmtSize, RichGeoMaterials::GetMedium(), and MakeTrans().
Referenced by CreateCameraStrip().
|
private |
Definition at line 162 of file RichGeoCreator.cxx.
References CreateCameraModule(), fCameraGap, fCameraTouchWidth, fMaterials, fPmtDepth, fPmtSize, RichGeoMaterials::GetMedium(), MakeTrans(), and MakeUnion().
Referenced by CreateCameraContainer().
|
private |
Definition at line 732 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fRichAddZ, fRichCoveringThickness, fRichEntranceHeight, fRichEntranceThickness, fRichExitThickness, fRichHeight, fRichLength, fRichWidth, RichGeoMaterials::GetMedium(), MakeSubtraction(), MakeTrans(), and MakeUnion().
Referenced by CreateRich().
|
private |
Definition at line 520 of file RichGeoCreator.cxx.
References fCameraFullRotX, fMaterials, fRichCoveringThickness, fRichHeight, fRichLength, fRichWidth, RichGeoMaterials::GetMedium(), MakeCombiTrans(), MakeSubtraction(), MakeTrans(), MakeUnion(), and pi.
Referenced by CreateRich().
|
private |
Definition at line 208 of file RichGeoCreator.cxx.
References fAlpha, fMaterials, fMirrorOriginY, fMirrorPhiSize, fMirrorPhiStep, fMirrorRadius, fMirrorRot, fMirrorThetaGap, fMirrorThickness, fRichWidth, RichGeoMaterials::GetMedium(), MakeCombiTrans(), MakeRot(), MakeSubtraction(), MakeTrans(), and pi.
Referenced by CreateRich().
|
private |
Definition at line 432 of file RichGeoCreator.cxx.
References CreateBeltAssembly(), fAlpha, fMaterials, fMirrorOriginY, fMirrorPhiSize, fMirrorPhiStep, fMirrorRadius, fMirrorRot, fMirrorSupportAdd, fMirrorThetaGap, fMirrorThetaSize, fMirrorThickness, fRichWidth, RichGeoMaterials::GetMedium(), MakeCombiTrans(), MakeRot(), MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 343 of file RichGeoCreator.cxx.
References CreatePillarConnection(), CreateStuds(), fMaterials, fRichHeight, RichGeoMaterials::GetMedium(), and MakeCombiTrans().
Referenced by CreateRich().
|
private |
Definition at line 319 of file RichGeoCreator.cxx.
References fMaterials, RichGeoMaterials::GetMedium(), MakeCombiTrans(), and pi.
Referenced by CreateMirrorSupportPillars().
|
private |
Definition at line 834 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fPipeThicknessEntrance, fPipeThicknessExit, and RichGeoMaterials::GetMedium().
Referenced by CreateRich().
|
private |
Definition at line 845 of file RichGeoCreator.cxx.
References fMaterials, fPipeCylPartLen, fPipeOuterRadiusEntrance, fPipeThicknessEntrance, and RichGeoMaterials::GetMedium().
|
private |
Definition at line 83 of file RichGeoCreator.cxx.
References fMaterials, fNofPixels, fPixelSize, fPixelSizeEdge, fPixelThickness, fPmtDepth, fPmtSize, RichGeoMaterials::GetMedium(), MakeTrans(), x, and y.
Referenced by CreateCameraModule().
|
private |
Definition at line 859 of file RichGeoCreator.cxx.
References CreateCameraContainer(), CreateGas(), CreateMainFrame(), CreateMirror(), CreateMirrorSupportBelts(), CreateMirrorSupportPillars(), CreatePipe(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), CreateSensitivePlane(), CreateShieldingBox(), fAddShieldingBox, fCameraFullRotX, fCameraOriginY, fCameraOriginZ, fCameraShiftY, fCameraShiftZ, fGeoName, fMirrorGapY, fMirrorOriginY, fMirrorOriginZ, fRichEntranceThickness, fRichExitThickness, fRichLength, fRichOrigZ, fSensPlaneZ, MakeCombiTrans(), and MakeTrans().
Referenced by Create().
|
private |
Definition at line 760 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fPipeThicknessEntrance, fPipeThicknessExit, fRichAddZ, fRichEntranceHeight, fRichHeight, fRichLength, fRichWidth, RichGeoMaterials::GetMedium(), MakeSubtraction(), MakeTrans(), and MakeUnion().
Referenced by CreateRich().
|
private |
Definition at line 792 of file RichGeoCreator.cxx.
References fMaterials, fPipeOuterRadiusEntrance, fRichEntranceHeight, fRichEntranceThickness, fRichEntranceWidth, fRichLength, RichGeoMaterials::GetMedium(), MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 814 of file RichGeoCreator.cxx.
References fMaterials, fPipeOuterRadiusExit, fRichExitHeight, fRichExitThickness, fRichExitWidth, fRichLength, RichGeoMaterials::GetMedium(), MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 780 of file RichGeoCreator.cxx.
References fMaterials, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fRichEntranceThickness, fRichExitThickness, fRichLength, fSensPlaneZ, RichGeoMaterials::GetMedium(), MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 933 of file RichGeoCreator.cxx.
References fMaterials, RichGeoMaterials::GetMedium(), MakeCombiTrans(), MakeIntersection(), MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 295 of file RichGeoCreator.cxx.
References fMaterials, RichGeoMaterials::GetMedium(), MakeCombiTrans(), and pi.
Referenced by CreateMirrorSupportPillars().
|
private |
Definition at line 1006 of file RichGeoCreator.cxx.
References MakeTrans().
Referenced by CreateBeltAssembly(), CreateCameraContainer(), CreateMainFrame(), CreateMirror(), CreateMirrorSupportBelts(), CreateMirrorSupportPillars(), CreatePillarConnection(), CreateRich(), CreateShieldingBox(), and CreateStuds().
|
private |
Definition at line 999 of file RichGeoCreator.cxx.
Referenced by CreateShieldingBox().
|
private |
Definition at line 1021 of file RichGeoCreator.cxx.
Referenced by CreateMirror(), and CreateMirrorSupportBelts().
|
private |
Definition at line 987 of file RichGeoCreator.cxx.
Referenced by CreateGas(), CreateMainFrame(), CreateMirror(), CreateMirrorSupportBelts(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), CreateSensitivePlane(), and CreateShieldingBox().
|
private |
Definition at line 1019 of file RichGeoCreator.cxx.
Referenced by CreateBeltAssembly(), CreateCameraModule(), CreateCameraStrip(), CreateGas(), CreateMainFrame(), CreateMirror(), CreateMirrorSupportBelts(), CreatePmt(), CreateRich(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), CreateSensitivePlane(), CreateShieldingBox(), and MakeCombiTrans().
|
private |
Definition at line 993 of file RichGeoCreator.cxx.
Referenced by CreateCameraStrip(), CreateGas(), CreateMainFrame(), and CreateRichContainer().
|
inline |
Definition at line 37 of file RichGeoCreator.h.
References fAddShieldingBox.
|
inline |
Definition at line 36 of file RichGeoCreator.h.
References fGeoName.
|
inline |
Definition at line 38 of file RichGeoCreator.h.
References fSetVolumeColors.
|
inlineprivate |
Definition at line 138 of file RichGeoCreator.h.
References fDegToRad.
Referenced by CalculateParams().
|
inlineprivate |
Definition at line 139 of file RichGeoCreator.h.
References fDegToRad.
Referenced by CalculateParams(), and CreateCameraContainer().
|
private |
Definition at line 50 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 44 of file RichGeoCreator.h.
Referenced by CreateRich(), and SetAddShieldingBox().
|
private |
Definition at line 109 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateMirror(), and CreateMirrorSupportBelts().
|
private |
Definition at line 104 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateMainFrame(), and CreateRich().
|
private |
Definition at line 97 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateCameraModule(), and CreateCameraStrip().
|
private |
Definition at line 110 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 105 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateRich().
|
private |
Definition at line 106 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateRich().
|
private |
Definition at line 96 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateCameraContainer().
|
private |
Definition at line 93 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 112 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateCameraContainer().
|
private |
Definition at line 94 of file RichGeoCreator.h.
Referenced by CreateRich().
|
private |
Definition at line 95 of file RichGeoCreator.h.
Referenced by CreateRich().
|
private |
Definition at line 111 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 98 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateCameraStrip().
|
private |
Definition at line 48 of file RichGeoCreator.h.
|
private |
Definition at line 43 of file RichGeoCreator.h.
Referenced by Create(), CreateRich(), and SetGeoName().
|
private |
Definition at line 41 of file RichGeoCreator.h.
Referenced by Create(), CreateBeltAssembly(), CreateCameraModule(), CreateCameraStrip(), CreateGas(), CreateMainFrame(), CreateMirror(), CreateMirrorSupportBelts(), CreateMirrorSupportPillars(), CreatePillarConnection(), CreatePipe(), CreatePipeCyl(), CreatePmt(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), CreateSensitivePlane(), CreateShieldingBox(), and CreateStuds().
|
private |
Definition at line 84 of file RichGeoCreator.h.
Referenced by CreateRich().
|
private |
Definition at line 107 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateMirror(), CreateMirrorSupportBelts(), and CreateRich().
|
private |
Definition at line 108 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateRich().
|
private |
Definition at line 78 of file RichGeoCreator.h.
Referenced by CreateMirror(), and CreateMirrorSupportBelts().
|
private |
Definition at line 79 of file RichGeoCreator.h.
Referenced by CreateMirror(), and CreateMirrorSupportBelts().
|
private |
Definition at line 76 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 74 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateMirror(), and CreateMirrorSupportBelts().
|
private |
Definition at line 77 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateMirror(), and CreateMirrorSupportBelts().
|
private |
Definition at line 83 of file RichGeoCreator.h.
Referenced by CreateMirrorSupportBelts().
|
private |
Definition at line 82 of file RichGeoCreator.h.
Referenced by CreateMirror(), and CreateMirrorSupportBelts().
|
private |
Definition at line 80 of file RichGeoCreator.h.
Referenced by CreateMirrorSupportBelts().
|
private |
Definition at line 81 of file RichGeoCreator.h.
|
private |
Definition at line 75 of file RichGeoCreator.h.
Referenced by CreateMirror(), and CreateMirrorSupportBelts().
|
private |
Definition at line 87 of file RichGeoCreator.h.
Referenced by CreatePmt().
|
private |
Definition at line 70 of file RichGeoCreator.h.
Referenced by CreatePipeCyl().
|
private |
Definition at line 71 of file RichGeoCreator.h.
Referenced by CreateGas(), CreatePipe(), and CreateRichContainer().
|
private |
Definition at line 66 of file RichGeoCreator.h.
Referenced by CreateGas(), CreatePipe(), CreatePipeCyl(), CreateRichContainer(), CreateRichEntrance(), and CreateSensitivePlane().
|
private |
Definition at line 68 of file RichGeoCreator.h.
Referenced by CreateGas(), CreatePipe(), CreateRichContainer(), CreateRichExit(), and CreateSensitivePlane().
|
private |
Definition at line 67 of file RichGeoCreator.h.
Referenced by CreatePipe(), CreatePipeCyl(), and CreateRichContainer().
|
private |
Definition at line 69 of file RichGeoCreator.h.
Referenced by CreatePipe(), and CreateRichContainer().
|
private |
Definition at line 88 of file RichGeoCreator.h.
Referenced by CreatePmt().
|
private |
Definition at line 89 of file RichGeoCreator.h.
Referenced by CreatePmt().
|
private |
Definition at line 90 of file RichGeoCreator.h.
Referenced by CreatePmt().
|
private |
Definition at line 92 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateCameraContainer(), CreateCameraModule(), CreateCameraStrip(), and CreatePmt().
|
private |
Definition at line 91 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateCameraModule(), CreateCameraStrip(), and CreatePmt().
|
private |
Definition at line 55 of file RichGeoCreator.h.
Referenced by CreateGas(), and CreateRichContainer().
|
private |
Definition at line 54 of file RichGeoCreator.h.
Referenced by CreateGas(), and CreateMainFrame().
|
private |
Definition at line 59 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateRichContainer(), and CreateRichEntrance().
|
private |
Definition at line 60 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateRich(), CreateRichEntrance(), and CreateSensitivePlane().
|
private |
Definition at line 58 of file RichGeoCreator.h.
Referenced by CreateRichEntrance().
|
private |
Definition at line 62 of file RichGeoCreator.h.
Referenced by CreateRichExit().
|
private |
Definition at line 63 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateRich(), CreateRichExit(), and CreateSensitivePlane().
|
private |
Definition at line 61 of file RichGeoCreator.h.
Referenced by CreateRichExit().
|
private |
Definition at line 52 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateMainFrame(), CreateMirrorSupportPillars(), and CreateRichContainer().
|
private |
Definition at line 51 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateMainFrame(), CreateRich(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), and CreateSensitivePlane().
|
private |
Definition at line 49 of file RichGeoCreator.h.
Referenced by CreateRich().
|
private |
Definition at line 53 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateMainFrame(), CreateMirror(), CreateMirrorSupportBelts(), and CreateRichContainer().
|
private |
Definition at line 101 of file RichGeoCreator.h.
Referenced by CreateRich(), and CreateSensitivePlane().
|
private |
Definition at line 45 of file RichGeoCreator.h.
Referenced by SetVolumeColors().