CMS 3D CMS Logo

Classes | Functions | Variables

relval_steps Namespace Reference

Classes

class  InputInfo

Functions

def addForAll
def changeRefRelease
def merge

Variables

dictionary dataReco
dictionary K100byK1 = {'--relval':'100000,1000'}
dictionary K9by100 = {'--relval':'9000,100'}
dictionary K9by25 = {'--relval':'9000,25'}
dictionary K9by250 = {'--relval':'9000,250'}
dictionary K9by50 = {'--relval':'9000,50'}
dictionary stCond = {'--conditions':'auto:startup'}
 Production test section ####.
dictionary step1 = {}
dictionary step1Defaults
tuple step1FastDefaults = merge([{'-s':'GEN,FASTSIM,HLT:GRun,VALIDATION', '--eventcontent':'FEVTDEBUGHLT','--datatier':'GEN-SIM-DIGI-RECO','--relval':'27000,1000'},step1Defaults])
 fastsim section #### no forseen to do things in two steps GEN-SIM then FASTIM->end: maybe later
dictionary step2 = {}
dictionary step2Defaults
dictionary step3 = {}
dictionary step3Defaults
dictionary step4 = {}
dictionary step4Defaults
list stepList = [step1, step2, step3, step4]
 for special wfs ###

Function Documentation

def relval_steps::addForAll (   steps,
  d 
)

Definition at line 152 of file relval_steps.py.

00153                       :
00154     for s in steps:
00155         steps[s].update(d)
00156     
00157 changeRefRelease(step1,[('CMSSW_4_2_0_pre2-START311_V1-v1','CMSSW_4_2_0_pre4-START42_V1-v1'),
00158                         ('CMSSW_4_2_0_pre2-MC_311_V1-v1','CMSSW_4_2_0_pre4-MC_42_V1-v1')
00159                         ])

def relval_steps::changeRefRelease (   step1s,
  listOfPairs 
)

Definition at line 144 of file relval_steps.py.

00145                                         :
00146     for s in step1s:
00147         if ('INPUT' in step1s[s]):
00148             oldD=step1[s]['INPUT'].dataSet
00149             for ref,newRef in listOfPairs:
00150                 if  ref in oldD:
00151                     step1[s]['INPUT'].dataSet=oldD.replace(ref,newRef)
                                        
def relval_steps::merge (   dictlist,
  TELL = False 
)

Definition at line 12 of file relval_steps.py.

Referenced by HLTScalersClient::endLuminosityBlock(), SiStripQualityChecker::fillTrackingStatus(), SiStripQualityChecker::fillTrackingStatusAtLumi(), DDI::LogicalPart::mergedSpecificsV(), and DDExpandedView::mergedSpecificsV().

00013                               :
00014     import copy
00015     last=len(dictlist)-1
00016     if TELL: print last,dictlist
00017     if last==0:
00018         # ONLY ONE ITEM LEFT
00019         return copy.copy(dictlist[0])
00020     else:
00021         reducedlist=dictlist[0:max(0,last-1)]
00022         if TELL: print reducedlist
00023         # make a copy of the last item
00024         d=copy.copy(dictlist[last])
00025         # update with the last but one item
00026         d.update(dictlist[last-1])
00027         # and recursively do the rest
00028         reducedlist.append(d)
00029         return merge(reducedlist,TELL)
00030 
00031 
# step1 gensim

Variable Documentation

Initial value:
00001 {'--conditions':'auto:com10',
00002           '-s':'RAW2DIGI,L1Reco,RECO,ALCA:SiStripCalZeroBias+SiStripCalMinBias,DQM',
00003           '--datatier':'RECO,DQM',
00004           '--eventcontent':'RECO,DQM',
00005           '--data':'',
00006           '--magField':'AutoFromDBCurrent',
00007           '--customise':'Configuration/DataProcessing/RecoTLR.customisePPData',
00008           '--inputCommands':'"keep *","drop *_*_*_RECO"',
00009           '--process':'reRECO',
00010           }

Definition at line 194 of file relval_steps.py.

dictionary relval_steps::K100byK1 = {'--relval':'100000,1000'}

Definition at line 163 of file relval_steps.py.

dictionary relval_steps::K9by100 = {'--relval':'9000,100'}

Definition at line 73 of file relval_steps.py.

dictionary relval_steps::K9by25 = {'--relval':'9000,25'}

Definition at line 71 of file relval_steps.py.

dictionary relval_steps::K9by250 = {'--relval':'9000,250'}

Definition at line 74 of file relval_steps.py.

dictionary relval_steps::K9by50 = {'--relval':'9000,50'}

Definition at line 72 of file relval_steps.py.

dictionary relval_steps::stCond = {'--conditions':'auto:startup'}

Production test section ####.

data #### Standard release validation samples ####

Definition at line 70 of file relval_steps.py.

dictionary relval_steps::step1 = {}
Initial value:
00001 {'--relval'      : None, # need to be explicitly set
00002                  '-s'            : 'GEN,SIM',
00003                  '-n'            : 10,
00004                  '--conditions'  : 'auto:mc',
00005                  '--datatier'    : 'GEN-SIM',
00006                  '--eventcontent': 'RAWSIM',
00007                  }

Definition at line 32 of file relval_steps.py.

tuple relval_steps::step1FastDefaults = merge([{'-s':'GEN,FASTSIM,HLT:GRun,VALIDATION', '--eventcontent':'FEVTDEBUGHLT','--datatier':'GEN-SIM-DIGI-RECO','--relval':'27000,1000'},step1Defaults])

fastsim section #### no forseen to do things in two steps GEN-SIM then FASTIM->end: maybe later

Definition at line 162 of file relval_steps.py.

dictionary relval_steps::step2 = {}
Initial value:
00001 { 'cfg'           : 'step2',
00002                   '-s'            : 'DIGI,L1,DIGI2RAW,HLT:GRun,RAW2DIGI,L1Reco',
00003                   '--datatier'    : 'GEN-SIM-DIGI-RAW-HLTDEBUG',
00004                   '--eventcontent': 'FEVTDEBUGHLT',
00005                   '--conditions'  : 'auto:mc',
00006                   }

Definition at line 177 of file relval_steps.py.

dictionary relval_steps::step3 = {}
Initial value:
00001 { 'cfg'           : 'step3',
00002                   '-s'            : 'RAW2DIGI,L1Reco,RECO,VALIDATION,DQM',
00003                   '--filein'      : 'file:reco.root',
00004                   '--conditions'  : 'auto:mc',
00005                   '--no_exec'     : '',
00006                   '--datatier'    : 'GEN-SIM-RECO,DQM',
00007                   '--eventcontent': 'RECOSIM,DQM'
00008                   }

Definition at line 218 of file relval_steps.py.

dictionary relval_steps::step4 = {}

Definition at line 259 of file relval_steps.py.

Initial value:
00001 { 'cfg'           : 'step4',
00002                   '-s'            : 'ALCA:TkAlMuonIsolated+TkAlMinBias+EcalCalElectron+HcalCalIsoTrk+MuAlOverlaps',
00003                   '-n'            : 1000,
00004                   '--filein'      : 'file:reco.root',
00005                   '--conditions'  : 'auto:mc',
00006                   '--no_exec'     : '',
00007                   '--datatier'    : 'ALCARECO',
00008                   '--oneoutput'   : '',
00009                   '--eventcontent': 'ALCARECO',
00010                   }

Definition at line 249 of file relval_steps.py.

for special wfs ###

Definition at line 290 of file relval_steps.py.