Inherits Configuration::DataProcessing::Scenario::Scenario.
List of all members.
Detailed Description
Definition at line 21 of file Reco.py.
Constructor & Destructor Documentation
def Reco::Reco::__init__ |
( |
|
self | ) |
|
Definition at line 22 of file Reco.py.
00023 :
00024 self.recoSeq=''
self.cbSc=self.__class__.__name__
Member Function Documentation
def Reco::Reco::alcaHarvesting |
( |
|
self, |
|
|
|
globalTag, |
|
|
|
datasetName, |
|
|
|
args |
|
) |
| |
_alcaHarvesting_
Proton collisions data taking AlCa Harvesting
Definition at line 157 of file Reco.py.
00158 :
00159 """
00160 _alcaHarvesting_
00161
00162 Proton collisions data taking AlCa Harvesting
00163
00164 """
00165 if not 'skims' in args: return None
00166 options = defaultOptions
00167 options.scenario = self.cbSc if hasattr(self,'cbSc') else self.__class__.__name__
00168 options.step = "ALCAHARVEST:"+('+'.join(args['skims']))
00169 options.name = "ALCAHARVEST"
00170 options.conditions = globalTag
00171
00172 process = cms.Process("ALCAHARVEST")
00173 process.source = cms.Source("PoolSource")
00174 configBuilder = ConfigBuilder(options, process = process)
00175 configBuilder.prepare()
00176
00177
00178
00179
00180 process.source.processingMode = cms.untracked.string('RunsAndLumis')
00181 process.source.fileNames = cms.untracked(cms.vstring())
00182 process.maxEvents.input = -1
00183 process.dqmSaver.workflow = datasetName
00184
00185 return process
def Reco::Reco::alcaSkim |
( |
|
self, |
|
|
|
skims, |
|
|
|
args |
|
) |
| |
_alcaSkim_
AlcaReco processing & skims for proton collisions
Definition at line 91 of file Reco.py.
00092 :
00093 """
00094 _alcaSkim_
00095
00096 AlcaReco processing & skims for proton collisions
00097
00098 """
00099
00100 step = ""
00101 if 'PromptCalibProd' in skims:
00102 step = "ALCA:PromptCalibProd"
00103 skims.remove('PromptCalibProd')
00104
00105 if len( skims ) > 0:
00106 if step != "":
00107 step += ","
00108 step += "ALCAOUTPUT:"+('+'.join(skims))
00109
00110 options = Options()
00111 options.__dict__.update(defaultOptions.__dict__)
00112 options.scenario = self.cbSc
00113 options.step = step
00114 options.conditions = args['globaltag'] if 'globaltag' in args else 'None'
00115 options.triggerResultsProcess = 'RECO'
00116
00117 process = cms.Process('ALCA')
00118 cb = ConfigBuilder(options, process = process)
00119
00120
00121 process.source = cms.Source(
00122 "PoolSource",
00123 fileNames = cms.untracked.vstring()
00124 )
00125
00126 cb.prepare()
00127
00128
00129
00130 if 'PromptCalibProd' in step:
00131 process.ALCARECOStreamPromptCalibProd.dataset.dataTier = cms.untracked.string('ALCAPROMPT')
00132
00133 return process
00134
def Reco::Reco::dqmHarvesting |
( |
|
self, |
|
|
|
datasetName, |
|
|
|
runNumber, |
|
|
|
globalTag, |
|
|
|
args |
|
) |
| |
_dqmHarvesting_
Proton collisions data taking DQM Harvesting
Definition at line 135 of file Reco.py.
00136 :
00137 """
00138 _dqmHarvesting_
00139
00140 Proton collisions data taking DQM Harvesting
00141
00142 """
00143 options = defaultOptions
00144 options.scenario = self.cbSc
00145 options.step = "HARVESTING"+dqmSeq(args,':dqmHarvesting')
00146 options.name = "EDMtoMEConvert"
00147 options.conditions = globalTag
00148
00149 process = cms.Process("HARVESTING")
00150 process.source = dqmIOSource(args)
00151 configBuilder = ConfigBuilder(options, process = process)
00152 configBuilder.prepare()
00153
00154 harvestingMode(process,datasetName,args,rANDl=True)
00155 return process
00156
def Reco::Reco::expressProcessing |
( |
|
self, |
|
|
|
globalTag, |
|
|
|
args |
|
) |
| |
_expressProcessing_
Proton collision data taking express processing
Definition at line 63 of file Reco.py.
00064 :
00065 """
00066 _expressProcessing_
00067
00068 Proton collision data taking express processing
00069
00070 """
00071 step = stepALCAPRODUCER(args['skims'])
00072 dqmStep= dqmSeq(args,'')
00073 options = Options()
00074 options.__dict__.update(defaultOptions.__dict__)
00075 options.scenario = self.cbSc
00076 options.step = 'RAW2DIGI,L1Reco,RECO'+step+',DQM'+dqmStep+',ENDJOB'
00077 dictIO(options,args)
00078 options.conditions = globalTag
00079 options.filein = 'tobeoverwritten.xyz'
00080 if 'inputSource' in args:
00081 options.filetype = args['inputSource']
00082 process = cms.Process('RECO')
00083 cb = ConfigBuilder(options, process = process, with_output = True, with_input = True)
00084
00085 cb.prepare()
00086
00087 addMonitoring(process)
00088
00089 return process
00090
def Reco::Reco::promptReco |
( |
|
self, |
|
|
|
globalTag, |
|
|
|
args |
|
) |
| |
_promptReco_
Proton collision data taking prompt reco
Definition at line 33 of file Reco.py.
00034 :
00035 """
00036 _promptReco_
00037
00038 Proton collision data taking prompt reco
00039
00040 """
00041 step = stepALCAPRODUCER(args['skims'])
00042 dqmStep= dqmSeq(args,'')
00043 options = Options()
00044 options.__dict__.update(defaultOptions.__dict__)
00045 options.scenario = self.cbSc
00046 options.step = 'RAW2DIGI,L1Reco,RECO'+self.recoSeq+step+',DQM'+dqmStep+',ENDJOB'
00047 dictIO(options,args)
00048 options.conditions = globalTag
00049
00050 process = cms.Process('RECO')
00051 cb = ConfigBuilder(options, process = process, with_output = True)
00052
00053
00054 process.source = cms.Source("PoolSource",
00055 fileNames = cms.untracked.vstring()
00056 )
00057 cb.prepare()
00058
00059 addMonitoring(process)
00060
00061 return process
00062
Member Data Documentation