BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_1stConfig.C File Reference
#include "../../gem/BmnGemStripConfiguration.h"
#include "TFile.h"
#include "TGeoBBox.h"
#include "TGeoManager.h"
#include "TGeoShape.h"
#include "TMath.h"
#include "TString.h"
Include dependency graph for create_rootgeom_GEMS_1stConfig.C:

Go to the source code of this file.

Functions

void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_GEMS_1stConfig ()
void CreateStation_One66x41Plane (TGeoVolume *mother_volume, TString station_name, Double_t x_position, Double_t y_position, Double_t z_position, Bool_t IsInverted)
void CreateStation_Two66x41Plane (TGeoVolume *mother_volume, TString station_name, Double_t x_position, Double_t y_position, Double_t z_position)
void CreateStation_One163x45Plane (TGeoVolume *mother_volume, TString station_name, Double_t x_position, Double_t y_position, Double_t z_position, Double_t hole_radius_with_frame, Bool_t IsInverted)

Variables

TGeoManager * gGeoMan = NULL
const Int_t nStations = 6
Double_t XStationPositions [nStations] = BmnGemStripPositions_FirstConfig::XStationPositions[0]
Double_t YStationPositions [nStations] = BmnGemStripPositions_FirstConfig::YStationPositions[0]
Double_t ZStationPositions [nStations] = BmnGemStripPositions_FirstConfig::ZStationPositions[0]
const Double_t XModuleSize_StationPrototype = 66.0
const Double_t YModuleSize_StationPrototype = 41.0
const Double_t XHotZoneSize_StationPrototype = 15.0
const Double_t YHotZoneSize_StationPrototype = 10.0
const Double_t XIntersectionSensModule = 5.0
const Double_t OuterZoneSizes_Station163x45 [2] = {163.2 * 0.5, 45.0}
const Double_t HotZoneSizes_rectangle_Station163x45 [2] = {40.0, 15.0}
const Double_t HotZoneSizes_slope_Station163x45 [3] = {37.99, 42.01, 15.0}
const Double_t HoleRadius_Station163x45 = 4.0
const Double_t dXOuterFrame = 5.0
const Double_t dXInnerFrame = 1.7
const Double_t dYOuterFrame = 3.75
const Double_t dYInnerFrame = 1.7
const Double_t dZSensitiveVolume = 0.9
const Double_t ZModuleSize = 2.5
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedArCO27030 = 0

Function Documentation

◆ create_rootgeom_GEMS_1stConfig()

void create_rootgeom_GEMS_1stConfig ( )

◆ CreateStation_One163x45Plane()

void CreateStation_One163x45Plane ( TGeoVolume * mother_volume,
TString station_name,
Double_t x_position,
Double_t y_position,
Double_t z_position,
Double_t hole_radius_with_frame,
Bool_t IsInverted )

Definition at line 473 of file create_rootgeom_GEMS_1stConfig.C.

References TGeoVolume::AddNode(), TGeoXtru::DefinePolygon(), TGeoXtru::DefineSection(), dXInnerFrame, dXOuterFrame, dYInnerFrame, dYOuterFrame, dZSensitiveVolume, TColor::GetColor(), HotZoneSizes_rectangle_Station163x45, HotZoneSizes_slope_Station163x45, OuterZoneSizes_Station163x45, pMedAir, pMedArCO27030, pMedCarbon, TGeoMatrix::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoCombiTrans::SetTranslation(), TGeoVolume::SetTransparency(), and ZModuleSize.

Referenced by create_rootgeom_GEMS_1stConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateStation_One66x41Plane()

void CreateStation_One66x41Plane ( TGeoVolume * mother_volume,
TString station_name,
Double_t x_position,
Double_t y_position,
Double_t z_position,
Bool_t IsInverted )

Definition at line 197 of file create_rootgeom_GEMS_1stConfig.C.

References TGeoVolume::AddNode(), dXInnerFrame, dXOuterFrame, dYInnerFrame, dYOuterFrame, dZSensitiveVolume, TColor::GetColor(), pMedAir, pMedArCO27030, pMedCarbon, TGeoCombiTrans::ReflectX(), TGeoCombiTrans::ReflectY(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), TGeoVolume::SetTransparency(), XHotZoneSize_StationPrototype, XModuleSize_StationPrototype, YHotZoneSize_StationPrototype, YModuleSize_StationPrototype, and ZModuleSize.

Referenced by create_rootgeom_GEMS_1stConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateStation_Two66x41Plane()

void CreateStation_Two66x41Plane ( TGeoVolume * mother_volume,
TString station_name,
Double_t x_position,
Double_t y_position,
Double_t z_position )

Definition at line 332 of file create_rootgeom_GEMS_1stConfig.C.

References TGeoVolume::AddNode(), dXInnerFrame, dXOuterFrame, dYInnerFrame, dYOuterFrame, dZSensitiveVolume, TColor::GetColor(), TGeoCombiTrans::GetTranslation(), pMedAir, pMedArCO27030, pMedCarbon, TGeoCombiTrans::ReflectX(), TGeoCombiTrans::ReflectZ(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), TGeoVolume::SetTransparency(), XHotZoneSize_StationPrototype, XIntersectionSensModule, XModuleSize_StationPrototype, YHotZoneSize_StationPrototype, YModuleSize_StationPrototype, and ZModuleSize.

Referenced by create_rootgeom_GEMS_1stConfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DefineRequiredMedia()

void DefineRequiredMedia ( FairGeoMedia * geoMedia,
FairGeoBuilder * geoBuild )

Definition at line 83 of file create_rootgeom_GEMS_1stConfig.C.

References pMedAir, pMedArCO27030, pMedCarbon, and pMedFiberGlass.

Referenced by create_rootgeom_GEMS_1stConfig().

Here is the caller graph for this function:

Variable Documentation

◆ dXInnerFrame

const Double_t dXInnerFrame = 1.7

Definition at line 67 of file create_rootgeom_GEMS_1stConfig.C.

◆ dXOuterFrame

const Double_t dXOuterFrame = 5.0

Definition at line 66 of file create_rootgeom_GEMS_1stConfig.C.

◆ dYInnerFrame

const Double_t dYInnerFrame = 1.7

Definition at line 69 of file create_rootgeom_GEMS_1stConfig.C.

◆ dYOuterFrame

const Double_t dYOuterFrame = 3.75

Definition at line 68 of file create_rootgeom_GEMS_1stConfig.C.

◆ dZSensitiveVolume

const Double_t dZSensitiveVolume = 0.9

Definition at line 70 of file create_rootgeom_GEMS_1stConfig.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 13 of file create_rootgeom_GEMS_1stConfig.C.

◆ HoleRadius_Station163x45

◆ HotZoneSizes_rectangle_Station163x45

const Double_t HotZoneSizes_rectangle_Station163x45[2] = {40.0, 15.0}

Definition at line 61 of file create_rootgeom_GEMS_1stConfig.C.

Referenced by CreateStation_One163x45Plane().

◆ HotZoneSizes_slope_Station163x45

const Double_t HotZoneSizes_slope_Station163x45[3] = {37.99, 42.01, 15.0}

Definition at line 62 of file create_rootgeom_GEMS_1stConfig.C.

Referenced by CreateStation_One163x45Plane().

◆ nStations

const Int_t nStations = 6

Definition at line 16 of file create_rootgeom_GEMS_1stConfig.C.

◆ OuterZoneSizes_Station163x45

const Double_t OuterZoneSizes_Station163x45[2] = {163.2 * 0.5, 45.0}

Definition at line 60 of file create_rootgeom_GEMS_1stConfig.C.

Referenced by CreateStation_One163x45Plane().

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 74 of file create_rootgeom_GEMS_1stConfig.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 78 of file create_rootgeom_GEMS_1stConfig.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 75 of file create_rootgeom_GEMS_1stConfig.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 77 of file create_rootgeom_GEMS_1stConfig.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 76 of file create_rootgeom_GEMS_1stConfig.C.

◆ XHotZoneSize_StationPrototype

◆ XIntersectionSensModule

const Double_t XIntersectionSensModule = 5.0

◆ XModuleSize_StationPrototype

◆ XStationPositions

XStationPositions[5] = BmnGemStripPositions_FirstConfig::XStationPositions[0]

Definition at line 26 of file create_rootgeom_GEMS_1stConfig.C.

◆ YHotZoneSize_StationPrototype

◆ YModuleSize_StationPrototype

◆ YStationPositions

YStationPositions[5] = BmnGemStripPositions_FirstConfig::YStationPositions[0]

Definition at line 34 of file create_rootgeom_GEMS_1stConfig.C.

◆ ZModuleSize

const Double_t ZModuleSize = 2.5

Definition at line 71 of file create_rootgeom_GEMS_1stConfig.C.

◆ ZStationPositions

ZStationPositions[5] = BmnGemStripPositions_FirstConfig::ZStationPositions[0]

Definition at line 42 of file create_rootgeom_GEMS_1stConfig.C.