BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
VSPConfigCalculate_Run9.C File Reference
#include "Rtypes.h"
#include "TString.h"
#include <fstream>
Include dependency graph for VSPConfigCalculate_Run9.C:

Go to the source code of this file.

Enumerations

enum  ModuleFrameType { SIDE , MIDDLE }
enum  StripNumberingDirection { LeftToRight , RightToLeft }

Functions

void PrintInfo ()
void CalculateParameters (TString xml_file_name)
void VSPConfigCalculate_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] = {6.5}
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 XLeftBorderFrame = 0.1304
Double_t XRightBorderFrame = 0.1304
Double_t YTopBorderFrame = 0.1304
Double_t YBottomBorderFrame = 0.1304
Double_t XSensorZoneSize = XModuleSize - (XLeftBorderFrame + XRightBorderFrame)
Double_t YSensorZoneSize = YModuleSize - (YTopBorderFrame + YBottomBorderFrame)
Double_t ZSensorZoneSize = ZModuleSize
Double_t XOrigLayer [3] = {0.0 + XSensorZoneSize * 0.5, 0.0 + XSensorZoneSize * 0.5, 0.0 + XSensorZoneSize * 0.5}
Double_t YOrigLayer [3] = {0.0 - YSensorZoneSize * 0.5, 0.0 - YSensorZoneSize * 0.5, 0.0 - YSensorZoneSize * 0.5}
Double_t XSizeLayer [3] = {XSensorZoneSize, XSensorZoneSize, XSensorZoneSize}
Double_t YSizeLayer [3] = {YSensorZoneSize, YSensorZoneSize, YSensorZoneSize}
Double_t XLeftBorderLayer [3] = {XOrigLayer[0], XOrigLayer[1] - XSizeLayer[1], XOrigLayer[2]}
Double_t YLeftBorderLayer [3]
Double_t XRightBorderLayer [3]
Double_t YRightBorderLayer [3] = {YOrigLayer[0] + YSizeLayer[0], YOrigLayer[1], YOrigLayer[2]}
StripNumberingDirection StripDirection [3] = {LeftToRight, LeftToRight, LeftToRight}
Double_t PitchValue [3] = {0.00575038, 0.00575038, 0.0058}
Double_t StripAngle [3] = {+7.5, +7.5, +0.0}
Int_t FirstStripNumberLayer [3] = {0, 0, 0}
Double_t XShift_DuplicateCornerLayer

Enumeration Type Documentation

◆ ModuleFrameType

Enumerator
SIDE 
MIDDLE 

Definition at line 56 of file VSPConfigCalculate_Run9.C.

◆ StripNumberingDirection

Enumerator
LeftToRight 
RightToLeft 

Definition at line 118 of file VSPConfigCalculate_Run9.C.

Function Documentation

◆ CalculateParameters()

void CalculateParameters ( TString xml_file_name)

◆ PrintInfo()

void PrintInfo ( )

Definition at line 152 of file VSPConfigCalculate_Run9.C.

References FirstStripNumberLayer, LeftToRight, PitchValue, StripAngle, StripDirection, XLeftBorderLayer, XOrigLayer, XRightBorderLayer, XSizeLayer, YLeftBorderLayer, YOrigLayer, YRightBorderLayer, and YSizeLayer.

Referenced by VSPConfigCalculate_Run9().

Here is the caller graph for this function:

◆ VSPConfigCalculate_Run9()

void VSPConfigCalculate_Run9 ( )

Definition at line 140 of file VSPConfigCalculate_Run9.C.

References CalculateParameters(), and PrintInfo().

Here is the call graph for this function:

Variable Documentation

◆ FirstStripNumberLayer

Int_t FirstStripNumberLayer[3] = {0, 0, 0}

Definition at line 127 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ ModulesFrameTypes

const ModuleFrameType ModulesFrameTypes[NStations][NMaxModules]
Initial value:

Definition at line 62 of file VSPConfigCalculate_Run9.C.

Referenced by create_rootgeom_VSP_Run9().

◆ ModulesXRotations

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

Definition at line 72 of file VSPConfigCalculate_Run9.C.

◆ ModulesYRotations

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

Definition at line 67 of file VSPConfigCalculate_Run9.C.

◆ NMaxModules

const Int_t NMaxModules = 6

Definition at line 30 of file VSPConfigCalculate_Run9.C.

◆ NModulesInStations

const Int_t NModulesInStations[NStations] = {6}

Definition at line 32 of file VSPConfigCalculate_Run9.C.

◆ NStations

const Int_t NStations = 1

Definition at line 29 of file VSPConfigCalculate_Run9.C.

◆ PitchValue

Double_t PitchValue[3] = {0.00575038, 0.00575038, 0.0058}

Definition at line 125 of file VSPConfigCalculate_Run9.C.

◆ StripAngle

Double_t StripAngle[3] = {+7.5, +7.5, +0.0}

Definition at line 126 of file VSPConfigCalculate_Run9.C.

◆ StripDirection

Definition at line 123 of file VSPConfigCalculate_Run9.C.

◆ XLeftBorderFrame

Double_t XLeftBorderFrame = 0.1304

Definition at line 84 of file VSPConfigCalculate_Run9.C.

◆ XLeftBorderLayer

Double_t XLeftBorderLayer[3] = {XOrigLayer[0], XOrigLayer[1] - XSizeLayer[1], XOrigLayer[2]}

Definition at line 108 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ XModuleShifts

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

Definition at line 40 of file VSPConfigCalculate_Run9.C.

◆ XModuleSize

Double_t XModuleSize = 6.2

Definition at line 80 of file VSPConfigCalculate_Run9.C.

◆ XOrigLayer

Double_t XOrigLayer[3] = {0.0 + XSensorZoneSize * 0.5, 0.0 + XSensorZoneSize * 0.5, 0.0 + XSensorZoneSize * 0.5}

Definition at line 100 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ XRightBorderFrame

Double_t XRightBorderFrame = 0.1304

Definition at line 85 of file VSPConfigCalculate_Run9.C.

◆ XRightBorderLayer

Double_t XRightBorderLayer[3]
Initial value:
Double_t XSizeLayer[3]
Double_t XOrigLayer[3]

Definition at line 113 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ XSensorZoneSize

◆ XShift_DuplicateCornerLayer

Double_t XShift_DuplicateCornerLayer
Initial value:
=
0.78191

Definition at line 131 of file VSPConfigCalculate_Run9.C.

◆ XSizeLayer

Definition at line 104 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ XStationPositions

const Double_t XStationPositions[NStations] = {0.0}

Definition at line 35 of file VSPConfigCalculate_Run9.C.

◆ YBottomBorderFrame

Double_t YBottomBorderFrame = 0.1304

Definition at line 87 of file VSPConfigCalculate_Run9.C.

◆ YLeftBorderLayer

Double_t YLeftBorderLayer[3]
Initial value:
Double_t YSizeLayer[3]
Double_t YOrigLayer[3]

Definition at line 110 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ YModuleShifts

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

Definition at line 45 of file VSPConfigCalculate_Run9.C.

◆ YModuleSize

Double_t YModuleSize = 6.2

Definition at line 81 of file VSPConfigCalculate_Run9.C.

◆ YOrigLayer

Double_t YOrigLayer[3] = {0.0 - YSensorZoneSize * 0.5, 0.0 - YSensorZoneSize * 0.5, 0.0 - YSensorZoneSize * 0.5}

Definition at line 102 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ YRightBorderLayer

Double_t YRightBorderLayer[3] = {YOrigLayer[0] + YSizeLayer[0], YOrigLayer[1], YOrigLayer[2]}

Definition at line 116 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ YSensorZoneSize

Definition at line 91 of file VSPConfigCalculate_Run9.C.

Referenced by CreateModule().

◆ YSizeLayer

Definition at line 106 of file VSPConfigCalculate_Run9.C.

Referenced by CalculateParameters(), and PrintInfo().

◆ YStationPositions

const Double_t YStationPositions[NStations] = {0.0}

Definition at line 36 of file VSPConfigCalculate_Run9.C.

◆ YTopBorderFrame

Double_t YTopBorderFrame = 0.1304

Definition at line 86 of file VSPConfigCalculate_Run9.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{2.48 , 2.3 , 2.48 ,
0.06 , 0.24 , 0.06 },
}

Definition at line 50 of file VSPConfigCalculate_Run9.C.

◆ ZModuleSize

Double_t ZModuleSize = 0.03

Definition at line 82 of file VSPConfigCalculate_Run9.C.

◆ ZSensorZoneSize

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {6.5}

Definition at line 37 of file VSPConfigCalculate_Run9.C.