10from ROOT
import Belle2
15 sys.exit(
"Expected two arguments (input filename + output filename). Exit.")
16filenameIn = sys.argv[1]
17filenameOut = sys.argv[2]
19b2.set_log_level(b2.LogLevel.WARNING)
21main = b2.create_path()
23main.add_module(
'RootInput', inputFileName=filenameIn)
24main.add_module(
'Gearbox')
25main.add_module(
'Geometry')
28main.add_module(
'CDCTriggerTSF',
33main.add_module(
'TRGECLFAM',
39main.add_module(
'TRGECL',
47not_triggered = b2.create_path()
49trigger = main.add_module(
'TRGGDLCosmicRun', BackToBack=
True)
50trigger.if_false(not_triggered)
52main.add_module(
'RootOutput', outputFileName=filenameOut)
static std::string findFile(const std::string &path, bool silent=false)
Search for given file or directory in local or central release directory, and return absolute path if...