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 72 of file edmIntegrityCheck.py.
def edmIntegrityCheck.IntegrityCheck.__init__ | ( | self, | |
dataset, | |||
options | |||
) |
Definition at line 74 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 312 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 293 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.listRootFiles().
def edmIntegrityCheck.IntegrityCheck.listRootFiles | ( | self, | |
dir | |||
) |
filter out filenames so that they only contain root files
Definition at line 297 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 89 of file edmIntegrityCheck.py.
References edmIntegrityCheck.IntegrityCheck.dataset, genericValidation.GenericValidationData.dataset, edmIntegrityCheck.IntegrityCheck.eventsTotal, FileExportPlugin.FileExportPlugin.options, cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, DOTExport.DotProducer.options, TestProcess.TestProcess.options, eventsfwlite.Events.options, confdb.HLTProcess.options, and edmIntegrityCheck.IntegrityCheck.options.
Referenced by production_tasks.BaseDataset.run(), and edmIntegrityCheck.IntegrityCheck.test().
def edmIntegrityCheck.IntegrityCheck.report | ( | self | ) |
Definition at line 211 of file edmIntegrityCheck.py.
References pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), LumiList.LumiList.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, edmIntegrityCheck.IntegrityCheck.eventsTotal, reco::HitPattern.int::test::TestHitPattern::test(), edm::RunningAverage.int::test_average::running_average::test(), join(), str, value_test.ValueTestCase.test(), eventstfile_test.EventsTFileTestCase.test(), pat::Flags.test(), helper::Parser.test(), reco::PFBlock::Link.test, pftools::CaloBox.test(), helper::ScannerBase.test(), MiniFloatConverter::ReduceMantissaToNbitsRounding.test, DiMuonHistograms.test, edmIntegrityCheck.IntegrityCheck.test(), XMLProcessor.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 301 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 289 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.structured().
def edmIntegrityCheck.IntegrityCheck.stripDuplicates | ( | self | ) |
Definition at line 105 of file edmIntegrityCheck.py.
References mps_setup.append, edmIntegrityCheck.int, list(), SiStripPI.max, min(), and edmIntegrityCheck.IntegrityCheck.test_result.
Referenced by edmIntegrityCheck.IntegrityCheck.test().
def edmIntegrityCheck.IntegrityCheck.structured | ( | self | ) |
Definition at line 236 of file edmIntegrityCheck.py.
References mps_setup.append, edmIntegrityCheck.IntegrityCheck.dataset, genericValidation.GenericValidationData.dataset, pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), LumiList.LumiList.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, edmIntegrityCheck.IntegrityCheck.eventsTotal, reco::HitPattern.int::test::TestHitPattern::test(), edm::RunningAverage.int::test_average::running_average::test(), edmIntegrityCheck.IntegrityCheck.stageHost(), value_test.ValueTestCase.test(), eventstfile_test.EventsTFileTestCase.test(), pat::Flags.test(), helper::Parser.test(), reco::PFBlock::Link.test, pftools::CaloBox.test(), helper::ScannerBase.test(), MiniFloatConverter::ReduceMantissaToNbitsRounding.test, DiMuonHistograms.test, edmIntegrityCheck.IntegrityCheck.test(), XMLProcessor.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.
Definition at line 159 of file edmIntegrityCheck.py.
References Book.directory, edmIntegrityCheck.IntegrityCheck.directory, pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), LumiList.LumiList.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, edmIntegrityCheck.IntegrityCheck.listRootFiles(), DbQuery.query, edmIntegrityCheck.IntegrityCheck.query(), confdbOfflineConverter.OfflineConverter.query(), upload_popcon.HTTP.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 322 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 328 of file edmIntegrityCheck.py.
References AlignmentIORootBase.testFile(), edmIntegrityCheck.IntegrityCheck.testFile(), and timeout.timed_out().
Referenced by edmIntegrityCheck.IntegrityCheck.test().
edmIntegrityCheck.IntegrityCheck.dataset |
Definition at line 78 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 81 of file edmIntegrityCheck.py.
Referenced by dqm_interfaces.DirFetcher.run(), utils.unpickler.run(), edmIntegrityCheck.IntegrityCheck.test(), and dqm_interfaces.DirWalkerFile.walk().
edmIntegrityCheck.IntegrityCheck.eventsSeen |
Definition at line 85 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), edmIntegrityCheck.IntegrityCheck.structured(), and edmIntegrityCheck.IntegrityCheck.test().
edmIntegrityCheck.IntegrityCheck.eventsTotal |
Definition at line 84 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.query(), edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().
edmIntegrityCheck.IntegrityCheck.options |
Definition at line 79 of file edmIntegrityCheck.py.
Referenced by betterConfigParser.BetterConfigParser.__updateDict(), betterConfigParser.BetterConfigParser.checkInput(), CrabHelper.CrabHelper.crab_config_filename(), CrabHelper.CrabHelper.crab_taskname(), DOTExport.DotExport.export(), CrabHelper.CrabHelper.fill_options_from_crab_config(), edmIntegrityCheck.IntegrityCheck.query(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), production_tasks.CheckJobStatus.run(), production_tasks.CleanJobFiles.run(), and DOTExport.DotExport.write_output().
edmIntegrityCheck.IntegrityCheck.test_result |
Definition at line 87 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 80 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().