22 <input>PXDValidationTTreeOutput.root</input>
23 <input>PXDValidationTTreeSimHitOutput.root</input>
24 <input>PXDValidationTTreeDigitOutput.root</input>
25 <output>PXDValidation.root</output>
26 <contact>Peter Kodys, peter.kodys@mff.cuni.cz</contact>
27 <description>This steering file run the PXD response on an input file with own generated events.</description>
31 from PXDValidationTTree
import PXDValidationTTree
32 from PXDValidationTTreeSimHit
import PXDValidationTTreeSimHit
33 from PXDValidationTTreeDigit
import PXDValidationTTreeDigit
35 set_log_level(LogLevel.WARNING)
39 particlegun = register_module(
'ParticleGun')
41 eventinfo = register_module(
'EventInfoSetter')
43 progress = register_module(
'Progress')
45 gearbox = register_module(
'Gearbox')
47 geometry = register_module(
'Geometry')
49 simulation = register_module(
'FullSim')
51 pxddigi = register_module(
'PXDDigitizer')
53 pxdclust = register_module(
'PXDClusterizer')
57 set_random_seed(3038402)
64 eventinfo.param({
'evtNumList': [1000],
'runList': [1]})
73 'pdgCodes': [211, -211, 11, -11],
75 'momentumGeneration':
'normal',
77 'momentumParams': [2, 0.2],
79 'phiGeneration':
'uniform',
81 'phiParams': [0, 360],
83 'thetaGeneration':
'uniformCos',
85 'thetaParams': [15, 150],
87 'vertexGeneration':
'normal',
89 'xVertexParams': [0.0, 0.1],
90 'yVertexParams': [0.0, 0.1],
91 'zVertexParams': [0.0, 0.1],
93 'independentVertices':
False,
98 print_params(particlegun)
101 geometry.param(
'components', [
'MagneticField',
'PXD',
'SVD'])
103 pxddigi.param(
'statisticsFilename',
'PXDValidationDiags3.root')
116 main.add_module(eventinfo)
117 main.add_module(progress)
118 main.add_module(particlegun)
119 main.add_module(gearbox)
120 main.add_module(geometry)
121 main.add_module(simulation)
122 main.add_module(pxddigi)
123 main.add_module(pxdclust)
124 main.add_module(analyze)
125 main.add_module(analyzeSimHit)
126 main.add_module(analyzeDigit)