![]() |
![]() |
Inherits Configuration::DataProcessing::Scenario::Scenario.
Public Member Functions | |
def | alcaSkim |
def | dqmHarvesting |
def | expressProcessing |
def | promptReco |
_AlCaTestEnable_ Implement configuration building for data processing for proton collision data taking
Definition at line 21 of file AlCaTestEnable.py.
def Impl::AlCaTestEnable::AlCaTestEnable::alcaSkim | ( | self, | |
skims, | |||
args | |||
) |
_alcaSkim_ AlcaReco processing & skims for proton collisions
Definition at line 107 of file AlCaTestEnable.py.
00108 : 00109 """ 00110 _alcaSkim_ 00111 00112 AlcaReco processing & skims for proton collisions 00113 00114 """ 00115 00116 globalTag = None 00117 if 'globaltag' in args: 00118 globalTag = args['globaltag'] 00119 00120 step = "ALCAOUTPUT:" 00121 for skim in skims: 00122 step += (skim+"+") 00123 options = Options() 00124 options.__dict__.update(defaultOptions.__dict__) 00125 options.scenario = "pp" 00126 options.step = step.rstrip('+') 00127 options.isMC = False 00128 options.isData = True 00129 options.beamspot = None 00130 options.eventcontent = None 00131 options.relval = None 00132 if globalTag != None : 00133 options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag 00134 options.triggerResultsProcess = 'RECO' 00135 00136 process = cms.Process('ALCA') 00137 cb = ConfigBuilder(options, process = process) 00138 00139 # Input source 00140 process.source = cms.Source( 00141 "PoolSource", 00142 fileNames = cms.untracked.vstring() 00143 ) 00144 00145 cb.prepare() 00146 00147 return process 00148
def Impl::AlCaTestEnable::AlCaTestEnable::dqmHarvesting | ( | self, | |
datasetName, | |||
runNumber, | |||
globalTag, | |||
args | |||
) |
_dqmHarvesting_ Proton collisions data taking DQM Harvesting
Definition at line 149 of file AlCaTestEnable.py.
00150 : 00151 """ 00152 _dqmHarvesting_ 00153 00154 Proton collisions data taking DQM Harvesting 00155 00156 """ 00157 options = defaultOptions 00158 options.scenario = "pp" 00159 options.step = "HARVESTING:alcaHarvesting" 00160 options.isMC = False 00161 options.isData = True 00162 options.beamspot = None 00163 options.eventcontent = None 00164 options.name = "EDMtoMEConvert" 00165 options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag 00166 options.arguments = "" 00167 options.evt_type = "" 00168 options.filein = [] 00169 00170 process = cms.Process("HARVESTING") 00171 process.source = cms.Source("PoolSource") 00172 configBuilder = ConfigBuilder(options, process = process) 00173 configBuilder.prepare() 00174 00175 # 00176 # customise process for particular job 00177 # 00178 process.source.processingMode = cms.untracked.string('RunsAndLumis') 00179 process.source.fileNames = cms.untracked(cms.vstring()) 00180 process.maxEvents.input = -1 00181 process.dqmSaver.workflow = datasetName 00182 process.dqmSaver.saveByLumiSection = 1 00183 if args.has_key('referenceFile') and args.get('referenceFile', ''): 00184 process.DQMStore.referenceFileName = \ 00185 cms.untracked.string(args['referenceFile']) 00186 00187 return process
def Impl::AlCaTestEnable::AlCaTestEnable::expressProcessing | ( | self, | |
globalTag, | |||
writeTiers = [] , |
|||
args | |||
) |
_expressProcessing_ Proton collision data taking express processing
Definition at line 69 of file AlCaTestEnable.py.
00070 : 00071 """ 00072 _expressProcessing_ 00073 00074 Proton collision data taking express processing 00075 00076 """ 00077 00078 skims = ['TkAlLAS'] 00079 step = stepALCAPRODUCER(skims) 00080 options = Options() 00081 options.__dict__.update(defaultOptions.__dict__) 00082 options.scenario = "pp" 00083 options.step = step 00084 options.isMC = False 00085 options.isData = True 00086 options.beamspot = None 00087 options.eventcontent = ','.join(writeTiers) 00088 options.datatier = ','.join(writeTiers) 00089 options.magField = 'AutoFromDBCurrent' 00090 options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag 00091 options.relval = False 00092 00093 process = cms.Process('RECO') 00094 cb = ConfigBuilder(options, process = process, with_output = True) 00095 00096 # Input source 00097 process.source = cms.Source("PoolSource", 00098 fileNames = cms.untracked.vstring() 00099 ) 00100 cb.prepare() 00101 00102 #add the former top level patches here 00103 customisePrompt(process) 00104 00105 return process 00106
def Impl::AlCaTestEnable::AlCaTestEnable::promptReco | ( | self, | |
globalTag, | |||
writeTiers = ['ALCARECO'] , |
|||
args | |||
) |
_promptReco_ Proton collision data taking prompt reco
Definition at line 31 of file AlCaTestEnable.py.
00032 : 00033 """ 00034 _promptReco_ 00035 00036 Proton collision data taking prompt reco 00037 00038 """ 00039 00040 skims = ['TkAlLAS'] 00041 step = stepALCAPRODUCER(skims) 00042 options = Options() 00043 options.__dict__.update(defaultOptions.__dict__) 00044 options.scenario = "pp" 00045 options.step = step 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 #add the former top level patches here 00065 # customisePrompt(process) 00066 00067 return process 00068