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 74 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 314 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 295 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 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(), join(), 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(), BitArray< N >.test(), DTTFBitArray< 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 bitset_utilities.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 bitset_utilities.append(), SiStripPI.max, SiStripPI.min, and sistrip::SpyUtilities.range().
Referenced by edmIntegrityCheck.IntegrityCheck.test().
def edmIntegrityCheck.IntegrityCheck.structured | ( | self | ) |
Definition at line 238 of file edmIntegrityCheck.py.
References bitset_utilities.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(), 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(), BitArray< N >.test(), DTTFBitArray< 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(), 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 dqm_interfaces.DirFetcher.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(), betterConfigParser.BetterConfigParser.checkInput(), CrabHelper.CrabHelper.crab_config_filename(), CrabHelper.CrabHelper.crab_taskname(), 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(), and production_tasks.CleanJobFiles.run().
edmIntegrityCheck.IntegrityCheck.test_result |
Definition at line 89 of file edmIntegrityCheck.py.
Referenced by edmIntegrityCheck.IntegrityCheck.report(), 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().