The Gaudi Framework
v41r0 (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
ExtCollWrite.py
Go to the documentation of this file.
1
11
from
Configurables
import
Gaudi__TestSuite__ExtendedEvtCol
as
ExtendedEvtCol
12
from
Configurables
import
GaudiPersistency
13
from
Gaudi.Configuration
import
*
14
15
# persistency setup
16
GaudiPersistency()
17
18
FileCatalog(Catalogs=[
"xmlcatalog_file:ROOTIO.xml"
])
19
20
# Input
21
esel =
EventSelector
(PrintFreq=100)
22
esel.Input = [
23
"DATAFILE='PFN:ROOTIO.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'"
,
24
"DATAFILE='PFN:ROOTIO.mdst' SVC='Gaudi::RootEvtSelector' OPT='READ'"
,
25
]
26
27
# Output
28
evtColl =
TagCollectionSvc
(
"EvtTupleSvc"
)
29
evtColl.Output = [
30
"EXTEVT DATAFILE='PFN:ROOT_IO.etags' OPT='RECREATE' SVC='Gaudi::RootCnvSvc'"
31
]
32
33
# Algorithms
34
algs = Gaudi__Sequencer(
35
"EventAlgs"
,
36
Members=[
37
ExtendedEvtCol(
"Fill"
, EvtColLUN=
"EXTEVT"
)
38
],
# Logical unit for Event Tag Collection
39
VetoObjects=[
"FSR"
],
40
)
41
42
# Application
43
app =
ApplicationMgr
(TopAlg=[algs], EvtMax=-1, HistogramPersistency=
"NONE"
)
44
app.ExtSvc.append(evtColl)
ApplicationMgr
The Application Manager class.
Definition
ApplicationMgr.h:54
EventSelector
Definition of class EventSelector.
Definition
EventSelector.h:41
TagCollectionSvc
Gaudi tag collection service definition.
Definition
TagCollectionSvc.h:35
Gaudi.Configuration
Definition
Configuration.py:1
GaudiTestSuite
options
ROOT_IO
ExtCollWrite.py
Generated on
for The Gaudi Framework by
1.17.0