CMS 3D CMS Logo

Functions | Variables
cmsPerfCommons Namespace Reference

Functions

def getVerFromLog (previous)
 

Variables

 CandDesc
 
 CandFname
 
 Candles
 
 cmsDriverPileUpOption
 
 configs
 
 CustomiseFragment
 
 EventContents
 
 FileName
 
 filenames
 
 KeywordToCfi
 
 ProductionSteps
 
 revCFname
 
 Step
 

Function Documentation

def cmsPerfCommons.getVerFromLog (   previous)

Definition at line 133 of file cmsPerfCommons.py.

Referenced by cmsRelRegress._main(), and cmsRelRegress.regressReports().

133 def getVerFromLog(previous):
134  prevlog = os.path.join(previous,"cmsPerfSuite.log")
135  if os.path.exists(prevlog):
136  for line in open(prevlog):
137  if "Test Release based on:" in line:
138  verreg = re.compile("^.*Test Release based on: (.*)$")
139  match = verreg.search(line)
140  if match:
141  return match.groups()[0]
142 
143  return "Unknown_prev_release"
144 
def getVerFromLog(previous)

Variable Documentation

cmsPerfCommons.CandDesc

Definition at line 70 of file cmsPerfCommons.py.

cmsPerfCommons.CandFname

Definition at line 19 of file cmsPerfCommons.py.

cmsPerfCommons.Candles

Definition at line 7 of file cmsPerfCommons.py.

cmsPerfCommons.cmsDriverPileUpOption

Definition at line 120 of file cmsPerfCommons.py.

cmsPerfCommons.configs

Definition at line 86 of file cmsPerfCommons.py.

cmsPerfCommons.CustomiseFragment

Definition at line 127 of file cmsPerfCommons.py.

cmsPerfCommons.EventContents

Definition at line 113 of file cmsPerfCommons.py.

cmsPerfCommons.FileName

Definition at line 83 of file cmsPerfCommons.py.

cmsPerfCommons.KeywordToCfi

Definition at line 85 of file cmsPerfCommons.py.

cmsPerfCommons.ProductionSteps

Definition at line 47 of file cmsPerfCommons.py.

cmsPerfCommons.revCFname

Definition at line 58 of file cmsPerfCommons.py.