Inherits Configuration::DataProcessing::Scenario::Scenario.
Public Member Functions | |
def | alcaSkim |
def | dqmHarvesting |
def | promptReco |
_hcalnzs_ Implement configuration building for data processing for proton collision data taking
Definition at line 21 of file hcalnzs.py.
def Impl::hcalnzs::hcalnzs::alcaSkim | ( | self, | |
skims, | |||
args | |||
) |
_alcaSkim_ AlcaReco processing & skims for proton collisions
Definition at line 70 of file hcalnzs.py.
00071 : 00072 """ 00073 _alcaSkim_ 00074 00075 AlcaReco processing & skims for proton collisions 00076 00077 """ 00078 00079 globalTag = None 00080 if 'globaltag' in args: 00081 globalTag = args['globaltag'] 00082 00083 step = "ALCAOUTPUT:" 00084 for skim in skims: 00085 step += (skim+"+") 00086 options = Options() 00087 options.__dict__.update(defaultOptions.__dict__) 00088 options.scenario = "pp" 00089 options.step = step.rstrip('+') 00090 options.isMC = False 00091 options.isData = True 00092 options.beamspot = None 00093 options.eventcontent = None 00094 options.relval = None 00095 if globalTag != None : 00096 options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag 00097 options.triggerResultsProcess = 'RECO' 00098 00099 process = cms.Process('ALCA') 00100 cb = ConfigBuilder(options, process = process) 00101 00102 # Input source 00103 process.source = cms.Source( 00104 "PoolSource", 00105 fileNames = cms.untracked.vstring() 00106 ) 00107 00108 cb.prepare() 00109 00110 return process 00111
def Impl::hcalnzs::hcalnzs::dqmHarvesting | ( | self, | |
datasetName, | |||
runNumber, | |||
globalTag, | |||
args | |||
) |
_dqmHarvesting_ Proton collisions data taking DQM Harvesting
Definition at line 112 of file hcalnzs.py.
00113 : 00114 """ 00115 _dqmHarvesting_ 00116 00117 Proton collisions data taking DQM Harvesting 00118 00119 """ 00120 options = defaultOptions 00121 options.scenario = "pp" 00122 options.step = "HARVESTING:dqmHarvesting" 00123 options.isMC = False 00124 options.isData = True 00125 options.beamspot = None 00126 options.eventcontent = None 00127 options.name = "EDMtoMEConvert" 00128 options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag 00129 options.arguments = "" 00130 options.evt_type = "" 00131 options.filein = [] 00132 00133 process = cms.Process("HARVESTING") 00134 process.source = cms.Source("PoolSource") 00135 configBuilder = ConfigBuilder(options, process = process) 00136 configBuilder.prepare() 00137 00138 # 00139 # customise process for particular job 00140 # 00141 process.source.processingMode = cms.untracked.string('RunsAndLumis') 00142 process.source.fileNames = cms.untracked(cms.vstring()) 00143 process.maxEvents.input = -1 00144 process.dqmSaver.workflow = datasetName 00145 if args.has_key('referenceFile') and args.get('referenceFile', ''): 00146 process.DQMStore.referenceFileName = \ 00147 cms.untracked.string(args['referenceFile']) 00148 00149 return process
def Impl::hcalnzs::hcalnzs::promptReco | ( | self, | |
globalTag, | |||
writeTiers = ['RECO'] , |
|||
args | |||
) |
_promptReco_ Proton collision data taking prompt reco
Definition at line 31 of file hcalnzs.py.
00032 : 00033 """ 00034 _promptReco_ 00035 00036 Proton collision data taking prompt reco 00037 00038 """ 00039 00040 skims = ['HcalCalMinBias'] 00041 step = stepALCAPRODUCER(skims) 00042 options = Options() 00043 options.__dict__.update(defaultOptions.__dict__) 00044 options.scenario = "pp" 00045 options.step = 'RAW2DIGI,L1Reco,RECO:reconstruction_HcalNZS'+step+',DQM,ENDJOB' 00046 options.isMC = False 00047 options.isData = True 00048 options.beamspot = None 00049 options.eventcontent = ','.join(writeTiers) 00050 options.datatier = ','.join(writeTiers) 00051 options.magField = 'AutoFromDBCurrent' 00052 options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag 00053 options.relval = False 00054 00055 process = cms.Process('RECO') 00056 cb = ConfigBuilder(options, process = process, with_output = True) 00057 00058 # Input source 00059 process.source = cms.Source("PoolSource", 00060 fileNames = cms.untracked.vstring() 00061 ) 00062 cb.prepare() 00063 00064 00065 #add the former top level patches here 00066 customisePrompt(process) 00067 00068 return process 00069