BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_CSC_RunSRC2021.C File Reference
#include "TGeoMatrix.h"
#include "TGeoVolume.h"
#include "TString.h"
Include dependency graph for create_rootgeom_CSC_RunSRC2021.C:

Go to the source code of this file.

Functions

TGeoVolume * CreateStation (TString station_name)
TGeoVolume * CreateModule (TString module_name)
TGeoVolume * CreateFrameForModule (TString frame_name)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_CSC_RunSRC2021 ()

Variables

const Int_t NStations = 2
const Int_t NMaxModules = 2
const Double_t XStationPositions [NStations]
const Double_t YStationPositions [NStations]
const Double_t ZStationPositions [NStations]
const Double_t XModuleShifts [NStations][NMaxModules]
const Double_t YModuleShifts [NStations][NMaxModules]
const Double_t ZModuleShifts [NStations][NMaxModules]
const Double_t XGasSize = 113.0
const Double_t YGasSize = 54.375
const Double_t ZGasSize = 0.76
const Double_t XSensSize = 112.9
const Double_t YSensSize = 53.25
const Double_t ZSensSize = 0.76
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedArCO27030 = 0
TGeoMedium * pMedArgonIsobutane7525 = 0
TGeoMedium * pMedHoneyComb = 0
TGeoMedium * pMedEpoxideCompound = 0
TGeoMedium * pMedBrass = 0
TGeoMedium * pMedTeflon = 0

Function Documentation

◆ create_rootgeom_CSC_RunSRC2021()

◆ CreateFrameForModule()

TGeoVolume * CreateFrameForModule ( TString frame_name)

◆ CreateModule()

TGeoVolume * CreateModule ( TString module_name)

Definition at line 327 of file create_rootgeom_CSC_RunSRC2021.C.

References TGeoVolume::AddNode(), TGeoCompositeShape::ComputeBBox(), TColor::GetColor(), TNamed::GetName(), TGeoCompositeShape::MakeNode(), pMedArgonIsobutane7525, pMedEpoxideCompound, pMedTeflon, TGeoMatrix::RegisterYourself(), TGeoCombiTrans::RotateX(), TGeoCombiTrans::SetDx(), TGeoTranslation::SetDx(), TGeoCombiTrans::SetDy(), TGeoTranslation::SetDy(), TGeoCombiTrans::SetDz(), TGeoTranslation::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), XGasSize, XSensSize, YGasSize, YSensSize, ZGasSize, and ZSensSize.

Referenced by create_rootgeom_CSC_RunSRC2021().

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

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 318 of file create_rootgeom_CSC_RunSRC2021.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_CSC_RunSRC2021().

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 85 of file create_rootgeom_CSC_RunSRC2021.C.

References pMedAir, pMedArCO27030, pMedArgonIsobutane7525, pMedBrass, pMedCarbon, pMedEpoxideCompound, pMedFiberGlass, pMedHoneyComb, and pMedTeflon.

Referenced by create_rootgeom_CSC_RunSRC2021().

Here is the caller graph for this function:

Variable Documentation

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 64 of file create_rootgeom_CSC_RunSRC2021.C.

◆ NMaxModules

const Int_t NMaxModules = 2

Definition at line 18 of file create_rootgeom_CSC_RunSRC2021.C.

◆ NStations

const Int_t NStations = 2

Definition at line 17 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 67 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 71 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedArgonIsobutane7525

TGeoMedium* pMedArgonIsobutane7525 = 0

Definition at line 72 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedBrass

TGeoMedium* pMedBrass = 0

Definition at line 75 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 68 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 70 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedEpoxideCompound

TGeoMedium* pMedEpoxideCompound = 0

Definition at line 74 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 69 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedHoneyComb

TGeoMedium* pMedHoneyComb = 0

Definition at line 73 of file create_rootgeom_CSC_RunSRC2021.C.

◆ pMedTeflon

TGeoMedium* pMedTeflon = 0

Definition at line 76 of file create_rootgeom_CSC_RunSRC2021.C.

◆ XGasSize

const Double_t XGasSize = 113.0

Definition at line 53 of file create_rootgeom_CSC_RunSRC2021.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{0.0, 0.0},
{0.0, 0.0},
}

Definition at line 37 of file create_rootgeom_CSC_RunSRC2021.C.

◆ XSensSize

const Double_t XSensSize = 112.9

Definition at line 58 of file create_rootgeom_CSC_RunSRC2021.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {
+109.89 + 0.5055 ,
-109.89 + 0.5055
}

Definition at line 22 of file create_rootgeom_CSC_RunSRC2021.C.

◆ YGasSize

const Double_t YGasSize = 54.375

Definition at line 54 of file create_rootgeom_CSC_RunSRC2021.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{27.1875, -27.1875},
{27.1875, -27.1875},
}

Definition at line 41 of file create_rootgeom_CSC_RunSRC2021.C.

◆ YSensSize

const Double_t YSensSize = 53.25

Definition at line 59 of file create_rootgeom_CSC_RunSRC2021.C.

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {
+0.0 - 4.623,
+0.0 - 4.623
}

Definition at line 26 of file create_rootgeom_CSC_RunSRC2021.C.

◆ ZGasSize

const Double_t ZGasSize = 0.76

Definition at line 55 of file create_rootgeom_CSC_RunSRC2021.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{1.25, 1.25},
{1.25, 1.25},
}

Definition at line 45 of file create_rootgeom_CSC_RunSRC2021.C.

◆ ZSensSize

const Double_t ZSensSize = 0.76

Definition at line 60 of file create_rootgeom_CSC_RunSRC2021.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+182.89 - 576.2 ,
+182.89 - 576.2
}

Definition at line 30 of file create_rootgeom_CSC_RunSRC2021.C.