CMS 3D CMS Logo

Classes | Variables

runEdmFileComparison Namespace Reference

Classes

class  EdmObject

Variables

string action = "store_true"
tuple base = os.environ.get('CMSSW_BASE')
 Make Sure CMSSW is Setup ##.
dictionary collection = {}
string command = 'src/Validation/Tools/scripts/runCommand.bash'
tuple commaRE = re.compile(r',')
string compareCmd = 'edmOneToOneComparison.py %s %s %s --compare --label=reco^%s^%s'
string compRootDir = 'compRoot'
 compRootName = compRootPrefix+prettyName\
string compRootPrefix = '/'
list containerList = [vectorRE, detSetVecRE, edColRE, sortedColRE]
tuple currentDir = os.getcwd()
string describeCmd = "%s %s %s useReflexToDescribeForGenObject.py %s '--type=%s'"
tuple describeGroup = optparse.OptionGroup(parser, "Description Options")
string descriptionName = '.txt'
tuple detSetVecRE = re.compile(r'^edm::DetSetVector<([^<>]+)>')
string dumpCommand = 'edmDumpEventContent %s %s'
tuple edColRE = re.compile(r'^edm::EDCollection<([^<>]+)>')
list filename1 = args[0]
list filename2 = args[1]
 found = False
string fullCommand = '/'
string fullCompareCmd = '%s %s %s %s'
string help = "Make compRoot files."
string logDir = 'logfiles'
string logPrefix = '/'
tuple match = piecesRE.search(line)
list name = value[0]
 Run useReflexToDescribeForGenObject ##.
tuple nonAlphaRE = re.compile(r'\W')
tuple obj = EdmObject( match.group(1,2,3,4) )
tuple output = commands.getoutput(dumpCommand)
tuple parser
 Setup Options ##.
tuple piecesRE = re.compile(r'(.+?)\s+"(\S+)"\s+"(\S*)"\s+"(\S+)"')
tuple precisionGroup = optparse.OptionGroup(parser, "Precision Options")
tuple prettyLabel = commaRE.sub('_', obj.label())
tuple prettyName = nonAlphaRE.sub('', name)
string queueCommand = '/uscms/home/cplager/bin/clpQueue.pl addjob %s'
 Check Queuing Options ##.
tuple queueGroup = optparse.OptionGroup(parser, "Queue Options")
string regexLine = ""
 Run edmDumpEventContent ##.
tuple release_base = os.environ.get('CMSSW_RELEASE_BASE')
tuple returnCode = os.system(describeCmd)
tuple singletonRE = re.compile(r'^([\w:]+)$')
tuple sortedColRE = re.compile(r'^edm::SortedCollection<([^<>]+),\S+?> >')
string summaryCmd = 'summarizeEdmComparisonLogfiles.py %s %s logfiles'
tuple summaryGroup = optparse.OptionGroup(parser, "Summary Options")
string summaryMask = '_%_'
 Print Summary (if requested) ##.
string summaryOptions = '--diffTree'
int total = 0
string type = "string"
tuple vectorRE = re.compile(r'^vector<([^<>]+)>')
tuple verboseGroup = optparse.OptionGroup(parser, "Verbose Options")

Variable Documentation

string runEdmFileComparison::action = "store_true"

Definition at line 62 of file runEdmFileComparison.py.

tuple runEdmFileComparison::base = os.environ.get('CMSSW_BASE')

Make Sure CMSSW is Setup ##.

Definition at line 157 of file runEdmFileComparison.py.

Definition at line 221 of file runEdmFileComparison.py.

Referenced by FWTableView::addTo(), METBenchmarkAnalyzer::analyze(), PFCandidateManagerAnalyzer::analyze(), CandidateBenchmarkAnalyzer::analyze(), MatchMETBenchmarkAnalyzer::analyze(), PFCandidateBenchmarkAnalyzer::analyze(), FWCastorRecHitProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWZDCRecHitProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWHBHERecHitProxyBuilder::build(), FWHFRecHitProxyBuilder::build(), FWSimTrackProxyBuilder::build(), FWEcalRecHitProxyBuilder::build(), FWHORecHitProxyBuilder::build(), pat::TriggerEvent::conditionCollections(), sistrip::DigiToRaw::createFedBuffers(), sistrip::DigiToRaw::createFedBuffers_(), SiStripCorrelateNoise::DoAnalysis(), helper::Parser::elementType(), TrackDetectorAssociator::fillHcal(), TrackDetectorAssociator::fillHO(), HLTOniaSource::fillOniaTriggerMEs(), HLTJetCollectionsVBFFilter::filter(), HLTJetCollectionsFilter::filter(), pat::TriggerEvent::filterCollections(), FWSimTrackProxyBuilder::getVertices(), TrackerDpgAnalysis::insertMeasurement(), SiStripRecHitMatcher::match(), MuonAlignmentInputXML::newAlignableMuon(), ParticleDecayProducer::ParticleDecayProducer(), SeedCombiner::produce(), EcalRawToRecHitFacility::produce(), SiStripRawToClustersRoI::produce(), GsfElectronCoreProducer::produce(), sistrip::RawToClusters::produce(), HITSiStripRawToClustersRoI::produce(), SiPixelRawToDigi::produce(), edm::reftobase::RefVectorHolderDoFillView< REFV >::reallyFillView(), FWEcalRecHitProxyBuilder::scaleProduct(), FWHBHERecHitProxyBuilder::scaleProduct(), FWTableView::setFrom(), FWECALDetailViewBuilder::showSuperClusters(), and CombinationGenerator< T >::splitInTwoCollections().

string runEdmFileComparison::command = 'src/Validation/Tools/scripts/runCommand.bash'

Definition at line 145 of file runEdmFileComparison.py.

tuple runEdmFileComparison::commaRE = re.compile(r',')

Definition at line 13 of file runEdmFileComparison.py.

string runEdmFileComparison::compareCmd = 'edmOneToOneComparison.py %s %s %s --compare --label=reco^%s^%s'

Definition at line 286 of file runEdmFileComparison.py.

string runEdmFileComparison::compRootDir = 'compRoot'

Definition at line 16 of file runEdmFileComparison.py.

Definition at line 301 of file runEdmFileComparison.py.

Definition at line 181 of file runEdmFileComparison.py.

Definition at line 24 of file runEdmFileComparison.py.

tuple runEdmFileComparison::currentDir = os.getcwd()

Definition at line 184 of file runEdmFileComparison.py.

string runEdmFileComparison::describeCmd = "%s %s %s useReflexToDescribeForGenObject.py %s '--type=%s'"

Definition at line 249 of file runEdmFileComparison.py.

tuple runEdmFileComparison::describeGroup = optparse.OptionGroup(parser, "Description Options")

Definition at line 55 of file runEdmFileComparison.py.

Definition at line 241 of file runEdmFileComparison.py.

tuple runEdmFileComparison::detSetVecRE = re.compile(r'^edm::DetSetVector<([^<>]+)>')

Definition at line 20 of file runEdmFileComparison.py.

string runEdmFileComparison::dumpCommand = 'edmDumpEventContent %s %s'

Definition at line 213 of file runEdmFileComparison.py.

tuple runEdmFileComparison::edColRE = re.compile(r'^edm::EDCollection<([^<>]+)>')

Definition at line 21 of file runEdmFileComparison.py.

Definition at line 185 of file runEdmFileComparison.py.

Definition at line 187 of file runEdmFileComparison.py.

Definition at line 162 of file runEdmFileComparison.py.

Definition at line 164 of file runEdmFileComparison.py.

string runEdmFileComparison::fullCompareCmd = '%s %s %s %s'

Definition at line 292 of file runEdmFileComparison.py.

string runEdmFileComparison::help = "Make compRoot files."

Definition at line 63 of file runEdmFileComparison.py.

string runEdmFileComparison::logDir = 'logfiles'

Definition at line 15 of file runEdmFileComparison.py.

Definition at line 180 of file runEdmFileComparison.py.

tuple runEdmFileComparison::match = piecesRE.search(line)

Definition at line 225 of file runEdmFileComparison.py.

tuple runEdmFileComparison::nonAlphaRE = re.compile(r'\W')

Definition at line 12 of file runEdmFileComparison.py.

tuple runEdmFileComparison::obj = EdmObject( match.group(1,2,3,4) )

Definition at line 227 of file runEdmFileComparison.py.

tuple runEdmFileComparison::output = commands.getoutput(dumpCommand)

Definition at line 216 of file runEdmFileComparison.py.

Initial value:
00001 optparse.OptionParser("%prog [options] file1.root [file2.root]"\
00002                                     "\nFor more details, see\nhttps://twiki.cern.ch/twiki/bin/view/CMS/SWGuidePhysicsToolsEdmOneToOneComparison")

Setup Options ##.

Definition at line 53 of file runEdmFileComparison.py.

tuple runEdmFileComparison::piecesRE = re.compile(r'(.+?)\s+"(\S+)"\s+"(\S*)"\s+"(\S+)"')

Definition at line 10 of file runEdmFileComparison.py.

tuple runEdmFileComparison::precisionGroup = optparse.OptionGroup(parser, "Precision Options")

Definition at line 56 of file runEdmFileComparison.py.

tuple runEdmFileComparison::prettyLabel = commaRE.sub('_', obj.label())

Definition at line 285 of file runEdmFileComparison.py.

tuple runEdmFileComparison::prettyName = nonAlphaRE.sub('', name)

Definition at line 240 of file runEdmFileComparison.py.

runEdmFileComparison::queueCommand = '/uscms/home/cplager/bin/clpQueue.pl addjob %s'

Check Queuing Options ##.

Definition at line 14 of file runEdmFileComparison.py.

tuple runEdmFileComparison::queueGroup = optparse.OptionGroup(parser, "Queue Options")

Definition at line 58 of file runEdmFileComparison.py.

Run edmDumpEventContent ##.

Definition at line 210 of file runEdmFileComparison.py.

tuple runEdmFileComparison::release_base = os.environ.get('CMSSW_RELEASE_BASE')

Definition at line 158 of file runEdmFileComparison.py.

tuple runEdmFileComparison::singletonRE = re.compile(r'^([\w:]+)$')

Definition at line 23 of file runEdmFileComparison.py.

tuple runEdmFileComparison::sortedColRE = re.compile(r'^edm::SortedCollection<([^<>]+),\S+?> >')

Definition at line 22 of file runEdmFileComparison.py.

string runEdmFileComparison::summaryCmd = 'summarizeEdmComparisonLogfiles.py %s %s logfiles'

Definition at line 324 of file runEdmFileComparison.py.

tuple runEdmFileComparison::summaryGroup = optparse.OptionGroup(parser, "Summary Options")

Definition at line 57 of file runEdmFileComparison.py.

Print Summary (if requested) ##.

Definition at line 317 of file runEdmFileComparison.py.

string runEdmFileComparison::summaryOptions = '--diffTree'

Definition at line 321 of file runEdmFileComparison.py.

Definition at line 222 of file runEdmFileComparison.py.

string runEdmFileComparison::type = "string"

Definition at line 70 of file runEdmFileComparison.py.

tuple runEdmFileComparison::vectorRE = re.compile(r'^vector<([^<>]+)>')

Definition at line 19 of file runEdmFileComparison.py.

tuple runEdmFileComparison::verboseGroup = optparse.OptionGroup(parser, "Verbose Options")

Definition at line 59 of file runEdmFileComparison.py.