Exemplo n.º 1
0
# The following block replaces the include above...
from LArConditionsCommon.LArCondFlags import larCondFlags
LArDBConnection = ""
LArDB = "LAR_OFL"
if larCondFlags.LArDBConnection.statusOn:
    LArDBConnection = larCondFlags.LArDBConnection()
    LArDB = ""
larCondFlags.config_ElecCalibMC()
if svcMgr.MessageSvc.OutputLevel <= DEBUG:
    print larCondFlags
from IOVDbSvc.CondDB import conddb
larCondDBFolders = ["/LAR/ElecCalibMC/fSampl"]
for i in larCondDBFolders:
    conddb.addFolder(LArDB, i + LArDBConnection)
    ## allow onverride
    larCondFlags.addTag(i, conddb)
## apply hierarchical tag
larCondFlags.addTag('/LAR/ElecCalibMC', conddb)

## Algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence
topSeq = AlgSequence()

from xAODEventInfoCnv.xAODEventInfoCreator import xAODMaker__EventInfoCnvAlg
topSeq += xAODMaker__EventInfoCnvAlg()

import AthenaPoolCnvSvc.ReadAthenaPool
svcMgr.MessageSvc.OutputLevel = INFO
#svcMgr.MessageSvc.defaultLimit = 100000 # 999999

bdir = "/usatlas/groups/bnl_local2/flanni/HITS/"
Exemplo n.º 2
0
include.block("LArConditionsCommon/LArIdMap_MC_jobOptions.py")

###################################################################
#
# Job options file for setting up Identifier Map in POOL/COOL
#
#==================================================================

from LArConditionsCommon.LArCondFlags import larCondFlags

larCondFlags.config_idmap_MC()

LArDBConnection = ""
LArDB = "LAR_OFL"

if larCondFlags.LArDBConnection.statusOn:
    LArDBConnection = larCondFlags.LArDBConnection()
    LArDB = ""

from IOVDbSvc.CondDB import conddb

conddb.addFolder(LArDB, "/LAR/Identifier/OnOffIdMap" + LArDBConnection)
larCondFlags.addTag("/LAR/Identifier/OnOffIdMap", conddb)

conddb.addFolder(LArDB, "/LAR/Identifier/CalibIdMap" + LArDBConnection)
larCondFlags.addTag("/LAR/Identifier/CalibIdMap", conddb)

conddb.addFolder(LArDB, "/LAR/Identifier/FebRodMap" + LArDBConnection)
larCondFlags.addTag("/LAR/Identifier/FebRodMap", conddb)