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 132 of file cmsPerfCommons.py.

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

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

Variable Documentation

cmsPerfCommons.CandDesc

Definition at line 69 of file cmsPerfCommons.py.

cmsPerfCommons.CandFname

Definition at line 18 of file cmsPerfCommons.py.

cmsPerfCommons.Candles

Definition at line 6 of file cmsPerfCommons.py.

cmsPerfCommons.cmsDriverPileUpOption

Definition at line 119 of file cmsPerfCommons.py.

cmsPerfCommons.CustomiseFragment

Definition at line 126 of file cmsPerfCommons.py.

cmsPerfCommons.EventContents

Definition at line 112 of file cmsPerfCommons.py.

cmsPerfCommons.FileName

Definition at line 82 of file cmsPerfCommons.py.

cmsPerfCommons.KeywordToCfi

Definition at line 84 of file cmsPerfCommons.py.

cmsPerfCommons.ProductionSteps

Definition at line 46 of file cmsPerfCommons.py.

cmsPerfCommons.revCFname

Definition at line 57 of file cmsPerfCommons.py.