![]() |
ATLAS Offline Software
|
Go to the source code of this file.
Namespaces | |
| CscCalibQuery | |
Functions | |
| def | CscCalibQuery.updateList (oldListPath, newList) |
| def | CscCalibQuery.runCalib (calType, runNumber, workDir, castorCopyCmd) |
Variables | |
| int | CscCalibQuery.numFilesToRun = 3 |
| string | CscCalibQuery.responsiblePerson = "youzhou@email.arizona.edu" |
| string | CscCalibQuery.maillist = responsiblePerson |
| bool | CscCalibQuery.CoolMergeByDefault = False |
| CscCalibQuery.calType = sys.argv[1] | |
| Main program#############################. More... | |
| string | CscCalibQuery.calibFileDir = '/castor/cern.ch/user/l/lampen/CalibRunTest/slope/' |
| string | CscCalibQuery.oldListFilePath = '/afs/cern.ch/user/m/muoncali/CSC/run/pulserList.txt' |
| string | CscCalibQuery.outputDir = '/afs/cern.ch/user/m/muoncali/w0/CSC/runs/pulser/pulser' |
| CscCalibQuery.calibRe = re.compile('data1.*_calib.*calibration_pedCSC\\.daq\\.RAW.*\\.data') | |
| CscCalibQuery.testFile = glob.glob("/afs/cern.ch/user/m/muoncali/CSC/run/runningCalibration*") | |
| CscCalibQuery.currentLs = os.popen('rfdir ' + calibFileDir).read() | |
| CscCalibQuery.inFile = open(oldListFilePath, 'r') | |
| CscCalibQuery.oldLs = inFile.read() | |
| CscCalibQuery.now = datetime.datetime.now() | |
| CscCalibQuery.today = now.day | |
| CscCalibQuery.currentDirList = currentLs.split('\n') | |
| CscCalibQuery.oldDirList = oldLs.split('\n') | |
| bool | CscCalibQuery.updateRunList = True |
| string | CscCalibQuery.runningDir = "" |
| CscCalibQuery.splitDir = Dir.split() | |
| CscCalibQuery.day = int(splitDir[-3]) | |
| CscCalibQuery.DirName = splitDir[-1] | |
| CscCalibQuery.timediff = today - day | |
| string | CscCalibQuery.cmd = 'rfdir ' + calibFileDir + DirName |
| CscCalibQuery.fileList = os.popen(cmd).read().split('\n') | |
| int | CscCalibQuery.nFiles = len(fileList) -1 |
| CscCalibQuery.runNumber = DirName | |
| string | CscCalibQuery.outputDirFull = outputDir + 'Run_' + runNumber |
| bool | CscCalibQuery.ThisCalibDir = False |
| string | CscCalibQuery.castorCopyCmd = "mkdir ${bytestreamDir}" |
| tuple | CscCalibQuery.fileName = (file.split(' '))[-1] |
| string | CscCalibQuery.fullPath = calibFileDir + DirName + '/' + fileName |
1.8.18