11from basf2
import logging, LogLevel, create_path, process
13logging.log_level = LogLevel.ERROR
19main.add_module(
"EventInfoSetter", evtNumList=[1])
22main.add_module(
"Gearbox")
28geometry = main.add_module(
"Geometry", logLevel=LogLevel.INFO, assignRegions=
True,
29 components=[
'BeamPipe',
'PXD',
'SVD'])
33main.add_module(
'FullSim')
36materialscan = main.add_module(
"MaterialScan", logLevel=LogLevel.INFO)
45 'Filename':
'MaterialScan.root',
49 'spherical.origin': [0, 0, 0],
51 'spherical.nTheta': 100,
53 'spherical.minTheta': 17,
55 'spherical.maxTheta': 150,
57 'spherical.cosTheta':
True,
59 'spherical.nPhi': 100,
61 'spherical.minPhi': 0,
63 'spherical.maxPhi': 360,
66 'spherical.maxDepth': 0,
68 'spherical.splitByMaterials':
False,
71 'spherical.ignored': [
'Air',
'Vacuum',
'G4_AIR',
'ColdAir'],
76 'planar.plane':
'custom',
89 'planar.maxDepth': 32,
103 'planar.splitByMaterials':
True,
106 'planar.ignored': [
'Air',
'G4_AIR',
'ColdAir'],