CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ##. More...
 
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 = compRootDir+'/'
 
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 = prettyName+'.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 = directory+'/'
 
string fullCompareCmd = '%s %s %s %s'
 
string help = "Make compRoot files."
 
string logDir = 'logfiles'
 
string logPrefix = logDir+'/'
 
tuple match = piecesRE.search(line)
 
list name = value[0]
 Run useReflexToDescribeForGenObject ##. More...
 
tuple nonAlphaRE = re.compile(r'\W')
 
tuple obj = EdmObject( match.group(1,2,3,4) )
 
tuple output = commands.getoutput(dumpCommand)
 
tuple parser
 Setup Options ##. More...
 
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 ##. More...
 
tuple queueGroup = optparse.OptionGroup(parser, "Queue Options")
 
string regexLine = ""
 Run edmDumpEventContent ##. More...
 
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 = options.prefix+'_%_'
 Print Summary (if requested) ##. More...
 
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.

dictionary runEdmFileComparison.collection = {}
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.

runEdmFileComparison.compRootName = compRootPrefix+prettyName\

Definition at line 306 of file runEdmFileComparison.py.

string runEdmFileComparison.compRootPrefix = compRootDir+'/'

Definition at line 182 of file runEdmFileComparison.py.

list runEdmFileComparison.containerList = [vectorRE, detSetVecRE, edColRE, sortedColRE, doubleRE]

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.

string runEdmFileComparison.descriptionName = prettyName+'.txt'

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.

list runEdmFileComparison.filename1 = args[0]

Definition at line 186 of file runEdmFileComparison.py.

runEdmFileComparison.filename2 = args[1]

Definition at line 188 of file runEdmFileComparison.py.

runEdmFileComparison.found = False

Definition at line 163 of file runEdmFileComparison.py.

runEdmFileComparison.fullCommand = directory+'/'

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.

string runEdmFileComparison.logPrefix = logDir+'/'

Definition at line 181 of file runEdmFileComparison.py.

tuple runEdmFileComparison.match = piecesRE.search(line)

Definition at line 226 of file runEdmFileComparison.py.

runEdmFileComparison.name = value[0]
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.

tuple runEdmFileComparison.parser
Initial value:
1 = optparse.OptionParser("%prog [options] file1.root [file2.root]"\
2  "\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.

string runEdmFileComparison.regexLine = ""

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.

tuple runEdmFileComparison.returnCode = os.system(describeCmd)
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.

string runEdmFileComparison.summaryMask = options.prefix+'_%_'

Print Summary (if requested) ##.

Definition at line 322 of file runEdmFileComparison.py.

string runEdmFileComparison.summaryOptions = '--diffTree'

Definition at line 326 of file runEdmFileComparison.py.

int runEdmFileComparison.total = 0

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.