Coll456.ItemList += ["DataHeader#*"]
Coll456.ItemList += ["AthenaAttributeList#SimpleTag"]
Coll456.ItemList += ["CollectionMetadataContainer#Default"]
Coll456.OutputLevel = INFO
Coll456.AcceptAlgs = ["Splitter456"]

# not ( 1 & 2 & 3 & 4 & 5 & 6 )   complement of previous 3
CollBar = RegistrationStream("CollBar")
CollBar.CollectionType = "ExplicitROOT"
CollBar.OutputCollection = "Collection_SplitBar.root"
#CollBar.Tool = TagTool
CollBar.ItemList += ["DataHeader#*"]
CollBar.ItemList += ["AthenaAttributeList#RunEventTag"]
CollBar.ItemList += ["CollectionMetadataContainer#Default"]
CollBar.OutputLevel = INFO
CollBar.VetoAlgs = ["Splitter1"]
CollBar.VetoAlgs += ["Splitter2"]
CollBar.VetoAlgs += ["Splitter3"]
CollBar.VetoAlgs += ["Splitter456"]

#--------------------------------------------------------------
# Overlapping collections
#

# bit ( 1 & 7 )
Coll1and7 = RegistrationStream("Coll1and7")
Coll1and7.CollectionType = "ExplicitROOT"
Coll1and7.OutputCollection = "Collection_Split1plus7"
Coll1and7.ItemList += ["DataHeader#*"]
Coll1and7.ItemList += ["AthenaAttributeList#SimpleTag"]
Coll1and7.ItemList += ["CollectionMetadataContainer#Default"]
RegStream1.CollectionOpenMode = "CREATE_AND_OVERWRITE"
# Specifies whether collection references input or output data file:
RegStream1.WriteInputDataHeader = FALSE
# Reference to input file
RegStream1.WriteAllProv = False
# prov stage included
RegStream1.IncludeProvStages = []
RegStream1.IncludeProvStages = ['test']
# prov stage excluded
RegStream1.ExcludeProvStages = []
RegStream1.ExcludeProvStages = ['test0']
RegStream1.ExcludeProvStages += ['nottest']
# Persistency service
RegStream1.PersistencySvc = 'EventPersistencySvc'
# Storename
RegStream1.StoreName = 'StoreGateSvc'
# Accept alg list
RegStream1.AcceptAlgs = []
# Requre alg list
RegStream1.RequireAlgs = []
# Veto alg list
RegStream1.VetoAlgs = []

topSequence+=RegStream1

#==============================================================
#
# End of job options file
#
###############################################################