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 = '%s %s %s %s --compare --label=reco^%s^%s'
string compRootDir = 'compRoot'
 compRootName = compRootPrefix+prettyName\
string compRootPrefix = '/'
list containerList = [vectorRE, detSetVecRE, edColRE, sortedColRE, doubleRE]
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<([^<>]+)>')
tuple doubleRE = re.compile(r'^(double|int)')
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)
string scriptName = 'edmOneToOneComparison.py'
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 63 of file runEdmFileComparison.py.

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

Make Sure CMSSW is Setup ##.

Definition at line 158 of file runEdmFileComparison.py.

Definition at line 222 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(), ElectronIdFilter::filter(), pat::TriggerEvent::filterCollections(), HLTJetCollectionsFilter< jetType >::hltFilter(), HLTJetCollectionsVBFFilter< T >::hltFilter(), TrackerDpgAnalysis::insertMeasurement(), SiStripRecHitMatcher::match(), MuonAlignmentInputXML::newAlignableMuon(), ParticleDecayProducer::ParticleDecayProducer(), SeedCombiner::produce(), EcalRawToRecHitFacility::produce(), SiStripRawToClustersRoI::produce(), GsfElectronCoreProducer::produce(), sistrip::RawToClusters::produce(), HITSiStripRawToClustersRoI::produce(), HLTCollectionProducer< T >::produce(), SiPixelRawToDigi::produce(), edm::reftobase::RefVectorHolderDoFillView< REFV >::reallyFillView(), FWEcalRecHitProxyBuilder::scaleProduct(), FWHBHERecHitProxyBuilder::scaleProduct(), FWTableView::setFrom(), FWECALDetailViewBuilder::showSuperClusters(), CombinationGenerator< T >::splitInTwoCollections(), and ParticleReplacerClass::testEvent().

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

Definition at line 146 of file runEdmFileComparison.py.

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

Definition at line 13 of file runEdmFileComparison.py.

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

Definition at line 290 of file runEdmFileComparison.py.

string runEdmFileComparison::compRootDir = 'compRoot'

Definition at line 16 of file runEdmFileComparison.py.

Definition at line 306 of file runEdmFileComparison.py.

Definition at line 182 of file runEdmFileComparison.py.

Definition at line 25 of file runEdmFileComparison.py.

tuple runEdmFileComparison::currentDir = os.getcwd()

Definition at line 185 of file runEdmFileComparison.py.

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

Definition at line 250 of file runEdmFileComparison.py.

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

Definition at line 56 of file runEdmFileComparison.py.

Definition at line 242 of file runEdmFileComparison.py.

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

Definition at line 21 of file runEdmFileComparison.py.

tuple runEdmFileComparison::doubleRE = re.compile(r'^(double|int)')

Definition at line 19 of file runEdmFileComparison.py.

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

Definition at line 214 of file runEdmFileComparison.py.

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

Definition at line 22 of file runEdmFileComparison.py.

Definition at line 186 of file runEdmFileComparison.py.

Definition at line 188 of file runEdmFileComparison.py.

Definition at line 163 of file runEdmFileComparison.py.

Definition at line 165 of file runEdmFileComparison.py.

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

Definition at line 297 of file runEdmFileComparison.py.

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

Definition at line 64 of file runEdmFileComparison.py.

string runEdmFileComparison::logDir = 'logfiles'

Definition at line 15 of file runEdmFileComparison.py.

Definition at line 181 of file runEdmFileComparison.py.

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

Definition at line 226 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 228 of file runEdmFileComparison.py.

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

Definition at line 217 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 54 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 57 of file runEdmFileComparison.py.

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

Definition at line 289 of file runEdmFileComparison.py.

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

Definition at line 241 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 59 of file runEdmFileComparison.py.

Run edmDumpEventContent ##.

Definition at line 211 of file runEdmFileComparison.py.

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

Definition at line 159 of file runEdmFileComparison.py.

string runEdmFileComparison::scriptName = 'edmOneToOneComparison.py'

Definition at line 286 of file runEdmFileComparison.py.

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

Definition at line 24 of file runEdmFileComparison.py.

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

Definition at line 23 of file runEdmFileComparison.py.

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

Definition at line 329 of file runEdmFileComparison.py.

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

Definition at line 58 of file runEdmFileComparison.py.

Print Summary (if requested) ##.

Definition at line 322 of file runEdmFileComparison.py.

string runEdmFileComparison::summaryOptions = '--diffTree'

Definition at line 326 of file runEdmFileComparison.py.

Definition at line 223 of file runEdmFileComparison.py.

string runEdmFileComparison::type = "string"

Definition at line 71 of file runEdmFileComparison.py.

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

Definition at line 20 of file runEdmFileComparison.py.

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

Definition at line 60 of file runEdmFileComparison.py.