CMS 3D CMS Logo

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.

00133                            :
00134     prevlog = os.path.join(previous,"cmsPerfSuite.log")
00135     if os.path.exists(prevlog):
00136         for line in open(prevlog):
00137             if "Test Release based on:" in line:
00138                 verreg = re.compile("^.*Test Release based on: (.*)$")
00139                 match = verreg.search(line)
00140                 if match:
00141                     return match.groups()[0]
00142         
00143     return "Unknown_prev_release"

Variable Documentation

Initial value:
00001 ["Minimum Bias",
00002           "Higgs -> ZZ -> 4 leptons",
00003           "Electron",
00004           "Muon",
00005           "Pion",
00006           "TTBar",
00007           "QCD Jets 80-120 GeV",
00008           #Example addition of a new candle:
00009           "QCD Jets 3000-3500 GeV"
00010           ]

Definition at line 69 of file cmsPerfCommons.py.

Initial value:
00001 {
00002     Candles[0]:"MINBIAS_",
00003     Candles[1]:"HZZLLLL_200",    
00004     Candles[2]:"E_1000",
00005     Candles[3]:"MU-_pt10",
00006     Candles[4]:"PI-_1000",
00007     Candles[5]:"TTBAR_" ,
00008     Candles[6]:"QCD_80_120",
00009     #Example addition of a new candle:
00010     Candles[7]:"QCD_3000_3500"
00011     }

Definition at line 18 of file cmsPerfCommons.py.

Initial value:
00001 ["MinBias"            ,
00002          "HiggsZZ4LM200"      ,         
00003          "SingleElectronE1000",
00004          "SingleMuMinusPt10"  ,
00005          "SinglePiMinusE1000" ,
00006          "TTbar"              ,
00007          "QCD_80_120",
00008          #Example addition of a new candle:
00009          "QCD_3000_3500"
00010          ]

Definition at line 6 of file cmsPerfCommons.py.

string cmsPerfCommons::cmsDriverPileUpOption = 'LowLumiPileUp'

Definition at line 119 of file cmsPerfCommons.py.

Initial value:
00001 ['MinBias.cfi',               
00002              'H200ZZ4L.cfi',
00003              'SingleElectronE1000.cfi',
00004              'SingleMuPt10.cfi',
00005              'SinglePiE1000.cfi',
00006              'TTbar_Tauola.cfi',               
00007              'QCD_Pt_80_120.cfi',
00008              #Example addition of a new candle:
00009              'QCD_Pt_3000_3500.cfi'
00010              ]

Definition at line 85 of file cmsPerfCommons.py.

Referenced by pos::PixelConfigFile::addVersionAlias(), pos::PixelConfigFile::getConfig(), pos::PixelConfigFile::getVersions(), and pos::PixelConfigFile::makeKey().

Initial value:
00001 {
00002          'GEN,SIM': 'Validation/Performance/TimeMemoryG4Info.py',
00003          'DIGI': 'Validation/Performance/TimeMemoryInfo.py',
00004          'DIGI-PILEUP':'Validation/Performance/MixingModule.py'
00005          }

Definition at line 126 of file cmsPerfCommons.py.

Initial value:
00001 ['RAWSIM',
00002                'RECOSIM'
00003                ]

Definition at line 112 of file cmsPerfCommons.py.

dictionary cmsPerfCommons::FileName = {}

Definition at line 82 of file cmsPerfCommons.py.

Initial value:
00001 [CandFname[Candles[0]],        
00002              CandFname[Candles[1]],
00003              CandFname[Candles[2]],
00004              CandFname[Candles[3]],
00005              CandFname[Candles[4]],
00006              CandFname[Candles[5]],
00007              CandFname[Candles[6]],
00008              #Example addition of a new candle:
00009              CandFname[Candles[7]]
00010              ]

Definition at line 96 of file cmsPerfCommons.py.

Referenced by L1GtVhdlWriterCore::writeQsfSetupFiles().

Definition at line 84 of file cmsPerfCommons.py.

Initial value:
00001 ["GEN,SIM,DIGI,L1,DIGI2RAW,HLT",
00002                    "GEN,SIM,DIGI,L1,DIGI2RAW",
00003                    "RAW2DIGI,RECO", #This is already included in Step! So remember to eliminate duplicates if doing the union of the two!
00004                    #Add also all PILEUP steps
00005                    "GEN,SIM,DIGI,L1,DIGI2RAW,HLT_PILEUP",
00006                    "GEN,SIM,DIGI,L1,DIGI2RAW_PILEUP",
00007                    "RAW2DIGI,RECO_PILEUP", #This is already included in Step!
00008                    "GEN,FASTSIM", #Adding FASTSIM workflow
00009                    "HLT"          #Adding HLT alone workflow
00010                    ]

Definition at line 46 of file cmsPerfCommons.py.

Initial value:
00001 {
00002     "MINBIAS_"    : Candles[0],
00003     "HZZLLLL_200" : Candles[1],    
00004     "E_1000"      : Candles[1],
00005     "MU-_pt10"    : Candles[2],
00006     "PI-_1000"    : Candles[3],
00007     "TTBAR_"      : Candles[4], 
00008     "QCD_80_120"  : Candles[6],
00009     #Example addition of a new candle:
00010     "QCD_3000_3500": Candles[7]
00011     }

Definition at line 57 of file cmsPerfCommons.py.

Initial value:
00001 ["GEN,SIM",
00002         "DIGI",
00003         "L1",              
00004         "DIGI2RAW",
00005         "HLT",
00006         "RAW2DIGI,RECO",
00007         #Add also all PILEUP steps
00008         "DIGI_PILEUP",
00009         "L1_PILEUP",
00010         "DIGI2RAW_PILEUP",
00011         "HLT_PILEUP",
00012         "RAW2DIGI,RECO_PILEUP"
00013         ]

Definition at line 31 of file cmsPerfCommons.py.

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