|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include "../profiling/bmnloadlibs.C"#include "TFile.h"#include "TGeoManager.h"#include "TGeoMedium.h"#include "TGeoVolume.h"Go to the source code of this file.
Namespaces | |
| namespace | NDetGeom |
Functions | |
| constexpr Double_t | NDetGeom::Half (Double_t fullSize) |
| constexpr Double_t | NDetGeom::FrontToLocalZ (Double_t zFront) |
| void | DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild) |
| void | create_rootgeom_HGND_run9 (Double_t distToDetector=699.7, Double_t yShift=0.0, Double_t rotYdeg=-10.0, Double_t rotXdeg=0.0, const char *geoTag="") |
| HGND Run9 geometry creation macro Two identical layers (scintillator cell + PCB), no absorber between them – a bare test-stand / cosmic-test geometry. | |
Variables | |
| TGeoMedium * | pMedVacuum = nullptr |
| TGeoMedium * | pMedAir = nullptr |
| TGeoMedium * | pMedG10 = nullptr |
| TGeoMedium * | pMedScint = nullptr |
| void create_rootgeom_HGND_run9 | ( | Double_t | distToDetector = 699.7, |
| Double_t | yShift = 0.0, | ||
| Double_t | rotYdeg = -10.0, | ||
| Double_t | rotXdeg = 0.0, | ||
| const char * | geoTag = "" ) |
| distToDetector | Distance from target to the front face of detector, cm. |
| yShift | Vertical shift of the detector center, cm. |
| rotYdeg | Rotation of the detector around the Y axis, degrees. |
| rotXdeg | Rotation of the detector around the X axis, degrees. |
| geoTag | Optional short tag appended to the output geometry |
Definition at line 100 of file create_rootgeom_HGND_run9.C.
References TGeoVolume::AddNode(), bmnloadlibs(), TFile::Close(), TString::Data(), DefineRequiredMedia(), BmnNdetGeoPar::fCommonVolumeName, BmnNdetGeoPar::fDetectorVolumeName, BmnNdetGeoPar::fEnvelopeVolumeName, BmnNdetGeoPar::fModuleVolumeName, NDetGeom::FrontToLocalZ(), BmnNdetGeoPar::fTopVolumeName, BmnNdetGeoPar::G10_name_NICA, NDetGeom::Half(), NDetGeom::kEnvelopeMargin, NDetGeom::kEnvelopeSizeX, NDetGeom::kEnvelopeSizeY, NDetGeom::kEnvelopeSizeZ, NDetGeom::kG10SizeX, NDetGeom::kG10SizeY, NDetGeom::kG10SizeZ, NDetGeom::kNCellsPerLayer, NDetGeom::kNColumns, NDetGeom::kNLayers, NDetGeom::kNRows, NDetGeom::kScintFrontZ, NDetGeom::kScintSizeX, NDetGeom::kScintSizeY, NDetGeom::kScintSizeZ, TGeoRotation::LocalToMaster(), pMedAir, pMedG10, pMedScint, pMedVacuum, TGeoRotation::RotateX(), TGeoRotation::RotateY(), BmnNdetGeoPar::SensitiveVolume_name_NICA, TAttFill::SetFillColor(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetVisContainers(), TObject::Write(), and yShift.
| void DefineRequiredMedia | ( | FairGeoMedia * | geoMedia, |
| FairGeoBuilder * | geoBuild ) |
Definition at line 68 of file create_rootgeom_HGND_run9.C.
References m, pMedAir, pMedG10, pMedScint, and pMedVacuum.
Referenced by create_rootgeom_HGND_run9().
| TGeoMedium* pMedAir = nullptr |
Definition at line 64 of file create_rootgeom_HGND_run9.C.
| TGeoMedium* pMedG10 = nullptr |
Definition at line 65 of file create_rootgeom_HGND_run9.C.
| TGeoMedium* pMedScint = nullptr |
Definition at line 66 of file create_rootgeom_HGND_run9.C.
| TGeoMedium* pMedVacuum = nullptr |
Definition at line 63 of file create_rootgeom_HGND_run9.C.