17 from simulation
import add_simulation
18 from softwaretrigger
import constants
20 from rawdata
import add_packers
26 components = constants.DEFAULT_HLT_COMPONENTS
28 main_path = basf2.create_path()
30 main_path.add_module(
"EventInfoSetter", evtNumList=[10])
31 main_path.add_module(
"EvtGenInput")
33 add_simulation(main_path, components)
34 add_packers(main_path, components=components)
36 main_path.add_module(
"SeqRootOutput",
37 outputFileName=
"hlt_rawdata_simulation.sroot",
38 saveObjs=[
"EventMetaData"] + constants.RAWDATA_OBJECTS)
40 basf2.print_path(main_path)
41 basf2.process(main_path)
43 print(basf2.statistics)