BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_Silicon_Run8_3stations.C File Reference

Go to the source code of this file.

Enumerations

enum  ModuleType { RIGHT_ANGLED_MODULE , BEVEL_MODULE , RIGHT_ANGLED_MODULE_HALF , BEVEL_MODULE_HALF }

Functions

TGeoVolume * CreateStation (TString station_name)
TGeoVolume * CreateModule (TString module_name, ModuleType module_type)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void PrintInfoAboutModuleParameters ()
void PrintInformationAboutStations ()
void create_rootgeom_Silicon_Run8_3stations ()

Variables

const Int_t NStations = 3
const Int_t NMaxModules = 18
const Int_t NModulesInStations [NStations] = {10, 14, 18}
const Double_t XStationPositions [NStations] = {0.0, 0.0, 0.0}
const Double_t YStationPositions [NStations] = {0.0, 0.0, 0.0}
const Double_t ZStationPositions [NStations] = {+15.7, +15.7 + 8.64, +15.7 + 8.64 + 8.64}
const Double_t XModuleShifts [NStations][NMaxModules]
const Double_t YModuleShifts [NStations][NMaxModules]
const Double_t ZModuleShifts [NStations][NMaxModules]
const ModuleType ModulesTypes [NStations][NMaxModules]
const Bool_t ModulesYRotations [NStations][NMaxModules]
const Bool_t ModulesXRotations [NStations][NMaxModules]
TGeoManager * gGeoMan = 0
Double_t YGapBetweenPartsOfModule = 0.0035
Double_t XModuleSize = 6.3
Double_t YModuleSizeUpperPart = XModuleSize
Double_t YModuleSizeLowerPart = XModuleSize
Double_t YModuleSize = YModuleSizeUpperPart + YModuleSizeLowerPart + YGapBetweenPartsOfModule
Double_t ZModuleSize = 0.03
Double_t XBevelSize = 3.82
Double_t YBevelSize = XBevelSize
Double_t BevelAngleRad = TMath::ATan(XBevelSize / YBevelSize)
Double_t BevelAngleDeg = BevelAngleRad * TMath::RadToDeg()
Double_t XLeftBorder = 0.1145
Double_t XRightBorder = 0.1118
Double_t YTopBorder = 0.1143
Double_t YMiddleBorderUpperPart = 0.1121
Double_t YMiddleBorderLowerPart = 0.1147
Double_t YBottomBorder = 0.1148
Double_t XYBevelBorder = 0.1146
Double_t XSensorZoneSize = XModuleSize - (XLeftBorder + XRightBorder)
Double_t YSensorZoneSizeUpperPart = YModuleSizeUpperPart - (YTopBorder + YMiddleBorderUpperPart)
Double_t YSensorZoneSizeLowerPart = YModuleSizeLowerPart - (YBottomBorder + YMiddleBorderLowerPart)
Double_t ZSensorZoneSize = ZModuleSize
Double_t XModuleFrameSize = XModuleSize
Double_t YModuleFrameSize = YModuleSize
Double_t ZModuleFrameSize = 0.18
Double_t YShiftFromCenterToAxis = (YModuleSizeUpperPart - YModuleSizeLowerPart) * 0.5
Double_t XShiftFromCenterToLocalX0 = +XModuleSize * 0.5
Double_t YShiftFromCenterToLocalY0 = +(YModuleSizeLowerPart + YGapBetweenPartsOfModule * 0.5)
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedSilicon = 0

Enumeration Type Documentation

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 61 of file create_rootgeom_Silicon_Run8_3stations.C.

Function Documentation

◆ create_rootgeom_Silicon_Run8_3stations()

◆ CreateModule()

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 457 of file create_rootgeom_Silicon_Run8_3stations.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_Silicon_Run8_3stations().

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 202 of file create_rootgeom_Silicon_Run8_3stations.C.

References pMedAir, pMedCarbon, pMedCopper, pMedFiberGlass, and pMedSilicon.

Referenced by create_rootgeom_Silicon_Run8_3stations().

Here is the caller graph for this function:

◆ PrintInfoAboutModuleParameters()

void PrintInfoAboutModuleParameters ( )

◆ PrintInformationAboutStations()

void PrintInformationAboutStations ( )

Definition at line 284 of file create_rootgeom_Silicon_Run8_3stations.C.

References ModulesTypes, ModulesXRotations, ModulesYRotations, NModulesInStations, NStations, XModuleShifts, XStationPositions, YModuleShifts, YStationPositions, ZModuleShifts, and ZStationPositions.

Referenced by create_rootgeom_Silicon_Run8_3stations().

Here is the caller graph for this function:

Variable Documentation

◆ BevelAngleDeg

Double_t BevelAngleDeg = BevelAngleRad * TMath::RadToDeg()

Definition at line 119 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ BevelAngleRad

◆ gGeoMan

TGeoManager* gGeoMan = 0

Definition at line 103 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ ModulesTypes

◆ ModulesXRotations

const Bool_t ModulesXRotations[NStations][NMaxModules]
Initial value:
= {
{false , false , false , false , false , true , true , true , true ,
true },
{false , false , false , false , false , false , false , true , true ,
true , true , true , true , true },
{false , false , false , false , false , false , false , false ,
false , true , true , true , true , true , true , true , true ,
true }}

Definition at line 91 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ ModulesYRotations

const Bool_t ModulesYRotations[NStations][NMaxModules]
Initial value:
= {
{true , true , true , false , false , true , true , true , false ,
false },
{true , true , true , true , false , false , false , true , true ,
true , true , false , false , false },
{true , true , true , true , true , false , false , false , false ,
true , true , true , true , true , false , false , false ,
false }}

Definition at line 81 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ NMaxModules

const Int_t NMaxModules = 18

Definition at line 15 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ NModulesInStations

const Int_t NModulesInStations[NStations] = {10, 14, 18}

Definition at line 17 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ NStations

const Int_t NStations = 3

Definition at line 14 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 189 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 190 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 192 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 191 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ pMedSilicon

TGeoMedium* pMedSilicon = 0

Definition at line 193 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XBevelSize

Double_t XBevelSize = 3.82

Definition at line 115 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XLeftBorder

Double_t XLeftBorder = 0.1145

Definition at line 121 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XModuleFrameSize

Double_t XModuleFrameSize = XModuleSize

Definition at line 138 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+15.15 , +9.15 , +3.15 , -9.15 , -15.15 , +15.15 , +9.15 , +3.15 ,
-9.15 , -15.15 },
{+21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 , +21.15 ,
+15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 },
{+27.15 , +21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 ,
-27.15 , +27.15 , +21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 ,
-21.15 , -27.15 }}

Definition at line 34 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XModuleSize

Double_t XModuleSize = 6.3

Definition at line 108 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XRightBorder

Double_t XRightBorder = 0.1118

Definition at line 122 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XSensorZoneSize

Double_t XSensorZoneSize = XModuleSize - (XLeftBorder + XRightBorder)

Definition at line 131 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XShiftFromCenterToLocalX0

Double_t XShiftFromCenterToLocalX0 = +XModuleSize * 0.5

Definition at line 148 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XStationPositions

const Double_t XStationPositions[NStations] = {0.0, 0.0, 0.0}

Definition at line 21 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ XYBevelBorder

Double_t XYBevelBorder = 0.1146

Definition at line 127 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YBevelSize

Double_t YBevelSize = XBevelSize

Definition at line 116 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YBottomBorder

Double_t YBottomBorder = 0.1148

Definition at line 126 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule = 0.0035

Definition at line 106 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YMiddleBorderLowerPart

Double_t YMiddleBorderLowerPart = 0.1147

Definition at line 125 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YMiddleBorderUpperPart

Double_t YMiddleBorderUpperPart = 0.1121

Definition at line 124 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YModuleFrameSize

Double_t YModuleFrameSize = YModuleSize

Definition at line 139 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{-0.15 , -0.15 , +2.85 , -0.15 , -0.15 , +0.15 , +0.15 , -2.85 ,
+0.15 , +0.15 },
{-0.15 , -0.15 , -0.15 , +2.85 , -0.15 , -0.15 , -0.15 , +0.15 ,
+0.15 , +0.15 , -2.85 , +0.15 , +0.15 , +0.15 },
{-0.15 , -0.15 , -0.15 , -0.15 , +2.85 , -0.15 , -0.15 , -0.15 ,
-0.15 , +0.15 , +0.15 , +0.15 , +0.15 , -2.85 , +0.15 , +0.15 ,
+0.15 , +0.15 }}

Definition at line 42 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart = XModuleSize

Definition at line 110 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart = XModuleSize

Definition at line 109 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YSensorZoneSizeLowerPart

◆ YSensorZoneSizeUpperPart

◆ YShiftFromCenterToAxis

Double_t YShiftFromCenterToAxis = (YModuleSizeUpperPart - YModuleSizeLowerPart) * 0.5

Definition at line 145 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YShiftFromCenterToLocalY0

Double_t YShiftFromCenterToLocalY0 = +(YModuleSizeLowerPart + YGapBetweenPartsOfModule * 0.5)

Definition at line 151 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YStationPositions

const Double_t YStationPositions[NStations] = {0.0, 0.0, 0.0}

Definition at line 22 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ YTopBorder

Double_t YTopBorder = 0.1143

Definition at line 123 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ ZModuleFrameSize

Double_t ZModuleFrameSize = 0.18

Definition at line 141 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.0 + 4.31 , +1.22 + 4.31 , +0.0 ,
+1.22 , 0.0 , +1.36 , +0.14 },
{+0.14 + 4.31 , +1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.0 + 4.31 ,
+1.22 + 4.31 , +0.0 + 4.31 , +1.22 , +0.0 , +1.22 , +0.0 , +1.36 ,
+0.14 , +1.36 },
{+1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 ,
+0.0 + 4.31 , +1.22 + 4.31 , +0.0 + 4.31 , +1.22 + 4.31 , +0.0 , +1.22 ,
+0.0 , +1.22 , +0.0 , +1.36 , +0.14 , +1.36 , +0.14 }}

Definition at line 50 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ ZModuleSize

Double_t ZModuleSize = 0.03

Definition at line 113 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ ZSensorZoneSize

Double_t ZSensorZoneSize = ZModuleSize

Definition at line 134 of file create_rootgeom_Silicon_Run8_3stations.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {+15.7, +15.7 + 8.64, +15.7 + 8.64 + 8.64}

Definition at line 24 of file create_rootgeom_Silicon_Run8_3stations.C.