# Output collection name:
try:
    RegStream1.OutputCollection = OutColl
except:
    RegStream1.OutputCollection = "OutputCollection"

# Output collection type:
try:
    RegStream1.CollectionType = OutCollType
except:
    RegStream1.CollectionType = "ExplicitROOT"

# Output collection database connection string:
try:
    RegStream1.Connection = OutCollConnect
except:
    RegStream1.Connection = ""

# Output collection open mode:
try:
    RegStream1.CollectionOpenMode = OpenMode
except:
    RegStream1.CollectionOpenMode = "CREATE_AND_OVERWRITE"

# Reference to input file
addProv = False
try:
    addProv = ProvOn
    RegStream1.WriteAllProv = ProvOn
except:
Exemplo n.º 2
0
# Full path name of output collection:
try:
  RegStream1.OutputCollection = Out
except:
  RegStream1.OutputCollection = "test.coll.root"

# Collection type (ExplicitROOT, ExplicitMySQL or ExplicitMySQLlt):
try:
  RegStream1.CollectionType = Type
except:
  RegStream1.CollectionType = "ExplicitROOT"

# Database connection string (Set to "" for ExplicitROOT collection):
try:
  RegStream1.Connection = Connect
except:
  RegStream1.Connection = ""

# Open mode of collection (CREATE_AND_OVERWRITE or CREATE):
try:
  RegStream1.CollectionOpenMode = Mode
except:
  RegStream1.CollectionOpenMode = "CREATE_AND_OVERWRITE"

# List of DO's to register
RegStream1.ItemList += [ "DataHeader#*" ]

# Key name of AthenaAttributeList used for the tag:
RegStream1.ItemList += [ "TagAthenaAttributeList#RunEventTag" ]