Public Member Functions | |
def | __init__ |
def | getParseNumberOfEvents |
def | listFiles |
def | listRootFiles |
def | query |
def | report |
def | sortByBaseDir |
def | stageHost |
def | stripDuplicates |
def | structured |
def | test |
def | testFile |
def | testFileTimeOut |
Public Attributes | |
dataset | |
directory | |
eventsSeen | |
eventsTotal | |
options | |
test_result | |
topdir | |
Definition at line 71 of file edmIntegrityCheck.py.
def edmIntegrityCheck.IntegrityCheck.__init__ | ( | self, | |
dataset, | |||
options | |||
) |
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.
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 88 of file edmIntegrityCheck.py.
References CalibratedPatElectronProducer.dataset, CalibratedElectronProducer.dataset, edmIntegrityCheck.IntegrityCheck.dataset, genericValidation.GenericValidationData.dataset, edmIntegrityCheck.IntegrityCheck.eventsTotal, FileExportPlugin.FileExportPlugin.options, cmsswPreprocessor.CmsswPreprocessor.options, DOTExport.DotProducer.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, OniaPhotonConversionProducer.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, edmIntegrityCheck.IntegrityCheck.eventsTotal, edm::RunningAverage.int::test::running_average::test(), join(), value_test.ValueTestCase.test(), eventstfile_test.EventsTFileTestCase.test(), pat::Flags.test(), helper::Parser.test(), reco::PFBlock::Link.test, pftools::CaloBox.test(), helper::ScannerBase.test(), edmIntegrityCheck.IntegrityCheck.test(), XMLProcessor.test(), BitArray< N >.test(), DTTFBitArray< N >.test(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject.test, cond::SmallWORMDict.test::SmallWORMDict::test, reco::HitPattern.test::TestHitPattern::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 bitset_utilities.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 104 of file edmIntegrityCheck.py.
References bitset_utilities.append(), list(), bookConverter.max, and min().
Referenced by edmIntegrityCheck.IntegrityCheck.test().
def edmIntegrityCheck.IntegrityCheck.structured | ( | self | ) |
Definition at line 236 of file edmIntegrityCheck.py.
References bitset_utilities.append(), CalibratedPatElectronProducer.dataset, CalibratedElectronProducer.dataset, edmIntegrityCheck.IntegrityCheck.dataset, genericValidation.GenericValidationData.dataset, pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), LumiList.LumiList.duplicates, OniaPhotonConversionProducer.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, edmIntegrityCheck.IntegrityCheck.eventsTotal, edm::RunningAverage.int::test::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(), edmIntegrityCheck.IntegrityCheck.test(), XMLProcessor.test(), DTTFBitArray< N >.test(), BitArray< N >.test(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject.test, cond::SmallWORMDict.test::SmallWORMDict::test, reco::HitPattern.test::TestHitPattern::test, edmIntegrityCheck.IntegrityCheck.test_result, and edmIntegrityCheck.IntegrityCheck.topdir.
def edmIntegrityCheck.IntegrityCheck.test | ( | self, | |
previous = None , |
|||
timeout = -1 |
|||
) |
Definition at line 159 of file edmIntegrityCheck.py.
References Book.directory, edmIntegrityCheck.IntegrityCheck.directory, pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), LumiList.LumiList.duplicates, OniaPhotonConversionProducer.duplicates, edmIntegrityCheck.IntegrityCheck.eventsSeen, edmIntegrityCheck.IntegrityCheck.listRootFiles(), DbQuery.query, edmIntegrityCheck.IntegrityCheck.query(), confdbOfflineConverter.OfflineConverter.query(), ora::QueryableVector< Tp >.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 77 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 80 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 84 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), edmIntegrityCheck.IntegrityCheck.structured(), and edmIntegrityCheck.IntegrityCheck.test().
edmIntegrityCheck.IntegrityCheck.eventsTotal |
Definition at line 83 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.query(), edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().
edmIntegrityCheck.IntegrityCheck.options |
Definition at line 78 of file edmIntegrityCheck.py.
Referenced by betterConfigParser.BetterConfigParser.__updateDict(), betterConfigParser.BetterConfigParser.checkInput(), DOTExport.DotExport.export(), 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 86 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), edmIntegrityCheck.IntegrityCheck.structured(), and edmIntegrityCheck.IntegrityCheck.test().
edmIntegrityCheck.IntegrityCheck.topdir |
Definition at line 79 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), and edmIntegrityCheck.IntegrityCheck.structured().