12 from basf2
import logging, LogLevel, create_path, process
14 logging.log_level = LogLevel.ERROR
20 main.add_module(
"EventInfoSetter", evtNumList=[1])
23 main.add_module(
"Gearbox")
29 geometry = main.add_module(
"Geometry", logLevel=LogLevel.INFO, assignRegions=
True,
30 components=[
'BeamPipe',
'PXD',
'SVD'])
34 main.add_module(
'FullSim')
37 materialscan = main.add_module(
"MaterialScan", logLevel=LogLevel.INFO)
46 'Filename':
'MaterialScan.root',
50 'spherical.origin': [0, 0, 0],
52 'spherical.nTheta': 100,
54 'spherical.minTheta': 17,
56 'spherical.maxTheta': 150,
58 'spherical.cosTheta':
True,
60 'spherical.nPhi': 100,
62 'spherical.minPhi': 0,
64 'spherical.maxPhi': 360,
67 'spherical.maxDepth': 0,
69 'spherical.splitByMaterials':
False,
72 'spherical.ignored': [
'Air',
'Vacuum',
'G4_AIR',
'ColdAir'],
77 'planar.plane':
'custom',
90 'planar.maxDepth': 32,
104 'planar.splitByMaterials':
True,
107 'planar.ignored': [
'Air',
'G4_AIR',
'ColdAir'],