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