BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_Silicon_Run8_detailed.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 }
enum  ModuleSize { STANDARD_MODULE , LONG_MODULE }

Functions

TGeoVolume * CreateStation (TString station_name)
TGeoVolume * CreateModule (TString module_name, ModuleType module_type, ModuleSize module_size)
TGeoVolume * CreateModuleFrame (TString module_name, ModuleType module_type, ModuleSize module_size)
TGeoVolume * CreateFrameForStation_StandardModule (TString frame_name, Int_t current_station_num)
TGeoVolume * CreateFrameForStation_LongModule (TString frame_name, Int_t current_station_num)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void PrintInfoAboutModuleParameters ()
void PrintInformationAboutStations ()
void create_rootgeom_Silicon_Run8_detailed ()

Variables

const Int_t NStations = 4
const Int_t NMaxModules = 22
const Int_t NModulesInStations [NStations] = {6, 10, 14, 18}
const Double_t XStationPositions [NStations]
const Double_t YStationPositions [NStations]
const Double_t ZStationPositions [NStations]
const Double_t z_shift_up = +2.68
const Double_t z_shift_low = -0.61
const Double_t z_mod_thick = 0.03
const Double_t x_dist_cent_base [NStations]
const Double_t y_dist_cent_base [NStations]
const Double_t z_shift_hp [NStations]
const Double_t x_shift_hp [NStations]
const Double_t y_shift_hp [NStations]
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
const unsigned int NModuleSizes = 2
Double_t YGapBetweenPartsOfModule [NModuleSizes] = {0.0035 , 0.0035 }
Double_t XModuleSize [NModuleSizes] = {6.3 , 6.3 }
Double_t YModuleSizeUpperPart [NModuleSizes] = {6.3 , 9.3 }
Double_t YModuleSizeLowerPart [NModuleSizes] = {6.3 , 9.3 }
Double_t YModuleSize [NModuleSizes]
Double_t ZModuleSize [NModuleSizes] = {z_mod_thick , z_mod_thick }
Double_t XBevelSize [NModuleSizes] = {3.82 , 3.82 }
Double_t YBevelSize [NModuleSizes] = {3.82 , 3.82 }
Double_t BevelAngleRad [NModuleSizes]
Double_t BevelAngleDeg [NModuleSizes]
Double_t XLeftBorder [NModuleSizes] = {0.1145 , 0.1118 }
Double_t XRightBorder [NModuleSizes] = {0.1118 , 0.1118 }
Double_t YTopBorder [NModuleSizes] = {0.1143 , 0.1148 }
Double_t YMiddleBorderUpperPart [NModuleSizes] = {0.1121 , 0.1148 }
Double_t YMiddleBorderLowerPart [NModuleSizes] = {0.1147 , 0.1148 }
Double_t YBottomBorder [NModuleSizes] = {0.1148 , 0.1148 }
Double_t XYBevelBorder [NModuleSizes] = {0.1146 , 0.1146 }
Double_t XSensorZoneSize [NModuleSizes]
Double_t YSensorZoneSizeUpperPart [NModuleSizes]
Double_t YSensorZoneSizeLowerPart [NModuleSizes]
Double_t ZSensorZoneSize [NModuleSizes]
Double_t XModuleFrameSize [NModuleSizes]
Double_t YModuleFrameSize [NModuleSizes]
Double_t ZModuleFrameSize [NModuleSizes] = {0.18 , 0.18 }
Double_t YShiftFromCenterToAxis [NModuleSizes]
Double_t XShiftFromCenterToLocalX0 [NModuleSizes]
Double_t YShiftFromCenterToLocalY0 [NModuleSizes]
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedSilicon = 0
TGeoMedium * pMedAluminium = 0
TGeoMedium * pMedPolystyrene = 0

Enumeration Type Documentation

◆ ModuleSize

enum ModuleSize
Enumerator
STANDARD_MODULE 
LONG_MODULE 

Definition at line 223 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 164 of file create_rootgeom_Silicon_Run8_detailed.C.

Function Documentation

◆ create_rootgeom_Silicon_Run8_detailed()

◆ CreateFrameForStation_LongModule()

TGeoVolume * CreateFrameForStation_LongModule ( TString frame_name,
Int_t current_station_num )

◆ CreateFrameForStation_StandardModule()

TGeoVolume * CreateFrameForStation_StandardModule ( TString frame_name,
Int_t current_station_num )

◆ CreateModule()

◆ CreateModuleFrame()

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 752 of file create_rootgeom_Silicon_Run8_detailed.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_Silicon_Run8_detailed().

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 378 of file create_rootgeom_Silicon_Run8_detailed.C.

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

Referenced by create_rootgeom_Silicon_Run8_detailed().

Here is the caller graph for this function:

◆ PrintInfoAboutModuleParameters()

void PrintInfoAboutModuleParameters ( )

◆ PrintInformationAboutStations()

void PrintInformationAboutStations ( )

Definition at line 512 of file create_rootgeom_Silicon_Run8_detailed.C.

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

Referenced by create_rootgeom_Silicon_Run8_detailed().

Here is the caller graph for this function:

Variable Documentation

◆ BevelAngleDeg

Double_t BevelAngleDeg[NModuleSizes]
Initial value:

Definition at line 254 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ BevelAngleRad

Double_t BevelAngleRad[NModuleSizes]
Initial value:

Definition at line 249 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ gGeoMan

TGeoManager* gGeoMan = 0

Definition at line 220 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ ModulesTypes

◆ ModulesXRotations

const Bool_t ModulesXRotations[NStations][NMaxModules]
Initial value:
= {
{false , false , false , true , true , true },
{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 197 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ ModulesYRotations

const Bool_t ModulesYRotations[NStations][NMaxModules]
Initial value:
= {
{true , true , false , true , true , false },
{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 186 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ NMaxModules

const Int_t NMaxModules = 22

Definition at line 25 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ NModulesInStations

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

Definition at line 27 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ NModuleSizes

const unsigned int NModuleSizes = 2

Definition at line 228 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ NStations

const Int_t NStations = 4

Definition at line 24 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 360 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ pMedAluminium

TGeoMedium* pMedAluminium = 0

Definition at line 365 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 361 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 363 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 362 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ pMedPolystyrene

TGeoMedium* pMedPolystyrene = 0

Definition at line 366 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ pMedSilicon

TGeoMedium* pMedSilicon = 0

Definition at line 364 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ x_dist_cent_base

const Double_t x_dist_cent_base[NStations]
Initial value:
= {21.7 , 21.7 , 27.7 ,
33.7 }

Definition at line 45 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ x_shift_hp

const Double_t x_shift_hp[NStations]
Initial value:
= {
+0.1255 , -0.0105 , +0.013 ,
+0.239 }

Definition at line 54 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XBevelSize

Double_t XBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 246 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XLeftBorder

Double_t XLeftBorder[NModuleSizes] = {0.1145 , 0.1118 }

Definition at line 259 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XModuleFrameSize

Double_t XModuleFrameSize[NModuleSizes]
Initial value:

Definition at line 293 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]

Definition at line 62 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XModuleSize

Double_t XModuleSize[NModuleSizes] = {6.3 , 6.3 }

Definition at line 232 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XRightBorder

Double_t XRightBorder[NModuleSizes] = {0.1118 , 0.1118 }

Definition at line 260 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XSensorZoneSize

◆ XShiftFromCenterToLocalX0

Double_t XShiftFromCenterToLocalX0[NModuleSizes]
Initial value:

Definition at line 313 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {+0.4025 , +0.726 , 0.8415 ,
+0.877 }

Definition at line 30 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ XYBevelBorder

Double_t XYBevelBorder[NModuleSizes] = {0.1146 , 0.1146 }

Definition at line 265 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ y_dist_cent_base

const Double_t y_dist_cent_base[NStations]
Initial value:
= {12.99 , 16.29 , 16.29 ,
16.29 }

Definition at line 47 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ y_shift_hp

const Double_t y_shift_hp[NStations]
Initial value:
= {
+0.1495 , +0.0425 , +0.0265 ,
+0.5025 }

Definition at line 58 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YBevelSize

Double_t YBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 247 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YBottomBorder

Double_t YBottomBorder[NModuleSizes] = {0.1148 , 0.1148 }

Definition at line 264 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule[NModuleSizes] = {0.0035 , 0.0035 }

Definition at line 230 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YMiddleBorderLowerPart

Double_t YMiddleBorderLowerPart[NModuleSizes] = {0.1147 , 0.1148 }

Definition at line 263 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YMiddleBorderUpperPart

Double_t YMiddleBorderUpperPart[NModuleSizes] = {0.1121 , 0.1148 }

Definition at line 262 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YModuleFrameSize

Double_t YModuleFrameSize[NModuleSizes]
Initial value:

Definition at line 298 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]

Definition at line 94 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 235 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 234 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YSensorZoneSizeLowerPart

◆ YSensorZoneSizeUpperPart

◆ YShiftFromCenterToAxis

◆ YShiftFromCenterToLocalY0

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {-0.159 , -0.165 , -0.122 ,
-0.111 }

Definition at line 32 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ YTopBorder

Double_t YTopBorder[NModuleSizes] = {0.1143 , 0.1148 }

Definition at line 261 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ z_mod_thick

const Double_t z_mod_thick = 0.03

Definition at line 43 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ z_shift_hp

const Double_t z_shift_hp[NStations]
Initial value:
= {
+5.0 , 5.134 , 5.2825 ,
5.106 }

Definition at line 50 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ z_shift_low

const Double_t z_shift_low = -0.61

Definition at line 40 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ z_shift_up

const Double_t z_shift_up = +2.68

Definition at line 38 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ ZModuleFrameSize

Double_t ZModuleFrameSize[NModuleSizes] = {0.18 , 0.18 }

Definition at line 303 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]

Definition at line 126 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ ZModuleSize

◆ ZSensorZoneSize

Double_t ZSensorZoneSize[NModuleSizes]
Initial value:

Definition at line 286 of file create_rootgeom_Silicon_Run8_detailed.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+14.2735 , +23.022 , 31.594 ,
40.407 }

Definition at line 34 of file create_rootgeom_Silicon_Run8_detailed.C.