Functions | |
def | summaryOK |
Variables | |
string | action = "store_true" |
list | avoid = ['index', 'print'] |
string | command = '' |
string | compRoot = '' |
tuple | compRootRE = re.compile(r' --compRoot=(\S+)') |
tuple | countRE = re.compile(r'^count_(\w+)') |
tuple | cppExceptionRE = re.compile(r'\(C\+\+ exception\)') |
tuple | creatingSoRE = re.compile(r'creating shared library (\S+)') |
tuple | cwd = os.getcwd() |
tuple | descriptionRE = re.compile(r'^edmOneToOneComparison.py (\w+).txt') |
string | diffCmd = 'diffTreeTool.py --skipUndefined %s %s %s' |
dictionary | diffOutput = {} |
tuple | dummyRE = re.compile(r'edm::Wrapper<dummyType>') |
tuple | edmCommandRE = re.compile(r'^(edmOneToOneComparison.py .+?)\s*$') |
tuple | files = glob(logfilePrefix) |
tuple | finishRE = re.compile(r'finish') |
string | goShlib = '' |
string | help = "Display counts only." |
string | key = '' |
tuple | labelErrorRE = re.compile(r"labelDict = GenObject._ntupleDict\[tupleName\]\['_label'\]") |
tuple | line = line.rstrip('\n') |
tuple | loadingSoRE = re.compile(r'loading (genobjectrootlibs/\w+)') |
string | logdir = '' |
tuple | logfilePrefix = percentRE.sub('*', args[0]) |
tuple | match = edmCommandRE.search(line) |
tuple | mismatches = problemTypes.get('mismatch', 0) |
tuple | missingCfgRE = re.compile(r"raise.+Can't open configuration") |
tuple | missingLabelRE = re.compile(r'not able to get') |
tuple | noEdmWrapperRE = re.compile(r"'ROOT' has no attribute 'edm::Wrapper") |
tuple | nonSpacesRE = re.compile(r'\S') |
string | objectName = '' |
tuple | ok = summaryOK(summary) |
oldFiles = files | |
tuple | parser = optparse.OptionParser("Usage: %prog logfilePrefix [directory]") |
tuple | percentRE = re.compile(r'%') |
dictionary | problemDict |
dictionary | problems = {} |
tuple | problemSet = set() |
dictionary | problemTypes = {} |
ran = False | |
reading = False | |
string | soName = '' |
tuple | source = open(log, 'r') |
tuple | startOutputRE = re.compile(r'^Summary$') |
int | succeeded = 0 |
success = False | |
tuple | success1RE = re.compile(r"{'eventsCompared':\s+(\d+),\s+'count_(\S+)':\s+(\d+)\s*}") |
tuple | success2RE = re.compile(r"{'count_(\S+)':\s+(\d+),\s+'eventsCompared':\s+(\d+)\s*}") |
dictionary | successes = {} |
tuple | summary = eval(summaryLines) |
string | summaryLines = '' |
tuple | terminatedRE = re.compile(r'Terminated\s+\$EXE\s+\$@') |
int | total = 0 |
tuple | totalFiles = len(files) |
tuple | uint32RE = re.compile(r"Config file parser error 'operatoruint32_t") |
list | variables = ['eta', 'phi'] |
tuple | varNames = summary.get(objectName, {}) |
int | weird = 0 |
def summarizeEdmComparisonLogfiles::summaryOK | ( | summary | ) |
returns a tuple. First value is true if summary hasn't found any problems, else false.
Definition at line 12 of file summarizeEdmComparisonLogfiles.py.
00013 : 00014 """returns a tuple. First value is true if summary hasn't found 00015 any problems, else false.""" 00016 retval = True 00017 count = -1 00018 compared = summary.get('eventsCompared', -1) 00019 if len( summary.keys()) != 2: 00020 retval = False 00021 for key,value in summary.iteritems(): 00022 if countRE.search(key): 00023 count = value 00024 return (retval, {'count':count, 'compared':compared})
string summarizeEdmComparisonLogfiles::action = "store_true" |
Definition at line 65 of file summarizeEdmComparisonLogfiles.py.
list summarizeEdmComparisonLogfiles::avoid = ['index', 'print'] |
Definition at line 10 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::command = '' |
Definition at line 106 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::compRoot = '' |
Definition at line 104 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::compRootRE = re.compile(r' --compRoot=(\S+)') |
Definition at line 34 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::countRE = re.compile(r'^count_(\w+)') |
Definition at line 9 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::cppExceptionRE = re.compile(r'\(C\+\+ exception\)') |
Definition at line 41 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::creatingSoRE = re.compile(r'creating shared library (\S+)') |
Definition at line 33 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::cwd = os.getcwd() |
Definition at line 85 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::descriptionRE = re.compile(r'^edmOneToOneComparison.py (\w+).txt') |
Definition at line 35 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::diffCmd = 'diffTreeTool.py --skipUndefined %s %s %s' |
Definition at line 191 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles::diffOutput = {} |
Definition at line 107 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::dummyRE = re.compile(r'edm::Wrapper<dummyType>') |
Definition at line 44 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::edmCommandRE = re.compile(r'^(edmOneToOneComparison.py .+?)\s*$') |
Definition at line 36 of file summarizeEdmComparisonLogfiles.py.
list summarizeEdmComparisonLogfiles::files = glob(logfilePrefix) |
Definition at line 90 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::finishRE = re.compile(r'finish') |
Definition at line 43 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::goShlib = '' |
Definition at line 108 of file summarizeEdmComparisonLogfiles.py.
string summarizeEdmComparisonLogfiles::help = "Display counts only." |
Definition at line 66 of file summarizeEdmComparisonLogfiles.py.
string summarizeEdmComparisonLogfiles::key = '' |
Definition at line 160 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::labelErrorRE = re.compile(r"labelDict = GenObject._ntupleDict\[tupleName\]\['_label'\]") |
Definition at line 38 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::line = line.rstrip('\n') |
Definition at line 117 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::loadingSoRE = re.compile(r'loading (genobjectrootlibs/\w+)') |
Definition at line 32 of file summarizeEdmComparisonLogfiles.py.
list summarizeEdmComparisonLogfiles::logdir = '' |
Definition at line 86 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::logfilePrefix = percentRE.sub('*', args[0]) |
Definition at line 82 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::match = edmCommandRE.search(line) |
Definition at line 118 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::mismatches = problemTypes.get('mismatch', 0) |
Definition at line 203 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::missingCfgRE = re.compile(r"raise.+Can't open configuration") |
Definition at line 42 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::missingLabelRE = re.compile(r'not able to get') |
Definition at line 39 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::noEdmWrapperRE = re.compile(r"'ROOT' has no attribute 'edm::Wrapper") |
Definition at line 45 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::nonSpacesRE = re.compile(r'\S') |
Definition at line 47 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::objectName = '' |
Definition at line 103 of file summarizeEdmComparisonLogfiles.py.
Referenced by stor::DQMFolder::addObjects(), CastorHardcodeCalibrations::CastorHardcodeCalibrations(), CastorTextCalibrations::CastorTextCalibrations(), MuonMillepedeAlgorithm::collect(), HcalHardcodeCalibrations::HcalHardcodeCalibrations(), HcalOmdsCalibrations::HcalOmdsCalibrations(), HcalTextCalibrations::HcalTextCalibrations(), and L1CaloHcalScaleConfigOnlineProd::newObject().
tuple summarizeEdmComparisonLogfiles::ok = summaryOK(summary) |
Definition at line 165 of file summarizeEdmComparisonLogfiles.py.
Definition at line 92 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::parser = optparse.OptionParser("Usage: %prog logfilePrefix [directory]") |
Definition at line 63 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::percentRE = re.compile(r'%') |
Definition at line 28 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles::problemDict |
00001 { 'labelDict' : labelErrorRE, 00002 'missingLabel' : missingLabelRE, 00003 'terminate' : terminatedRE, 00004 'uint32' : uint32RE, 00005 'cppException' : cppExceptionRE, 00006 'missingCfg' : missingCfgRE, 00007 'noEdmWrapper' : noEdmWrapperRE, 00008 'dummy' : dummyRE, 00009 'operator' : re.compile (r"onfig file parser error 'operator"), 00010 'useless' : re.compile (r'no member functions that are useful'), 00011 'lazy' : re.compile (r': Assertion'), 00012 'detset' : re.compile (r"AttributeError: 'edm::DetSet"), 00013 'doubleint' : re.compile (r'AttributeError: (int|double)'), 00014 'finish' : finishRE}
Definition at line 48 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles::problems = {} |
Definition at line 98 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::problemSet = set() |
Definition at line 110 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles::problemTypes = {} |
Definition at line 101 of file summarizeEdmComparisonLogfiles.py.
Definition at line 112 of file summarizeEdmComparisonLogfiles.py.
Definition at line 114 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::soName = '' |
Definition at line 105 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::source = open(log, 'r') |
Definition at line 111 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::startOutputRE = re.compile(r'^Summary$') |
Definition at line 29 of file summarizeEdmComparisonLogfiles.py.
Definition at line 99 of file summarizeEdmComparisonLogfiles.py.
Referenced by evf::BUFUInterface::registerBU(), evf::BUFUInterface::registerFU(), and FWEveView::saveImageTo().
Definition at line 113 of file summarizeEdmComparisonLogfiles.py.
Referenced by CastorCondObjectContainer< Item >::addValues(), HcalCholeskyMatrices::addValues(), HcalCondObjectContainer< Item >::addValues(), HcalCovarianceMatrices::addValues(), FWPSetTableManager::applyEditor(), evf::FUEventProcessor::attachDqmToShm(), evf::CurlPoster::check(), evf::SquidNet::check(), L1GctEmulator::configureGct(), L1GctPrintLuts::configureGct(), evf::FUEventProcessor::detachDqmFromShm(), KalmanSmoothedVertexChi2Estimator< N >::estimate(), FUShmReader::fillRawData(), evf::SubProcess::forkNew(), egHLT::OffHelper::getHandle(), evf::FUResourceTable::handleCrashedEP(), HLTMuonIsoFilter::hltFilter(), evf::FUResourceBroker::I2O_EVM_LUMISECTION_Callback(), L1GtVhdlTemplateFile::insert(), evf::Vulture::makeProcess(), evf::ParameterSetRetriever::ParameterSetRetriever(), CommandLine::parse(), evf::CurlPoster::post(), edm::CosMuoGenProducer::produce(), FastPixelHitMatcher::propagateToLayer(), TStorageFactoryFile::ReadBuffers(), SiPixelWebInterface::readConfiguration(), XrdFile::readv_send(), TrajectoryManager::reconstruct(), L1GtVhdlTemplateFile::removeLineWithContent(), FSimTrack::setEcal(), FSimTrack::setHcal(), FSimTrack::setHcalExit(), FSimTrack::setHO(), FSimTrack::setLayer1(), FSimTrack::setLayer2(), FSimTrack::setVFcal(), L1GtVhdlTemplateFile::substitute(), SETFilter::transform(), SETFilter::transformLight(), and FUShmReader::~FUShmReader().
tuple summarizeEdmComparisonLogfiles::success1RE = re.compile(r"{'eventsCompared':\s+(\d+),\s+'count_(\S+)':\s+(\d+)\s*}") |
Definition at line 30 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::success2RE = re.compile(r"{'count_(\S+)':\s+(\d+),\s+'eventsCompared':\s+(\d+)\s*}") |
Definition at line 31 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles::successes = {} |
Definition at line 102 of file summarizeEdmComparisonLogfiles.py.
Definition at line 164 of file summarizeEdmComparisonLogfiles.py.
Referenced by Selection< C, Selector, StoreContainer >::accept(), popcon::PopConSourceHandler< CastorPedestals >::add(), edmtest::FillInfoESAnalyzer::analyze(), TrackerDpgAnalysis::analyze(), edmtest::RunSummaryESAnalyzer::analyze(), SiStripCommissioningSource::analyze(), edmtest::RunInfoESAnalyzer::analyze(), FFTJetPileupAnalyzer::analyze(), myJetAna::analyze(), edmtest::DQMSummaryEventSetupAnalyzer::analyze(), RawDataConverter::analyze(), sistrip::FEDBuffer::checkSummary(), sistrip::FEDBufferBase::checkSummary(), MEtoMEComparitor::compare(), FedCablingHistograms::createSummaryHisto(), DaqScopeModeHistograms::createSummaryHisto(), CommissioningHistograms::createSummaryHisto(), FedTimingHistograms::createSummaryHisto(), TrackerDpgAnalysis::delay(), FFTJetProducer::determinePileupDensityFromConfig(), FFTJetProducer::determinePileupDensityFromDB(), LA_Filler_Fitter::ensemble_summary(), LatencyTask::fill(), FineDelayTask::fill(), VpspScanTask::fill(), RPCChamberQuality::fillMonitorElements(), edm::storage::StatisticsSenderService::FileStatistics::fillUDP(), SiStripCommissioningRunTypeFilter::filter(), CastorInvalidDataFilter::filter(), HBHENoiseFilter::filter(), myFilter::filter(), L1RCTProducer::getFedVectorFromOmds(), L1RCTProducer::getFedVectorFromRunInfo(), CommissioningHistograms::histogram(), SummaryGenerator::histogram(), HLTSummaryFilter::hltFilter(), main(), Selection< C, Selector, StoreContainer >::print(), Selection< C, Selector, StoreContainer >::printDetailledPrintoutHeader(), SiStripLorentzAngle::printSummary(), SiStripNoises::printSummary(), SiStripPedestals::printSummary(), L1RCTOmdsFedVectorProducer::produce(), HBHENoiseFilterResultProducer::produce(), FFTJetPileupEstimator::produce(), sistrip::RawToDigiModule::produce(), reco::HcalNoiseInfoProducer::produce(), SiStripFineDelayHit::produce(), SiStripFineDelayHit::produceNoTracking(), L1TdeRCT::readFEDVector(), ecaldqm::TowerStatusTask::runOnTowerStatus(), sistrip::RawToDigiUnpacker::triggerFed(), sistrip::RawToDigiUnpacker::updateEventSummary(), and sistrip::EnsembleCalibrationLA::write_ensembles_text().
string summarizeEdmComparisonLogfiles::summaryLines = '' |
Definition at line 115 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::terminatedRE = re.compile(r'Terminated\s+\$EXE\s+\$@') |
Definition at line 40 of file summarizeEdmComparisonLogfiles.py.
Definition at line 211 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::totalFiles = len(files) |
Definition at line 97 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::uint32RE = re.compile(r"Config file parser error 'operatoruint32_t") |
Definition at line 46 of file summarizeEdmComparisonLogfiles.py.
list summarizeEdmComparisonLogfiles::variables = ['eta', 'phi'] |
Definition at line 187 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles::varNames = summary.get(objectName, {}) |
Definition at line 185 of file summarizeEdmComparisonLogfiles.py.
Referenced by EmDQMPostProcessor::endRun().
Definition at line 100 of file summarizeEdmComparisonLogfiles.py.