BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_Silicon_RunSRCSpring2018.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_RunSRCSpring2018 ()

Variables

const Int_t NStations = 3
const Int_t NMaxModules = 8
const Int_t NModulesInStations [NStations] = {4, 2, 8}
const Double_t XStationPositions [NStations] = {+0.6545, +0.6545, +0.5525}
const Double_t YStationPositions [NStations] = {-4.52725, -4.52725, -10.89725}
const Double_t ZStationPositions [NStations] = {-440.377, -440.377, -320.346}
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 54 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

Function Documentation

◆ create_rootgeom_Silicon_RunSRCSpring2018()

◆ CreateModule()

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 435 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_Silicon_RunSRCSpring2018().

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 180 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

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

Referenced by create_rootgeom_Silicon_RunSRCSpring2018().

Here is the caller graph for this function:

◆ PrintInfoAboutModuleParameters()

void PrintInfoAboutModuleParameters ( )

◆ PrintInformationAboutStations()

void PrintInformationAboutStations ( )

Definition at line 262 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

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

Referenced by create_rootgeom_Silicon_RunSRCSpring2018().

Here is the caller graph for this function:

Variable Documentation

◆ BevelAngleDeg

Double_t BevelAngleDeg = BevelAngleRad * TMath::RadToDeg()

Definition at line 97 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ BevelAngleRad

◆ gGeoMan

TGeoManager* gGeoMan = 0

Definition at line 81 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ ModulesTypes

◆ ModulesXRotations

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

Definition at line 74 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ ModulesYRotations

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

Definition at line 69 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ NMaxModules

const Int_t NMaxModules = 8

Definition at line 17 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ NModulesInStations

const Int_t NModulesInStations[NStations] = {4, 2, 8}

Definition at line 19 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ NStations

const Int_t NStations = 3

Definition at line 16 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 167 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 168 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 170 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 169 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ pMedSilicon

TGeoMedium* pMedSilicon = 0

Definition at line 171 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XBevelSize

Double_t XBevelSize = 3.82

Definition at line 93 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XLeftBorder

Double_t XLeftBorder = 0.1145

Definition at line 99 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XModuleFrameSize

Double_t XModuleFrameSize = XModuleSize

Definition at line 116 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {{+6.4, -5.9, +5.9, -6.4},
{+5.9, -6.4},
{+12.15, +6.15, -6.15, -12.15, +12.15, +6.15, -6.15, -12.15}}

Definition at line 42 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XModuleSize

Double_t XModuleSize = 6.3

Definition at line 86 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XRightBorder

Double_t XRightBorder = 0.1118

Definition at line 100 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XSensorZoneSize

Double_t XSensorZoneSize = XModuleSize - (XLeftBorder + XRightBorder)

Definition at line 109 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XShiftFromCenterToLocalX0

Double_t XShiftFromCenterToLocalX0 = +XModuleSize * 0.5

Definition at line 126 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XStationPositions

const Double_t XStationPositions[NStations] = {+0.6545, +0.6545, +0.5525}

Definition at line 22 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ XYBevelBorder

Double_t XYBevelBorder = 0.1146

Definition at line 105 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YBevelSize

Double_t YBevelSize = XBevelSize

Definition at line 94 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YBottomBorder

Double_t YBottomBorder = 0.1148

Definition at line 104 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule = 0.0035

Definition at line 84 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YMiddleBorderLowerPart

Double_t YMiddleBorderLowerPart = 0.1147

Definition at line 103 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YMiddleBorderUpperPart

Double_t YMiddleBorderUpperPart = 0.1121

Definition at line 102 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YModuleFrameSize

Double_t YModuleFrameSize = YModuleSize

Definition at line 117 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {{-0.4, +0.1, -0.1, +0.4},
{-6.22, -6.72},
{-0.15, -0.15, -0.15, -0.15, +0.15, +0.15, +0.15, +0.15}}

Definition at line 45 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart = XModuleSize

Definition at line 88 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart = XModuleSize

Definition at line 87 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YSensorZoneSizeLowerPart

◆ YSensorZoneSizeUpperPart

◆ YShiftFromCenterToAxis

Double_t YShiftFromCenterToAxis = (YModuleSizeUpperPart - YModuleSizeLowerPart) * 0.5

Definition at line 123 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YShiftFromCenterToLocalY0

Double_t YShiftFromCenterToLocalY0 = +(YModuleSizeLowerPart + YGapBetweenPartsOfModule * 0.5)

Definition at line 129 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YStationPositions

const Double_t YStationPositions[NStations] = {-4.52725, -4.52725, -10.89725}

Definition at line 23 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ YTopBorder

Double_t YTopBorder = 0.1143

Definition at line 101 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ ZModuleFrameSize

Double_t ZModuleFrameSize = 0.18

Definition at line 119 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+1.44, +2.17, +2.17, +1.44},
{+4.71, +5.44},
{3.51 , 1.98 , 3.29 , 1.76 , 2.25 , 3.78 , 2.47 , 4.0 }}

Definition at line 48 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ ZModuleSize

Double_t ZModuleSize = 0.03

Definition at line 91 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ ZSensorZoneSize

Double_t ZSensorZoneSize = ZModuleSize

Definition at line 112 of file create_rootgeom_Silicon_RunSRCSpring2018.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {-440.377, -440.377, -320.346}

Definition at line 24 of file create_rootgeom_Silicon_RunSRCSpring2018.C.