test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
cmsPerfCommons Namespace Reference

Functions

def getVerFromLog
 

Variables

list CandDesc
 
dictionary CandFname
 
list Candles
 
string cmsDriverPileUpOption = 'LowLumiPileUp'
 
list configs
 
dictionary CustomiseFragment
 
list EventContents
 
dictionary FileName = {}
 
list filenames
 
dictionary KeywordToCfi = {}
 
list ProductionSteps
 
dictionary revCFname
 
list Step
 

Function Documentation

def cmsPerfCommons.getVerFromLog (   previous)

Definition at line 132 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"

Variable Documentation

list cmsPerfCommons.CandDesc
Initial value:
1 = ["Minimum Bias",
2  "Higgs -> ZZ -> 4 leptons",
3  "Electron",
4  "Muon",
5  "Pion",
6  "TTBar",
7  "QCD Jets 80-120 GeV",
8  #Example addition of a new candle:
9  "QCD Jets 3000-3500 GeV"
10  ]

Definition at line 69 of file cmsPerfCommons.py.

dictionary cmsPerfCommons.CandFname
Initial value:
1 = {
2  Candles[0]:"MINBIAS_",
3  Candles[1]:"HZZLLLL_200",
4  Candles[2]:"E_1000",
5  Candles[3]:"MU-_pt10",
6  Candles[4]:"PI-_1000",
7  Candles[5]:"TTBAR_" ,
8  Candles[6]:"QCD_80_120",
9  #Example addition of a new candle:
10  Candles[7]:"QCD_3000_3500"
11  }

Definition at line 18 of file cmsPerfCommons.py.

list cmsPerfCommons.Candles
Initial value:
1 = ["MinBias" ,
2  "HiggsZZ4LM200" ,
3  "SingleElectronE1000",
4  "SingleMuMinusPt10" ,
5  "SinglePiMinusE1000" ,
6  "TTbar" ,
7  "QCD_80_120",
8  #Example addition of a new candle:
9  "QCD_3000_3500"
10  ]

Definition at line 6 of file cmsPerfCommons.py.

string cmsPerfCommons.cmsDriverPileUpOption = 'LowLumiPileUp'

Definition at line 119 of file cmsPerfCommons.py.

list cmsPerfCommons.configs
Initial value:
1 = ['MinBias.cfi',
2  'H200ZZ4L.cfi',
3  'SingleElectronE1000.cfi',
4  'SingleMuPt10.cfi',
5  'SinglePiE1000.cfi',
6  'TTbar_Tauola.cfi',
7  'QCD_Pt_80_120.cfi',
8  #Example addition of a new candle:
9  'QCD_Pt_3000_3500.cfi'
10  ]

Definition at line 85 of file cmsPerfCommons.py.

dictionary cmsPerfCommons.CustomiseFragment
Initial value:
1 = {
2  'GEN,SIM': 'Validation/Performance/TimeMemoryG4Info.py',
3  'DIGI': 'Validation/Performance/TimeMemoryInfo.py',
4  'DIGI-PILEUP':'Validation/Performance/MixingModule.py'
5  }

Definition at line 126 of file cmsPerfCommons.py.

list cmsPerfCommons.EventContents
Initial value:
1 = ['RAWSIM',
2  'RECOSIM'
3  ]

Definition at line 112 of file cmsPerfCommons.py.

dictionary cmsPerfCommons.FileName = {}

Definition at line 82 of file cmsPerfCommons.py.

Referenced by gen::DataCardFileWriter.DataCardFileWriter().

list cmsPerfCommons.filenames
Initial value:
1 = [CandFname[Candles[0]],
2  CandFname[Candles[1]],
3  CandFname[Candles[2]],
4  CandFname[Candles[3]],
5  CandFname[Candles[4]],
6  CandFname[Candles[5]],
7  CandFname[Candles[6]],
8  #Example addition of a new candle:
9  CandFname[Candles[7]]
10  ]

Definition at line 96 of file cmsPerfCommons.py.

Referenced by main(), and L1GtVhdlWriterCore.writeQsfSetupFiles().

dictionary cmsPerfCommons.KeywordToCfi = {}

Definition at line 84 of file cmsPerfCommons.py.

list cmsPerfCommons.ProductionSteps
Initial value:
1 = ["GEN,SIM,DIGI,L1,DIGI2RAW,HLT",
2  "GEN,SIM,DIGI,L1,DIGI2RAW",
3  "RAW2DIGI,RECO", #This is already included in Step! So remember to eliminate duplicates if doing the union of the two!
4  #Add also all PILEUP steps
5  "GEN,SIM,DIGI,L1,DIGI2RAW,HLT_PILEUP",
6  "GEN,SIM,DIGI,L1,DIGI2RAW_PILEUP",
7  "RAW2DIGI,RECO_PILEUP", #This is already included in Step!
8  "GEN,FASTSIM", #Adding FASTSIM workflow
9  "HLT" #Adding HLT alone workflow
10  ]

Definition at line 46 of file cmsPerfCommons.py.

dictionary cmsPerfCommons.revCFname
Initial value:
1 = {
2  "MINBIAS_" : Candles[0],
3  "HZZLLLL_200" : Candles[1],
4  "E_1000" : Candles[1],
5  "MU-_pt10" : Candles[2],
6  "PI-_1000" : Candles[3],
7  "TTBAR_" : Candles[4],
8  "QCD_80_120" : Candles[6],
9  #Example addition of a new candle:
10  "QCD_3000_3500": Candles[7]
11  }

Definition at line 57 of file cmsPerfCommons.py.

list cmsPerfCommons.Step
Initial value:
1 = ["GEN,SIM",
2  "DIGI",
3  "L1",
4  "DIGI2RAW",
5  "HLT",
6  "RAW2DIGI,RECO",
7  #Add also all PILEUP steps
8  "DIGI_PILEUP",
9  "L1_PILEUP",
10  "DIGI2RAW_PILEUP",
11  "HLT_PILEUP",
12  "RAW2DIGI,RECO_PILEUP"
13  ]

Definition at line 31 of file cmsPerfCommons.py.

Referenced by DTCalibValidation.bookHistograms(), dtCalibration::DTTTrigResidualCorrection.getHistoName(), and MuScleFitUtils.minimizeLikelihood().