6 <input>PartGunChargedStableGenSim.root</input>
7 <output>CombinedPIDPerformance.root</output>
8 <description>This steering script fully reconstructs particle gun events for a set of charged stable particles,
9 making plots for PID performance validation</description>
10 <contact>jbennett@phy.olemiss.edu</contact>
11 <interval>release</interval>
16 from reconstruction
import add_reconstruction
18 main = basf2.create_path()
21 inputFileName =
"../PartGunChargedStableGenSim.root"
22 main.add_module(
"RootInput", inputFileName=inputFileName)
25 main.add_module(
"Gearbox")
27 main.add_module(
"Geometry")
30 add_reconstruction(main)
33 pidperformance = basf2.register_module(
'CombinedPIDPerformance')
34 pidperformance.param(
'outputFileName',
'CombinedPIDPerformance.root')
35 pidperformance.param(
'numberOfBins', 50)
36 main.add_module(pidperformance)
38 main.add_module(
"ProgressBar")
41 print(basf2.statistics)