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

Go to the source code of this file.

Enumerations

enum  ModuleFrameType { SIDE , MIDDLE }

Functions

TGeoVolume * CreateStation (TString station_name)
TGeoVolume * CreateModule (TString module_name)
TGeoVolume * CreateModuleFrame (TString moduleFrame_name, ModuleFrameType type)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void PrintInfoAboutModuleParameters ()
void PrintInformationAboutStations ()
void create_rootgeom_VSP_Run9 ()

Variables

const Int_t NStations = 1
const Int_t NMaxModules = 6
const Int_t NModulesInStations [NStations] = {6}
const Double_t XStationPositions [NStations] = {0.0}
const Double_t YStationPositions [NStations] = {0.0}
const Double_t ZStationPositions [NStations] = {0.0}
const Double_t XModuleShifts [NStations][NMaxModules]
const Double_t YModuleShifts [NStations][NMaxModules]
const Double_t ZModuleShifts [NStations][NMaxModules]
const ModuleFrameType ModulesFrameTypes [NStations][NMaxModules]
const Bool_t ModulesYRotations [NStations][NMaxModules]
const Bool_t ModulesXRotations [NStations][NMaxModules]
Double_t XModuleSize = 6.2
Double_t YModuleSize = 6.2
Double_t ZModuleSize = 0.03
Double_t XLeftBorder = 0.1304
Double_t XRightBorder = 0.1304
Double_t YTopBorder = 0.1304
Double_t YBottomBorder = 0.1304
Double_t XSensorZoneSize = XModuleSize - (XLeftBorder + XRightBorder)
Double_t YSensorZoneSize = YModuleSize - (YTopBorder + YBottomBorder)
Double_t ZSensorZoneSize = ZModuleSize
Double_t ZModuleFrameSize = 0.06
TGeoManager * gGeoMan = 0
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedSilicon = 0

Enumeration Type Documentation

◆ ModuleFrameType

Enumerator
SIDE 
MIDDLE 

Definition at line 41 of file create_rootgeom_VSP_Run9.C.

Function Documentation

◆ create_rootgeom_VSP_Run9()

◆ CreateModule()

TGeoVolume * CreateModule ( TString module_name)

Definition at line 324 of file create_rootgeom_VSP_Run9.C.

References TGeoVolume::AddNode(), TColor::GetColor(), pMedSilicon, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoVolume::SetTransparency(), XModuleSize, XSensorZoneSize, YModuleSize, YSensorZoneSize, ZModuleSize, and ZSensorZoneSize.

Referenced by create_rootgeom_VSP_Run9().

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

◆ CreateModuleFrame()

TGeoVolume * CreateModuleFrame ( TString moduleFrame_name,
ModuleFrameType type )

Definition at line 360 of file create_rootgeom_VSP_Run9.C.

References TColor::GetColor(), MIDDLE, pMedFiberGlass, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), SIDE, YModuleSize, and ZModuleFrameSize.

Referenced by create_rootgeom_VSP_Run9().

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 314 of file create_rootgeom_VSP_Run9.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_VSP_Run9().

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 102 of file create_rootgeom_VSP_Run9.C.

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

Referenced by create_rootgeom_VSP_Run9().

Here is the caller graph for this function:

◆ PrintInfoAboutModuleParameters()

void PrintInfoAboutModuleParameters ( )

Definition at line 151 of file create_rootgeom_VSP_Run9.C.

Referenced by create_rootgeom_VSP_Run9().

Here is the caller graph for this function:

◆ PrintInformationAboutStations()

void PrintInformationAboutStations ( )

Definition at line 160 of file create_rootgeom_VSP_Run9.C.

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

Referenced by create_rootgeom_VSP_Run9().

Here is the caller graph for this function:

Variable Documentation

◆ gGeoMan

TGeoManager* gGeoMan = 0

Definition at line 84 of file create_rootgeom_VSP_Run9.C.

◆ ModulesFrameTypes

const ModuleFrameType ModulesFrameTypes[NStations][NMaxModules]
Initial value:
= {
}
@ SIDE

Definition at line 47 of file create_rootgeom_VSP_Run9.C.

◆ ModulesXRotations

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

Definition at line 57 of file create_rootgeom_VSP_Run9.C.

◆ ModulesYRotations

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

Definition at line 52 of file create_rootgeom_VSP_Run9.C.

◆ NMaxModules

const Int_t NMaxModules = 6

Definition at line 15 of file create_rootgeom_VSP_Run9.C.

◆ NModulesInStations

const Int_t NModulesInStations[NStations] = {6}

Definition at line 17 of file create_rootgeom_VSP_Run9.C.

◆ NStations

const Int_t NStations = 1

Definition at line 14 of file create_rootgeom_VSP_Run9.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 88 of file create_rootgeom_VSP_Run9.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 89 of file create_rootgeom_VSP_Run9.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 91 of file create_rootgeom_VSP_Run9.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 90 of file create_rootgeom_VSP_Run9.C.

◆ pMedSilicon

TGeoMedium* pMedSilicon = 0

Definition at line 92 of file create_rootgeom_VSP_Run9.C.

◆ XLeftBorder

Double_t XLeftBorder = 0.1304

Definition at line 67 of file create_rootgeom_VSP_Run9.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+6.259 , +0.312 , -5.692 ,
+6.536 , +0.516 , -5.414 },
}

Definition at line 25 of file create_rootgeom_VSP_Run9.C.

◆ XModuleSize

Double_t XModuleSize = 6.2

Definition at line 63 of file create_rootgeom_VSP_Run9.C.

◆ XRightBorder

Double_t XRightBorder = 0.1304

Definition at line 68 of file create_rootgeom_VSP_Run9.C.

◆ XSensorZoneSize

Double_t XSensorZoneSize = XModuleSize - (XLeftBorder + XRightBorder)

Definition at line 73 of file create_rootgeom_VSP_Run9.C.

◆ XStationPositions

const Double_t XStationPositions[NStations] = {0.0}

Definition at line 20 of file create_rootgeom_VSP_Run9.C.

◆ YBottomBorder

Double_t YBottomBorder = 0.1304

Definition at line 70 of file create_rootgeom_VSP_Run9.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+3.1385 , +6.0655 , +3.2225 ,
-3.056 , -5.801 , -2.976 },
}

Definition at line 30 of file create_rootgeom_VSP_Run9.C.

◆ YModuleSize

Double_t YModuleSize = 6.2

Definition at line 64 of file create_rootgeom_VSP_Run9.C.

◆ YSensorZoneSize

Double_t YSensorZoneSize = YModuleSize - (YTopBorder + YBottomBorder)

Definition at line 74 of file create_rootgeom_VSP_Run9.C.

◆ YStationPositions

const Double_t YStationPositions[NStations] = {0.0}

Definition at line 21 of file create_rootgeom_VSP_Run9.C.

◆ YTopBorder

Double_t YTopBorder = 0.1304

Definition at line 69 of file create_rootgeom_VSP_Run9.C.

◆ ZModuleFrameSize

Double_t ZModuleFrameSize = 0.06

Definition at line 79 of file create_rootgeom_VSP_Run9.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+8.4085 , +8.298 , +8.4435 ,
+6.991 , +7.118 , +6.979 },
}

Definition at line 35 of file create_rootgeom_VSP_Run9.C.

◆ ZModuleSize

Double_t ZModuleSize = 0.03

Definition at line 65 of file create_rootgeom_VSP_Run9.C.

◆ ZSensorZoneSize

Double_t ZSensorZoneSize = ZModuleSize

Definition at line 75 of file create_rootgeom_VSP_Run9.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {0.0}

Definition at line 22 of file create_rootgeom_VSP_Run9.C.