![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, inputPattern="/raid02/schernau/ped/csc/csc/*.data", processedFilesList="ProcessedFiles.list", outputDirBase="/raid02/lampen/datasets/csc/PedProcessing2", debug=False, allowDirOverwrite=False) | |
| run (self, numToRun=10) | |
| ReadProcessedFilesList (self) | |
| AddProcessedFiles (self, newFiles) | |
| FindFiles (self) | |
| RunAthena (self, pattern, runNumber) | |
Public Attributes | |
| InputPattern = inputPattern | |
| ProcessedFilesList = processedFilesList | |
| OutputDirBase = outputDirBase | |
| debug = debug | |
| AllowDirOverwrite = allowDirOverwrite | |
Run on multiple pedestal files Used to run on multiple pedestal bytestream files located somewhere on disk. Puts results into seperate directories by run-number. It extracts pertinent information from the file names, which are expected to be of the form: data10_calib.00157081.calibration_pedCSC.daq.RAW._lb0000._CSC-EB._0001.data run(numToRun) - process NumToRun (at most) runs out of those not yet run out of. This is the primary interface. ReadProcessedFilesList() - find all files already run on from a local text file AddProcessedFiles() - save newly run on files to disk FindFiles() - Find pattern and run number of a set of files that have not yet been run on RunAthena() - run athena job for a set of runs
Definition at line 10 of file BulkRun.py.
| BulkRun.BulkRun.__init__ | ( | self, | |
| inputPattern = "/raid02/schernau/ped/csc/csc/*.data", | |||
| processedFilesList = "ProcessedFiles.list", | |||
| outputDirBase = "/raid02/lampen/datasets/csc/PedProcessing2", | |||
| debug = False, | |||
| allowDirOverwrite = False ) |
initialize internal variables
Definition at line 26 of file BulkRun.py.
| BulkRun.BulkRun.AddProcessedFiles | ( | self, | |
| newFiles ) |
Save new processed files to disk
Definition at line 92 of file BulkRun.py.
| BulkRun.BulkRun.FindFiles | ( | self | ) |
Definition at line 104 of file BulkRun.py.
| BulkRun.BulkRun.ReadProcessedFilesList | ( | self | ) |
Definition at line 72 of file BulkRun.py.
| BulkRun.BulkRun.run | ( | self, | |
| numToRun = 10 ) |
Run over all run numbers, find files for each, and submit each set to CscCalcPedMon.py
Definition at line 42 of file BulkRun.py.
| BulkRun.BulkRun.RunAthena | ( | self, | |
| pattern, | |||
| runNumber ) |
Run athena on a particular set of files matching pattern
Definition at line 150 of file BulkRun.py.
| BulkRun.BulkRun.AllowDirOverwrite = allowDirOverwrite |
Definition at line 39 of file BulkRun.py.
| BulkRun.BulkRun.debug = debug |
Definition at line 38 of file BulkRun.py.
| BulkRun.BulkRun.InputPattern = inputPattern |
Definition at line 35 of file BulkRun.py.
| BulkRun.BulkRun.OutputDirBase = outputDirBase |
Definition at line 37 of file BulkRun.py.
| BulkRun.BulkRun.ProcessedFilesList = processedFilesList |
Definition at line 36 of file BulkRun.py.