Skip to content
Snippets Groups Projects
Commit 1c0119d9 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

add the example.

parent 2bd0fb01
No related branches found
No related tags found
No related merge requests found
......@@ -19,4 +19,7 @@ gaudi_add_module(Examples ${Examples_srcs}
# Unit tests
gaudi_add_test(HelloAlg
FRAMEWORK options/helloalg.py)
\ No newline at end of file
FRAMEWORK options/helloalg.py)
gaudi_add_test(SecondAlg
FRAMEWORK options/secondalg.py)
#!/usr/bin/env python
from Gaudi.Configuration import *
from Configurables import FirstSvc
firstsvc = FirstSvc("FirstSvc")
from Configurables import SecondAlg
secondalg = SecondAlg("secondAlg")
# ApplicationMgr
from Configurables import ApplicationMgr
ApplicationMgr( TopAlg = [secondalg],
EvtSel = 'NONE',
EvtMax = 10,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment