Public Member Functions | |
def | __init__ (self, dataset, options) |
def | getParseNumberOfEvents (self, output) |
def | listFiles (self, dir) |
def | listRootFiles (self, dir) |
def | query (self) |
def | report (self) |
def | sortByBaseDir (self, files) |
def | stageHost (self) |
def | stripDuplicates (self) |
def | structured (self) |
def | test (self, previous=None, timeout=-1) |
def | testFile (self, lfn) |
def | testFileTimeOut (self, lfn, timeout) |
Public Attributes | |
dataset | |
directory | |
eventsSeen | |
eventsTotal | |
options | |
test_result | |
topdir | |
Definition at line 74 of file edmIntegrityCheck.py.
def edmIntegrityCheck.IntegrityCheck.__init__ | ( | self, | |
dataset, | |||
options | |||
) |
Definition at line 76 of file edmIntegrityCheck.py.
def edmIntegrityCheck.IntegrityCheck.getParseNumberOfEvents | ( | self, | |
output | |||
) |
Parse the output of edmFileUtil to get the number of events found
Definition at line 314 of file edmIntegrityCheck.py.
References edmIntegrityCheck.int.
Referenced by edmIntegrityCheck.IntegrityCheck.testFile().
def edmIntegrityCheck.IntegrityCheck.listFiles | ( | self, | |
dir | |||
) |
Recursively list a file or directory on castor
Definition at line 295 of file edmIntegrityCheck.py.
References cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, edmIntegrityCheck.IntegrityCheck.options, Config.Process.options, and validateAlignments.ValidationJobMultiIOV.options.
Referenced by edmIntegrityCheck.IntegrityCheck.listRootFiles().
def edmIntegrityCheck.IntegrityCheck.listRootFiles | ( | self, | |
dir | |||
) |
filter out filenames so that they only contain root files
Definition at line 299 of file edmIntegrityCheck.py.
References edmIntegrityCheck.IntegrityCheck.listFiles().
Referenced by edmIntegrityCheck.IntegrityCheck.test().
def edmIntegrityCheck.IntegrityCheck.query | ( | self | ) |
Query DAS to find out how many events are in the dataset
Definition at line 91 of file edmIntegrityCheck.py.
References edmIntegrityCheck.IntegrityCheck.dataset, genericValidation.GenericValidationData.dataset, upgradeWorkflowComponents.UpgradeFragment.dataset, DiLeptonHelp::Counts.eventsTotal, edmIntegrityCheck.IntegrityCheck.eventsTotal, StraightTrackAlignment.eventsTotal, cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, edmIntegrityCheck.IntegrityCheck.options, Config.Process.options, and validateAlignments.ValidationJobMultiIOV.options.
Referenced by production_tasks.BaseDataset.run(), and edmIntegrityCheck.IntegrityCheck.test().
def edmIntegrityCheck.IntegrityCheck.report | ( | self | ) |
Definition at line 213 of file edmIntegrityCheck.py.
References pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), LumiList.LumiList.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, DiLeptonHelp::Counts.eventsTotal, edmIntegrityCheck.IntegrityCheck.eventsTotal, StraightTrackAlignment.eventsTotal, reco::HitPattern.int ::test::TestHitPattern::test(), edm::RunningAverage.int ::test_average::running_average::test(), mps_monitormerge.items, join(), cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, edmIntegrityCheck.IntegrityCheck.options, Config.Process.options, validateAlignments.ValidationJobMultiIOV.options, print(), str, value_test.ValueTestCase.test(), eventstfile_test.EventsTFileTestCase.test(), pat::Flags.test(), reco::PFBlock::Link.test, helper::Parser.test(), L1TkMuMantra.test(), helper::ScannerBase.test(), MiniFloatConverter::ReduceMantissaToNbitsRounding.test, DiMuonHistograms.test, XMLProcessor.test(), edmIntegrityCheck.IntegrityCheck.test(), edm::test::TestProcessor.test(), DTTFBitArray< N >.test(), BitArray< N >.test(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject.test, cond::SmallWORMDict.test::SmallWORMDict::test, edmIntegrityCheck.IntegrityCheck.test_result, and edmIntegrityCheck.IntegrityCheck.topdir.
def edmIntegrityCheck.IntegrityCheck.sortByBaseDir | ( | self, | |
files | |||
) |
Sort files into directories
Definition at line 303 of file edmIntegrityCheck.py.
References mps_setup.append.
Referenced by edmIntegrityCheck.IntegrityCheck.test().
def edmIntegrityCheck.IntegrityCheck.stageHost | ( | self | ) |
Returns the CASTOR instance to use
Definition at line 291 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.structured().
def edmIntegrityCheck.IntegrityCheck.stripDuplicates | ( | self | ) |
Definition at line 107 of file edmIntegrityCheck.py.
References mps_setup.append, edmIntegrityCheck.int, mps_monitormerge.items, SiStripPI.max, SiStripPI.min, FastTimerService_cff.range, and edmIntegrityCheck.IntegrityCheck.test_result.
Referenced by edmIntegrityCheck.IntegrityCheck.test().
def edmIntegrityCheck.IntegrityCheck.structured | ( | self | ) |
Definition at line 238 of file edmIntegrityCheck.py.
References mps_setup.append, edmIntegrityCheck.IntegrityCheck.dataset, genericValidation.GenericValidationData.dataset, upgradeWorkflowComponents.UpgradeFragment.dataset, pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), LumiList.LumiList.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, DiLeptonHelp::Counts.eventsTotal, edmIntegrityCheck.IntegrityCheck.eventsTotal, StraightTrackAlignment.eventsTotal, reco::HitPattern.int ::test::TestHitPattern::test(), edm::RunningAverage.int ::test_average::running_average::test(), mps_monitormerge.items, cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, edmIntegrityCheck.IntegrityCheck.options, Config.Process.options, validateAlignments.ValidationJobMultiIOV.options, edmIntegrityCheck.IntegrityCheck.stageHost(), value_test.ValueTestCase.test(), eventstfile_test.EventsTFileTestCase.test(), pat::Flags.test(), reco::PFBlock::Link.test, helper::Parser.test(), L1TkMuMantra.test(), helper::ScannerBase.test(), MiniFloatConverter::ReduceMantissaToNbitsRounding.test, DiMuonHistograms.test, XMLProcessor.test(), edmIntegrityCheck.IntegrityCheck.test(), edm::test::TestProcessor.test(), DTTFBitArray< N >.test(), BitArray< N >.test(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject.test, cond::SmallWORMDict.test::SmallWORMDict::test, edmIntegrityCheck.IntegrityCheck.test_result, and edmIntegrityCheck.IntegrityCheck.topdir.
def edmIntegrityCheck.IntegrityCheck.test | ( | self, | |
previous = None , |
|||
timeout = -1 |
|||
) |
Definition at line 161 of file edmIntegrityCheck.py.
References Book.directory, edmIntegrityCheck.IntegrityCheck.directory, pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), LumiList.LumiList.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, mps_monitormerge.items, edmIntegrityCheck.IntegrityCheck.listRootFiles(), cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, edmIntegrityCheck.IntegrityCheck.options, Config.Process.options, validateAlignments.ValidationJobMultiIOV.options, print(), DbQuery.query, edmIntegrityCheck.IntegrityCheck.query(), confdbOfflineConverter.OfflineConverter.query(), upload_popcon.HTTP.query(), cond::OMSService.query(), uploadConditions.HTTP.query(), edmIntegrityCheck.IntegrityCheck.sortByBaseDir(), edmIntegrityCheck.IntegrityCheck.stripDuplicates(), edmIntegrityCheck.IntegrityCheck.test_result, and edmIntegrityCheck.IntegrityCheck.testFileTimeOut().
Referenced by edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().
def edmIntegrityCheck.IntegrityCheck.testFile | ( | self, | |
lfn | |||
) |
Definition at line 324 of file edmIntegrityCheck.py.
References communicate(), and edmIntegrityCheck.IntegrityCheck.getParseNumberOfEvents().
Referenced by edmIntegrityCheck.IntegrityCheck.testFileTimeOut().
def edmIntegrityCheck.IntegrityCheck.testFileTimeOut | ( | self, | |
lfn, | |||
timeout | |||
) |
Definition at line 330 of file edmIntegrityCheck.py.
References print(), AlignmentIORootBase.testFile(), edmIntegrityCheck.IntegrityCheck.testFile(), and timeout.timed_out().
Referenced by edmIntegrityCheck.IntegrityCheck.test().
edmIntegrityCheck.IntegrityCheck.dataset |
Definition at line 80 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.query(), production_tasks.BaseDataset.query(), production_tasks.CheckDatasetExists.run(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.CreateJobDirectory.run(), production_tasks.SourceCFG.run(), production_tasks.FullCFG.run(), production_tasks.WriteToDatasets.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), production_tasks.CleanJobFiles.run(), and edmIntegrityCheck.IntegrityCheck.structured().
edmIntegrityCheck.IntegrityCheck.directory |
Definition at line 83 of file edmIntegrityCheck.py.
Referenced by utils.unpickler.__init__(), dqm_interfaces.DirFetcher.run(), dqm_interfaces.DirWalkerDB.run(), utils.unpickler.run(), edmIntegrityCheck.IntegrityCheck.test(), and dqm_interfaces.DirWalkerFile.walk().
edmIntegrityCheck.IntegrityCheck.eventsSeen |
Definition at line 87 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), edmIntegrityCheck.IntegrityCheck.structured(), and edmIntegrityCheck.IntegrityCheck.test().
edmIntegrityCheck.IntegrityCheck.eventsTotal |
Definition at line 86 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.query(), edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().
edmIntegrityCheck.IntegrityCheck.options |
Definition at line 81 of file edmIntegrityCheck.py.
Referenced by betterConfigParser.BetterConfigParser.__updateDict(), submitPVValidationJobs.BetterConfigParser.__updateDict(), CrabHelper.CrabHelper.check_crabtask(), betterConfigParser.BetterConfigParser.checkInput(), CrabHelper.CrabHelper.crab_config_filename(), CrabHelper.CrabHelper.crab_config_filepath(), CrabHelper.CrabHelper.crab_taskname(), CrabHelper.CrabHelper.fill_options_from_crab_config(), edmIntegrityCheck.IntegrityCheck.listFiles(), production_tasks.MonitorJobs.monitor(), edmIntegrityCheck.IntegrityCheck.query(), production_tasks.BaseDataset.query(), edmIntegrityCheck.IntegrityCheck.report(), production_tasks.CheckDatasetExists.run(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.CreateJobDirectory.run(), production_tasks.SourceCFG.run(), production_tasks.FullCFG.run(), production_tasks.WriteToDatasets.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), production_tasks.CheckJobStatus.run(), production_tasks.WriteJobReport.run(), production_tasks.CleanJobFiles.run(), edmIntegrityCheck.IntegrityCheck.structured(), CrabHelper.CrabHelper.submit_crab_task(), edmIntegrityCheck.IntegrityCheck.test(), and CrabHelper.CrabHelper.write_crabConfig().
edmIntegrityCheck.IntegrityCheck.test_result |
Definition at line 89 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), edmIntegrityCheck.IntegrityCheck.stripDuplicates(), edmIntegrityCheck.IntegrityCheck.structured(), and edmIntegrityCheck.IntegrityCheck.test().
edmIntegrityCheck.IntegrityCheck.topdir |
Definition at line 82 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().