ATLAS Offline Software
Classes | Namespaces | Functions | Variables
makeDTCalibBlob_pickPhase.py File Reference

Go to the source code of this file.

Classes

class  makeDTCalibBlob_pickPhase.cfile
 
class  makeDTCalibBlob_pickPhase.logFile
 

Namespaces

 makeDTCalibBlob_pickPhase
 

Functions

def makeDTCalibBlob_pickPhase.getFolderList (dbstring, retdb=False, cleanlist=False)
 
def makeDTCalibBlob_pickPhase.chmkDir (path)
 
def makeDTCalibBlob_pickPhase.get_latest_run ()
 
def makeDTCalibBlob_pickPhase.athListFormat (vals)
 
def makeDTCalibBlob_pickPhase.printAndRun (cmd, outlogpath=None, runNow=True)
 
def makeDTCalibBlob_pickPhase.run_merge (insqlite, inkeys, outsqlite, outpool, Ncoll=0, poolcat="mergedPoolCat.xml", outlogpath=None, runNow=True)
 
def makeDTCalibBlob_pickPhase.run_fillofcphase (phases_txt, outkey="LArSCOFCPhase", default_phase=22, folder="/LAR/ElecCalibOflSC/OFCBin/PhysShift", tag="LARElecCalibOflSCOFCBinPhysShift-10", outsql="SCOFCPhase.db", outpool="SC_OFC_Phase_10.pool.root", poolcat="mergedPoolCat.xml", outlogpath=None, runNow=True)
 
def makeDTCalibBlob_pickPhase.run_ofcpick (insqlite, outsqlite, phase_sql, run, BCsnapshotDB, outpdir="./", outrdir="./", outname="Picked_phase24052024", tag="LARElecCalibOflSCOFCBinPhysShift-10", Ncoll=0, poolcat="mergedPoolCat.xml", isPhys=True, outlogpath=None, runNow=True)
 
def makeDTCalibBlob_pickPhase.run_toCoolInline (mergedDB, outDB, infolders="ConvertToInlineSC", globalTag="LARCALIB-RUN2-00", poolcat="mergedPoolCat.xml", outlogpath=None, runNow=True)
 
def makeDTCalibBlob_pickPhase.poolCatalog (poolDir, catalog=None, runNow=True)
 
def makeDTCalibBlob_pickPhase.folderNamesTags (sql, mustr="mu-60", dbname="CONDBR2", verbose=False)
 

Variables

dictionary makeDTCalibBlob_pickPhase.folderInfo = {}
 
 makeDTCalibBlob_pickPhase.parser = argparse.ArgumentParser()
 
 makeDTCalibBlob_pickPhase.type
 
 makeDTCalibBlob_pickPhase.str
 
 makeDTCalibBlob_pickPhase.help
 
 makeDTCalibBlob_pickPhase.dest
 
 makeDTCalibBlob_pickPhase.default
 
 makeDTCalibBlob_pickPhase.int
 
 makeDTCalibBlob_pickPhase.nargs
 
 makeDTCalibBlob_pickPhase.None
 
 makeDTCalibBlob_pickPhase.action
 
 makeDTCalibBlob_pickPhase.args = parser.parse_args()
 
 makeDTCalibBlob_pickPhase.runNow = not args.dryRun
 
string makeDTCalibBlob_pickPhase.outtag = f"mu{args.Ncoll}_{datetime.datetime.now().strftime('%y%m%d')}"
 
string makeDTCalibBlob_pickPhase.logPath = f"{args.logDir}/{args.inputLog}"
 
bool makeDTCalibBlob_pickPhase.doPicking = True
 
 makeDTCalibBlob_pickPhase.theLog = logFile(logPath)
 
 makeDTCalibBlob_pickPhase.insqlite = theLog.sqldbs
 
 makeDTCalibBlob_pickPhase.bcsnapshots = theLog.bcsnapshots
 
 makeDTCalibBlob_pickPhase.outdir
 
string makeDTCalibBlob_pickPhase.outdir_root = f"{args.outdir}/rootFiles"
 
string makeDTCalibBlob_pickPhase.outdir_pool = f"{args.outdir}/poolFiles"
 
string makeDTCalibBlob_pickPhase.outdir_logs = f"{args.outdir}/logs"
 
string makeDTCalibBlob_pickPhase.mergedDB = f"{outdir_pool}/mergeSC_{outtag}.db"
 
string makeDTCalibBlob_pickPhase.mergedPool = f"{outdir_pool}/merged_SC_{outtag}.pool.root"
 
string makeDTCalibBlob_pickPhase.finalDB_flat = f"{outdir_pool}/freshConstants_1.5_{outtag}.db"
 
string makeDTCalibBlob_pickPhase.poolcat = f"{outdir_pool}/mergedPoolCat.xml"
 
string makeDTCalibBlob_pickPhase.phase_pool = f"{outdir_pool}/SC_OFC_Phase_10_{outtag}.pool.root"
 
 makeDTCalibBlob_pickPhase.pd
 
 makeDTCalibBlob_pickPhase.inkeys
 
 makeDTCalibBlob_pickPhase.folders
 
 makeDTCalibBlob_pickPhase.outsqlite
 
 makeDTCalibBlob_pickPhase.outpool
 
 makeDTCalibBlob_pickPhase.Ncoll
 
 makeDTCalibBlob_pickPhase.outlogpath
 
string makeDTCalibBlob_pickPhase.phaseDBname = f"SCOFCPhase_{outtag}.db"
 
 makeDTCalibBlob_pickPhase.phase_db
 
 makeDTCalibBlob_pickPhase.phases_txt
 
 makeDTCalibBlob_pickPhase.phase_txt
 
 makeDTCalibBlob_pickPhase.outkey
 
 makeDTCalibBlob_pickPhase.default_phase
 
 makeDTCalibBlob_pickPhase.folder
 
 makeDTCalibBlob_pickPhase.tag
 
 makeDTCalibBlob_pickPhase.outsql
 
 makeDTCalibBlob_pickPhase.phase_sql
 
 makeDTCalibBlob_pickPhase.run
 
 makeDTCalibBlob_pickPhase.BCsnapshotDB
 
 makeDTCalibBlob_pickPhase.outpdir
 
 makeDTCalibBlob_pickPhase.outrdir
 
 makeDTCalibBlob_pickPhase.outname
 
 makeDTCalibBlob_pickPhase.isPhys
 
def makeDTCalibBlob_pickPhase.foldersTags = folderNamesTags(mergedDB, mustr="", verbose=True)
 
string makeDTCalibBlob_pickPhase.folderScript = f"{args.outdir}/ConvertToInlineSC"
 
list makeDTCalibBlob_pickPhase.lines = ["inputFolders=[]"]
 
 makeDTCalibBlob_pickPhase.theFolder = f
 
def makeDTCalibBlob_pickPhase.theTag = foldersTags[f]
 
dictionary makeDTCalibBlob_pickPhase.theKey = folderInfo[f]["key"]
 
dictionary makeDTCalibBlob_pickPhase.theClassType = folderInfo[f]["classtype"]
 
string makeDTCalibBlob_pickPhase.theline = f'inputFolders.append(("{theFolder}","{theTag}","{theKey}","{theClassType}"))'
 
 makeDTCalibBlob_pickPhase.infolders
 
 makeDTCalibBlob_pickPhase.outDB
 
 makeDTCalibBlob_pickPhase.globalTag