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 13 of file summarizeEdmComparisonLogfiles.py.
string summarizeEdmComparisonLogfiles.action = "store_true" |
Definition at line 66 of file summarizeEdmComparisonLogfiles.py.
list summarizeEdmComparisonLogfiles.avoid = ['index', 'print'] |
Definition at line 11 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.command = '' |
Definition at line 107 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.compRoot = '' |
Definition at line 105 of file summarizeEdmComparisonLogfiles.py.
Definition at line 35 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.countRE = re.compile(r'^count_(\w+)') |
Definition at line 10 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.cppExceptionRE = re.compile(r'\(C\+\+ exception\)') |
Definition at line 42 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.creatingSoRE = re.compile(r'creating shared library (\S+)') |
Definition at line 34 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.cwd = os.getcwd() |
Definition at line 86 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.descriptionRE = re.compile(r'^edmOneToOneComparison.py (\w+).txt') |
Definition at line 36 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.diffCmd = 'diffTreeTool.py --skipUndefined %s %s %s' |
Definition at line 192 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles.diffOutput = {} |
Definition at line 108 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.dummyRE = re.compile(r'edm::Wrapper<dummyType>') |
Definition at line 45 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.edmCommandRE = re.compile(r'^(edmOneToOneComparison.py .+?)\s*$') |
Definition at line 37 of file summarizeEdmComparisonLogfiles.py.
list summarizeEdmComparisonLogfiles.files = glob(logfilePrefix) |
Definition at line 91 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.finishRE = re.compile(r'finish') |
Definition at line 44 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.goShlib = '' |
Definition at line 109 of file summarizeEdmComparisonLogfiles.py.
string summarizeEdmComparisonLogfiles.help = "Display counts only." |
Definition at line 67 of file summarizeEdmComparisonLogfiles.py.
string summarizeEdmComparisonLogfiles.key = '' |
Definition at line 161 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.labelErrorRE = re.compile(r"labelDict = GenObject._ntupleDict\[tupleName\]\['_label'\]") |
Definition at line 39 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.line = line.rstrip('\n') |
Definition at line 118 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.loadingSoRE = re.compile(r'loading (genobjectrootlibs/\w+)') |
Definition at line 33 of file summarizeEdmComparisonLogfiles.py.
list summarizeEdmComparisonLogfiles.logdir = '' |
Definition at line 87 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.logfilePrefix = percentRE.sub('*', args[0]) |
Definition at line 83 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.match = edmCommandRE.search(line) |
Definition at line 119 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.mismatches = problemTypes.get('mismatch', 0) |
Definition at line 204 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.missingCfgRE = re.compile(r"raise.+Can't open configuration") |
Definition at line 43 of file summarizeEdmComparisonLogfiles.py.
Definition at line 40 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.noEdmWrapperRE = re.compile(r"'ROOT' has no attribute 'edm::Wrapper") |
Definition at line 46 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.nonSpacesRE = re.compile(r'\S') |
Definition at line 48 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.objectName = '' |
Definition at line 104 of file summarizeEdmComparisonLogfiles.py.
Referenced by CastorHardcodeCalibrations.CastorHardcodeCalibrations(), CastorTextCalibrations.CastorTextCalibrations(), HcalHardcodeCalibrations.HcalHardcodeCalibrations(), HcalTextCalibrations.HcalTextCalibrations(), L1CaloHcalScaleConfigOnlineProd.newObject(), and LegacyIOHelper.save().
Definition at line 166 of file summarizeEdmComparisonLogfiles.py.
summarizeEdmComparisonLogfiles.oldFiles = files |
Definition at line 93 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.parser = optparse.OptionParser("Usage: %prog logfilePrefix [directory]") |
Definition at line 64 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.percentRE = re.compile(r'%') |
Definition at line 29 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles.problemDict |
Definition at line 49 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles.problems = {} |
Definition at line 99 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.problemSet = set() |
Definition at line 111 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles.problemTypes = {} |
Definition at line 102 of file summarizeEdmComparisonLogfiles.py.
summarizeEdmComparisonLogfiles.ran = False |
Definition at line 113 of file summarizeEdmComparisonLogfiles.py.
Referenced by FullModelReactionDynamics.AddBlackTrackParticles(), SherpaHadronizer.doSetRandomEngine(), FullModelReactionDynamics.GenerateNBodyEvent(), FullModelReactionDynamics.GenerateXandPt(), FullModelReactionDynamics.normal(), FullModelReactionDynamics.NuclearReaction(), FullModelReactionDynamics.Poisson(), FullModelReactionDynamics.ProduceStrangeParticlePairs(), and FullModelReactionDynamics.TwoCluster().
summarizeEdmComparisonLogfiles.reading = False |
Definition at line 115 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.soName = '' |
Definition at line 106 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.source = open(log, 'r') |
Definition at line 112 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.startOutputRE = re.compile(r'^Summary$') |
Definition at line 30 of file summarizeEdmComparisonLogfiles.py.
int summarizeEdmComparisonLogfiles.succeeded = 0 |
Definition at line 100 of file summarizeEdmComparisonLogfiles.py.
Referenced by edm::EventProcessor.processEventWithLooper(), edm::RootFile.readCurrentEvent(), edm::RootFile.readEvent(), edm::RootEmbeddedFileSequence.readOneRandom(), edm::RootEmbeddedFileSequence.readOneRandomWithID(), edm::RootEmbeddedFileSequence.readOneSequential(), edm::RootEmbeddedFileSequence.readOneSequentialWithID(), edm::RootEmbeddedFileSequence.readOneSpecified(), and FWEveView.saveImageTo().
summarizeEdmComparisonLogfiles.success = False |
Definition at line 114 of file summarizeEdmComparisonLogfiles.py.
Referenced by HIPTwoBodyDecayAnalyzer.actuateBranches(), CastorCondObjectContainer< Item >.addValues(), HcalCondObjectContainer< Item >.addValues(), L1TCaloLayer1Validator.analyze(), FWPSetTableManager.applyEditor(), L1GctEmulator.configureGct(), L1GctPrintLuts.configureGct(), FastSimProducer.createFSimTrack(), trklet::TrackletCalculatorDisplaced.DDLSeeding(), Decay(), AntiElectronIDMVA6< TauType, ElectronType >.energyWeightedEtaAndPhiAtECal(), KalmanSmoothedVertexChi2Estimator< N >.estimate(), TritonClient.evaluate(), egHLT::OffHelper.getHandle(), TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >.getTauEtaAtECalEntrance(), AntiElectronIDMVA6< TauType, ElectronType >.getTauVarsTypeSpecific(), trklet::TrackletCalculatorBase.goodTrackPars(), evf::EvFDaqDirector.grabNextJsonFile(), evf::EvFDaqDirector.grabNextJsonFileAndUnlock(), HLTMuonIsoFilter.hltFilter(), L1GtVhdlTemplateFile.insert(), trklet::TrackletCalculatorDisplaced.LLDSeeding(), trklet::TrackletCalculatorDisplaced.LLLSeeding(), AntiElectronDeadECAL.operator()(), CommandLine.parse(), TrackerDetIdSelector.passSelection(), SiPixelChargeReweightingAlgorithm.PixelTempRewgt2D(), edm::CosMuoGenProducer.produce(), pat::PATTauProducer.produce(), TStorageFactoryFile.ReadBuffers(), 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 TritonClient.TritonClient().
tuple summarizeEdmComparisonLogfiles.success1RE = re.compile(r"{'eventsCompared':\s+(\d+),\s+'count_(\S+)':\s+(\d+)\s*}") |
Definition at line 31 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.success2RE = re.compile(r"{'count_(\S+)':\s+(\d+),\s+'eventsCompared':\s+(\d+)\s*}") |
Definition at line 32 of file summarizeEdmComparisonLogfiles.py.
dictionary summarizeEdmComparisonLogfiles.successes = {} |
Definition at line 103 of file summarizeEdmComparisonLogfiles.py.
summarizeEdmComparisonLogfiles.summary = eval(summaryLines) |
Definition at line 165 of file summarizeEdmComparisonLogfiles.py.
string summarizeEdmComparisonLogfiles.summaryLines = '' |
Definition at line 116 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.terminatedRE = re.compile(r'Terminated\s+\$EXE\s+\$@') |
Definition at line 41 of file summarizeEdmComparisonLogfiles.py.
int summarizeEdmComparisonLogfiles.total = 0 |
Definition at line 212 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.totalFiles = len(files) |
Definition at line 98 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.uint32RE = re.compile(r"Config file parser error 'operatoruint32_t") |
Definition at line 47 of file summarizeEdmComparisonLogfiles.py.
list summarizeEdmComparisonLogfiles.variables = ['eta', 'phi'] |
Definition at line 188 of file summarizeEdmComparisonLogfiles.py.
tuple summarizeEdmComparisonLogfiles.varNames = summary.get(objectName, {}) |
Definition at line 186 of file summarizeEdmComparisonLogfiles.py.
int summarizeEdmComparisonLogfiles.weird = 0 |
Definition at line 101 of file summarizeEdmComparisonLogfiles.py.