14b2.set_log_level(b2.LogLevel.ERROR)
19eventinfosetter = b2.register_module(
'EventInfoSetter')
21particlegun = b2.register_module(
'ParticleGun')
23gearbox = b2.register_module(
'Gearbox')
25geometry = b2.register_module(
'Geometry')
27simulation = b2.register_module(
'FullSim')
36analysis = b2.register_module(
'CLAWS')
38output = b2.register_module(
'RootOutput')
40progress = b2.register_module(
'Progress')
45eventinfosetter.param({
'evtNumList': [500],
'runList': [1]})
60 'pdgCodes': [11, 22, -11],
63 'momentumGeneration':
'fixed',
64 'momentumParams': [0.00004],
65 'thetaGeneration':
'normal',
66 'thetaParams': [0.0, 1.0],
67 'phiGeneration':
'uniform',
68 'phiParams': [0, 360.0],
69 'vertexGeneration':
'fixed',
70 'xVertexParams': [0.0],
71 'yVertexParams': [0.0],
72 'zVertexParams': [0.0],
73 'independentVertices':
False,
79gearbox.param(
'fileName',
'beast/claws/detector.xml')
87geometry.set_log_level(b2.LogLevel.INFO)
90analysis.set_log_level(b2.LogLevel.INFO)
95output.param(
'outputFileName',
'claws-simulation.root')
102output.param(
'updateFileCatalog',
False)
105main = b2.create_path()
106main.add_module(eventinfosetter)
107main.add_module(gearbox)
108main.add_module(geometry)
109main.add_module(particlegun)
110main.add_module(simulation)
111main.add_module(analysis)
112main.add_module(output)
113main.add_module(progress)