def tools.addCrabInputFile | ( | crabCfg, | |
inputFile | |||
) |
Definition at line 183 of file tools.py.
Referenced by DTDQMValidation.DTDQMValidation.initCrab(), DTAnalysisResiduals.DTAnalysisResiduals.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTResidualCalibration.DTResidualCalibration.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), and DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab().
def tools.copyFilesFromCastor | ( | castor_dir, | |
output_dir, | |||
type = 'root' |
|||
) |
Definition at line 55 of file tools.py.
References listFilesInCastor().
def tools.copyFilesLocal | ( | dir, | |
output_dir, | |||
type = 'root' |
|||
) |
def tools.create_single_iov_db | ( | global_tag, | |
run_number, | |||
output_db | |||
) |
Create an sqlite file with single-IOV tags for alignment payloads. Arguments: - `global_tag`: global tag from which to extract the payloads - `run_number`: run for which the IOVs are selected - `output_db`: name of the output sqlite file
Definition at line 7 of file tools.py.
References shell.connect(), join(), and run_checked().
def tools.dqmWorkflowName | ( | datasetpath, | |
type, | |||
rev = 1 |
|||
) |
def tools.getDatasetStr | ( | datasetpath | ) |
Definition at line 15 of file tools.py.
Referenced by DTDQMMerge.DTDQMMerge.initProcess(), DTCalibrationWorker.DTCalibrationWorker.runAnalysisResiduals(), DTCalibrationWorker.DTCalibrationWorker.runResidualCalib(), DTCalibrationWorker.DTCalibrationWorker.runTtrigProd(), DTCalibrationWorker.DTCalibrationWorker.runTtrigValid(), DTCalibrationWorker.DTCalibrationWorker.runValidationWorkflow(), DTCalibrationWorker.DTCalibrationWorker.runVDriftMeanTimerCalib(), and DTCalibrationWorker.DTCalibrationWorker.runVDriftSegmentCalib().
def tools.haddInCastor | ( | castor_dir, | |
result_file, | |||
type = 'root' , |
|||
prefix = 'rfio:' , |
|||
suffix = None |
|||
) |
def tools.haddLocal | ( | dir, | |
result_file, | |||
type = 'root' |
|||
) |
def tools.listFilesInCastor | ( | castor_dir, | |
type = 'root' , |
|||
prefix = 'rfio:' |
|||
) |
Definition at line 30 of file tools.py.
Referenced by copyFilesFromCastor(), haddInCastor(), DTDqm.runDQM(), DTDQMMerge.runDQM(), and DTCalibrationWorker.DTCalibrationWorker.runDQMHarvesting().
def tools.listFilesLocal | ( | dir, | |
type = 'root' |
|||
) |
Definition at line 42 of file tools.py.
Referenced by copyFilesLocal(), haddLocal(), DTCalibrationWorker.DTCalibrationWorker.runDQMHarvesting(), and DTCalibrationWorker.DTCalibrationWorker.runDQMMerge().
def tools.loadCmsProcess | ( | psetPath | ) |
Definition at line 144 of file tools.py.
Referenced by DTValidSummary.DTValidSummary.initProcess(), DTDqm.DTDqm.initProcess(), DTDQMMerge.DTDQMMerge.initProcess(), DTAnalysisResiduals.DTAnalysisResiduals.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTDQMHarvesting.DTDQMHarvesting.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTResidualCalibration.DTResidualCalibration.initProcess(), DTDQMValidation.DTDQMValidation.initProcess(), and DTTTrigValid.DTTTrigValid.initProcess().
def tools.loadCrabCfg | ( | cfgName = None | ) |
Definition at line 178 of file tools.py.
Referenced by DTNoiseCalibration.DTNoiseCalibration.initCrab(), DTTTrigProd.DTTTrigProd.initCrab(), DTDQMValidation.DTDQMValidation.initCrab(), DTResidualCalibration.DTResidualCalibration.initCrab(), DTAnalysisResiduals.DTAnalysisResiduals.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), and DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab().
def tools.loadCrabDefault | ( | crabCfg, | |
config | |||
) |
Definition at line 195 of file tools.py.
Referenced by DTNoiseCalibration.DTNoiseCalibration.initCrab(), DTTTrigProd.DTTTrigProd.initCrab(), DTDQMValidation.DTDQMValidation.initCrab(), DTResidualCalibration.DTResidualCalibration.initCrab(), DTAnalysisResiduals.DTAnalysisResiduals.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), and DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab().
def tools.parseInput | ( | inputFields, | |
requiredFields = () |
|||
) |
def tools.replaceTemplate | ( | template, | |
opts | |||
) |
def tools.run_checked | ( | cmd | ) |
Run `cmd` and exit in case of failures. Arguments: - `cmd`: list containing the strings of the command
Definition at line 60 of file tools.py.
References join().
Referenced by create_single_iov_db().
def tools.writeCfg | ( | process, | |
dir, | |||
psetName | |||
) |