|
CbmRoot
|
#include <RichGeoCreator.h>
Public Member Functions | |
| RichGeoCreator () | |
| virtual | ~RichGeoCreator () |
| void | Create () |
| void | SetGeoName (const std::string &geoName) |
| std::string | GetGeoName () |
| 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 * | CreateMirrorFixing (const std::string &sides="both") |
| TGeoVolumeAssembly * | CreateMirrorSupportPillars () |
| TGeoVolume * | CreateStuds (double zpos, double lenHalf, double angle, const std::string &mirrorfixing="both") |
| 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_v25a" |
| 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 | fRichFlangeThickness = 5. |
| double | fRichExitWidth = 569. |
| double | fRichExitHeight = 384. |
| double | fRichExitThickness = 1.0 |
| double | fPipeOuterRadiusEntrance = 16.4 |
| double | fPipeThicknessEntrance = 0.3 |
| double | fPipeOuterRadiusExit = 29.9 |
| double | fPipeThicknessExit = fPipeThicknessEntrance |
| double | fPipeCylPartLen = 10.0 |
| double | fPipeLength = fRichLength + 4 |
| 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 29 of file RichGeoCreator.h.
| RichGeoCreator::RichGeoCreator | ( | ) |
Definition at line 34 of file RichGeoCreator.cxx.
|
virtual |
Definition at line 36 of file RichGeoCreator.cxx.
|
private |
Definition at line 48 of file RichGeoCreator.cxx.
References cos(), E, 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 38 of file RichGeoCreator.cxx.
References CalculateParams(), CreateRich(), fGeoName, and fMaterials.
|
private |
Definition at line 196 of file RichGeoCreator.cxx.
References cos(), CreateCameraStrip(), fCameraRadius, fCameraSegmentAng, fPmtDepth, MakeCombiTrans(), sin(), and ToRad().
Referenced by CreateRich().
|
private |
Definition at line 146 of file RichGeoCreator.cxx.
References CreatePmt(), fCameraGap, fMaterials, fPmtDepth, fPmtSize, and MakeTrans().
Referenced by CreateCameraStrip().
|
private |
Definition at line 166 of file RichGeoCreator.cxx.
References CreateCameraModule(), fCameraGap, fCameraTouchWidth, fMaterials, fPmtDepth, fPmtSize, MakeTrans(), and MakeUnion().
Referenced by CreateCameraContainer().
|
private |
Definition at line 912 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fRichAddZ, fRichCoveringThickness, fRichEntranceHeight, fRichEntranceThickness, fRichHeight, fRichLength, fRichWidth, MakeSubtraction(), MakeTrans(), and MakeUnion().
Referenced by CreateRich().
|
private |
Definition at line 695 of file RichGeoCreator.cxx.
References fCameraFullRotX, fMaterials, fRichCoveringThickness, fRichEntranceHeight, fRichEntranceWidth, fRichFlangeThickness, fRichHeight, fRichLength, fRichWidth, MakeCombiTrans(), MakeSubtraction(), MakeTrans(), MakeUnion(), and pi.
Referenced by CreateRich().
|
private |
Definition at line 212 of file RichGeoCreator.cxx.
References fAlpha, fMaterials, fMirrorOriginY, fMirrorPhiSize, fMirrorPhiStep, fMirrorRadius, fMirrorRot, fMirrorThetaGap, fMirrorThickness, fRichWidth, MakeCombiTrans(), MakeRot(), MakeSubtraction(), MakeTrans(), and pi.
Referenced by CreateRich().
|
private |
Definition at line 299 of file RichGeoCreator.cxx.
References fMaterials, MakeCombiTrans(), MakeTrans(), and pi.
Referenced by CreateStuds().
|
private |
Definition at line 458 of file RichGeoCreator.cxx.
References CreatePillarConnection(), CreateStuds(), fMaterials, fRichHeight, and MakeCombiTrans().
Referenced by CreateRich().
|
private |
Definition at line 432 of file RichGeoCreator.cxx.
References fMaterials, MakeCombiTrans(), and pi.
Referenced by CreateMirrorSupportPillars().
|
private |
Definition at line 1019 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fPipeThicknessEntrance, and fPipeThicknessExit.
Referenced by CreateRich().
|
private |
Definition at line 1030 of file RichGeoCreator.cxx.
References fMaterials, fPipeCylPartLen, fPipeOuterRadiusEntrance, and fPipeThicknessEntrance.
|
private |
Definition at line 78 of file RichGeoCreator.cxx.
References fMaterials, fNofPixels, fPixelSize, fPixelSizeEdge, fPixelThickness, fPmtDepth, fPmtSize, MakeTrans(), x, and y.
Referenced by CreateCameraModule().
|
private |
Definition at line 1044 of file RichGeoCreator.cxx.
References CreateCameraContainer(), CreateGas(), CreateMainFrame(), CreateMirror(), 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 938 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fPipeThicknessEntrance, fPipeThicknessExit, fRichAddZ, fRichEntranceHeight, fRichHeight, fRichLength, fRichWidth, MakeSubtraction(), MakeTrans(), and MakeUnion().
Referenced by CreateRich().
|
private |
Definition at line 970 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fRichCoveringThickness, fRichEntranceHeight, fRichEntranceThickness, fRichEntranceWidth, fRichFlangeThickness, fRichLength, MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 995 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fRichExitHeight, fRichExitThickness, fRichExitWidth, fRichFlangeThickness, fRichLength, MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 958 of file RichGeoCreator.cxx.
References fMaterials, fPipeLength, fPipeOuterRadiusEntrance, fPipeOuterRadiusExit, fRichEntranceThickness, fRichExitThickness, fSensPlaneZ, MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 1116 of file RichGeoCreator.cxx.
References fMaterials, MakeCombiTrans(), MakeIntersection(), MakeSubtraction(), and MakeTrans().
Referenced by CreateRich().
|
private |
Definition at line 394 of file RichGeoCreator.cxx.
References CreateMirrorFixing(), fMaterials, MakeCombiTrans(), and pi.
Referenced by CreateMirrorSupportPillars().
|
inline |
Definition at line 38 of file RichGeoCreator.h.
References fGeoName.
|
private |
Definition at line 1189 of file RichGeoCreator.cxx.
References MakeTrans().
Referenced by CreateCameraContainer(), CreateMainFrame(), CreateMirror(), CreateMirrorFixing(), CreateMirrorSupportPillars(), CreatePillarConnection(), CreateRich(), CreateShieldingBox(), and CreateStuds().
|
private |
Definition at line 1182 of file RichGeoCreator.cxx.
Referenced by CreateShieldingBox().
|
private |
Definition at line 1204 of file RichGeoCreator.cxx.
Referenced by CreateMirror().
|
private |
Definition at line 1170 of file RichGeoCreator.cxx.
Referenced by CreateGas(), CreateMainFrame(), CreateMirror(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), CreateSensitivePlane(), and CreateShieldingBox().
|
private |
Definition at line 1202 of file RichGeoCreator.cxx.
Referenced by CreateCameraModule(), CreateCameraStrip(), CreateGas(), CreateMainFrame(), CreateMirror(), CreateMirrorFixing(), CreatePmt(), CreateRich(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), CreateSensitivePlane(), CreateShieldingBox(), and MakeCombiTrans().
|
private |
Definition at line 1176 of file RichGeoCreator.cxx.
Referenced by CreateCameraStrip(), CreateGas(), CreateMainFrame(), and CreateRichContainer().
|
inline |
Definition at line 39 of file RichGeoCreator.h.
References fAddShieldingBox.
|
inline |
Definition at line 37 of file RichGeoCreator.h.
References fGeoName.
|
inline |
Definition at line 40 of file RichGeoCreator.h.
References fSetVolumeColors.
|
inlineprivate |
Definition at line 142 of file RichGeoCreator.h.
References fDegToRad.
Referenced by CalculateParams().
|
inlineprivate |
Definition at line 143 of file RichGeoCreator.h.
References fDegToRad.
Referenced by CalculateParams(), and CreateCameraContainer().
|
private |
Definition at line 52 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 46 of file RichGeoCreator.h.
Referenced by CreateRich(), and SetAddShieldingBox().
|
private |
Definition at line 112 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateMirror().
|
private |
Definition at line 107 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateMainFrame(), and CreateRich().
|
private |
Definition at line 100 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateCameraModule(), and CreateCameraStrip().
|
private |
Definition at line 113 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 108 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateRich().
|
private |
Definition at line 109 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateRich().
|
private |
Definition at line 99 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateCameraContainer().
|
private |
Definition at line 96 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 115 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateCameraContainer().
|
private |
Definition at line 97 of file RichGeoCreator.h.
Referenced by CreateRich().
|
private |
Definition at line 98 of file RichGeoCreator.h.
Referenced by CreateRich().
|
private |
Definition at line 114 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 101 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateCameraStrip().
|
private |
Definition at line 50 of file RichGeoCreator.h.
|
private |
Definition at line 45 of file RichGeoCreator.h.
Referenced by Create(), CreateRich(), GetGeoName(), and SetGeoName().
|
private |
Definition at line 43 of file RichGeoCreator.h.
Referenced by Create(), CreateCameraModule(), CreateCameraStrip(), CreateGas(), CreateMainFrame(), CreateMirror(), CreateMirrorFixing(), CreateMirrorSupportPillars(), CreatePillarConnection(), CreatePipe(), CreatePipeCyl(), CreatePmt(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), CreateSensitivePlane(), CreateShieldingBox(), and CreateStuds().
|
private |
Definition at line 87 of file RichGeoCreator.h.
Referenced by CreateRich().
|
private |
Definition at line 110 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateMirror(), and CreateRich().
|
private |
Definition at line 111 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateRich().
|
private |
Definition at line 81 of file RichGeoCreator.h.
Referenced by CreateMirror().
|
private |
Definition at line 82 of file RichGeoCreator.h.
Referenced by CreateMirror().
|
private |
Definition at line 79 of file RichGeoCreator.h.
Referenced by CalculateParams().
|
private |
Definition at line 77 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateMirror().
|
private |
Definition at line 80 of file RichGeoCreator.h.
Referenced by CalculateParams(), and CreateMirror().
|
private |
Definition at line 86 of file RichGeoCreator.h.
|
private |
Definition at line 85 of file RichGeoCreator.h.
Referenced by CreateMirror().
|
private |
Definition at line 83 of file RichGeoCreator.h.
|
private |
Definition at line 84 of file RichGeoCreator.h.
|
private |
Definition at line 78 of file RichGeoCreator.h.
Referenced by CreateMirror().
|
private |
Definition at line 90 of file RichGeoCreator.h.
Referenced by CreatePmt().
|
private |
Definition at line 73 of file RichGeoCreator.h.
Referenced by CreatePipeCyl().
|
private |
Definition at line 74 of file RichGeoCreator.h.
Referenced by CreateGas(), CreatePipe(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), and CreateSensitivePlane().
|
private |
Definition at line 69 of file RichGeoCreator.h.
Referenced by CreateGas(), CreatePipe(), CreatePipeCyl(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), and CreateSensitivePlane().
|
private |
Definition at line 71 of file RichGeoCreator.h.
Referenced by CreateGas(), CreatePipe(), CreateRichContainer(), CreateRichEntrance(), CreateRichExit(), and CreateSensitivePlane().
|
private |
Definition at line 70 of file RichGeoCreator.h.
Referenced by CreatePipe(), CreatePipeCyl(), and CreateRichContainer().
|
private |
Definition at line 72 of file RichGeoCreator.h.
Referenced by CreatePipe(), and CreateRichContainer().
|
private |
Definition at line 91 of file RichGeoCreator.h.
Referenced by CreatePmt().
|
private |
Definition at line 92 of file RichGeoCreator.h.
Referenced by CreatePmt().
|
private |
Definition at line 93 of file RichGeoCreator.h.
Referenced by CreatePmt().
|
private |
Definition at line 95 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateCameraContainer(), CreateCameraModule(), CreateCameraStrip(), and CreatePmt().
|
private |
Definition at line 94 of file RichGeoCreator.h.
Referenced by CalculateParams(), CreateCameraModule(), CreateCameraStrip(), and CreatePmt().
|
private |
Definition at line 57 of file RichGeoCreator.h.
Referenced by CreateGas(), and CreateRichContainer().
|
private |
Definition at line 56 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateMainFrame(), and CreateRichEntrance().
|
private |
Definition at line 61 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateMainFrame(), CreateRichContainer(), and CreateRichEntrance().
|
private |
Definition at line 62 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateRich(), CreateRichEntrance(), and CreateSensitivePlane().
|
private |
Definition at line 60 of file RichGeoCreator.h.
Referenced by CreateMainFrame(), and CreateRichEntrance().
|
private |
Definition at line 65 of file RichGeoCreator.h.
Referenced by CreateRichExit().
|
private |
Definition at line 66 of file RichGeoCreator.h.
Referenced by CreateRich(), CreateRichExit(), and CreateSensitivePlane().
|
private |
Definition at line 64 of file RichGeoCreator.h.
Referenced by CreateRichExit().
|
private |
Definition at line 63 of file RichGeoCreator.h.
Referenced by CreateMainFrame(), CreateRichEntrance(), and CreateRichExit().
|
private |
Definition at line 54 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateMainFrame(), CreateMirrorSupportPillars(), and CreateRichContainer().
|
private |
Definition at line 53 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateMainFrame(), CreateRich(), CreateRichContainer(), CreateRichEntrance(), and CreateRichExit().
|
private |
Definition at line 51 of file RichGeoCreator.h.
Referenced by CreateRich().
|
private |
Definition at line 55 of file RichGeoCreator.h.
Referenced by CreateGas(), CreateMainFrame(), CreateMirror(), and CreateRichContainer().
|
private |
Definition at line 104 of file RichGeoCreator.h.
Referenced by CreateRich(), and CreateSensitivePlane().
|
private |
Definition at line 47 of file RichGeoCreator.h.
Referenced by SetVolumeColors().