All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ReadSicbFile.py
Go to the documentation of this file.
1 #----Load the needed DynamicLibraries
2 g.DLLs = ['GaudiAlg', 'GaudiIntrospection','SicbCnv']
3 
4 #----SICB stuff
5 sicbcnv = g.service('SicbEventCnvSvc')
6 perssvc = g.service('EventPersistencySvc')
7 perssvc.CnvServices = [ 'SicbEventCnvSvc' ]
8 evtsel = g.service('EventSelector')
9 evtsel.Input = ["FILE='//cern.ch/dfs/Experiments/lhcb/data/mc/sicb_bpipi_v233_100ev.dst1'"]
10 
11 #----Introspection Service Setup with its dictionaries
12 introssvc = g.service('IntrospectionSvc')
13 introssvc.Dictionaries = ['LHCbEventDict']
14 
15 
16 #----Application Manager configuration
17 g.ExtSvc = ['ParticlePropertySvc',
18  'SicbEventCnvSvc',
19  'IntrospectionSvc']
20 
21 g.EvtSel = 'SICB'
22 g.HistogramPersistency = 'NONE'
23 g.topAlg = []
24 g.EvtMax = 10
25 
26 print g.properties()
27