CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions
Reco.Reco Class Reference
Inheritance diagram for Reco.Reco:

Public Member Functions

def __init__ (self)
 
def alcaHarvesting (self, globalTag, datasetName, args)
 
def alcaSkim (self, skims, args)
 
def dqmHarvesting (self, datasetName, runNumber, globalTag, args)
 
def expressProcessing (self, globalTag, args)
 
def promptReco (self, globalTag, args)
 
def skimming (self, skims, globalTag, options)
 
def visualizationProcessing (self, globalTag, args)
 

Public Attributes

 cbSc
 
 expressModifiers
 
 promptModifiers
 
 recoSeq
 
 visModifiers
 

Private Member Functions

def _checkRepackedFlag (self, options, args)
 

Detailed Description

Definition at line 18 of file Reco.py.

Constructor & Destructor Documentation

◆ __init__()

def Reco.Reco.__init__ (   self)

Definition at line 19 of file Reco.py.

19  def __init__(self):
20  Scenario.__init__(self)
21  self.recoSeq=''
22  self.cbSc=self.__class__.__name__
23  self.promptModifiers = cms.ModifierChain()
24  self.expressModifiers = cms.ModifierChain()
25  self.visModifiers = cms.ModifierChain()
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ _checkRepackedFlag()

def Reco.Reco._checkRepackedFlag (   self,
  options,
  args 
)
private

Definition at line 35 of file Reco.py.

Referenced by Reco.Reco.expressProcessing(), Reco.Reco.promptReco(), and Reco.Reco.visualizationProcessing().

35  def _checkRepackedFlag(self, options, **args):
36  if 'repacked' in args:
37  if args['repacked'] == True:
38  options.isRepacked = True
39  else:
40  options.isRepacked = False
41 
42 
43 

◆ alcaHarvesting()

def Reco.Reco.alcaHarvesting (   self,
  globalTag,
  datasetName,
  args 
)
_alcaHarvesting_

Proton collisions data taking AlCa Harvesting

Definition at line 294 of file Reco.py.

References __class__< T >.__class__(), Impl.cosmics.cosmics.cbSc, Impl.hcalnzs.hcalnzs.cbSc, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.cbSc, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.cbSc, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.cbSc, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.cbSc, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.cbSc, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.cbSc, Impl.trackingOnly.trackingOnly.cbSc, Impl.HeavyIons.HeavyIons.cbSc, Impl.pp.pp.cbSc, Impl.ppEra_Run3_2024.ppEra_Run3_2024.cbSc, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.cbSc, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.cbSc, Reco.Reco.cbSc, Impl.ppEra_Run2_2018.ppEra_Run2_2018.cbSc, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.cbSc, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.cbSc, Impl.ppEra_Run2_2016.ppEra_Run2_2016.cbSc, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.cbSc, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.cbSc, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.cbSc, Impl.ppEra_Run3.ppEra_Run3.cbSc, Impl.ppEra_Run3_2023.ppEra_Run3_2023.cbSc, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.cbSc, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.cbSc, Impl.ppEra_Run2_2017.ppEra_Run2_2017.cbSc, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.cbSc, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.cbSc, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.cbSc, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.cbSc, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.cbSc, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.cbSc, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.cbSc, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.cbSc, Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.ppEra_Run3_2024.ppEra_Run3_2024.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.AlCaPPS_Run3.AlCaPPS_Run3.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3_2023.ppEra_Run3_2023.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run3_pp_on_PbPb.trackingOnlyEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Utils.gtNameAndConnect(), and join().

294  def alcaHarvesting(self, globalTag, datasetName, **args):
295  """
296  _alcaHarvesting_
297 
298  Proton collisions data taking AlCa Harvesting
299 
300  """
301  skims = []
302  if 'skims' in args:
303  skims = args['skims']
304 
305 
306  if 'alcapromptdataset' in args:
307  skims.append('@'+args['alcapromptdataset'])
308 
309  if len(skims) == 0: return None
310  options = defaultOptions
311  options.scenario = self.cbSc if hasattr(self,'cbSc') else self.__class__.__name__
312  options.step = "ALCAHARVEST:"+('+'.join(skims))
313  options.name = "ALCAHARVEST"
314  options.conditions = gtNameAndConnect(globalTag, args)
315 
316  process = cms.Process("ALCAHARVEST", self.eras)
317  process.source = cms.Source("PoolSource")
318 
319  if 'customs' in args:
320  options.customisation_file=args['customs']
321 
322  configBuilder = ConfigBuilder(options, process = process)
323  configBuilder.prepare()
324 
325  #
326  # customise process for particular job
327  #
328  process.source.processingMode = cms.untracked.string('RunsAndLumis')
329  process.source.fileNames = cms.untracked(cms.vstring())
330  process.maxEvents.input = -1
331  process.dqmSaver.workflow = datasetName
332 
333  return process
334 
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:149
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

◆ alcaSkim()

def Reco.Reco.alcaSkim (   self,
  skims,
  args 
)
_alcaSkim_

AlcaReco processing & skims for proton collisions

Definition at line 215 of file Reco.py.

References Impl.cosmics.cosmics.cbSc, Impl.hcalnzs.hcalnzs.cbSc, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.cbSc, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.cbSc, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.cbSc, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.cbSc, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.cbSc, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.cbSc, Impl.trackingOnly.trackingOnly.cbSc, Impl.HeavyIons.HeavyIons.cbSc, Impl.pp.pp.cbSc, Impl.ppEra_Run3_2024.ppEra_Run3_2024.cbSc, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.cbSc, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.cbSc, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.cbSc, Reco.Reco.cbSc, Impl.ppEra_Run2_2018.ppEra_Run2_2018.cbSc, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.cbSc, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.cbSc, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.cbSc, Impl.ppEra_Run2_2016.ppEra_Run2_2016.cbSc, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.cbSc, Impl.ppEra_Run3.ppEra_Run3.cbSc, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.cbSc, Impl.ppEra_Run3_2023.ppEra_Run3_2023.cbSc, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.cbSc, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.cbSc, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.cbSc, Impl.ppEra_Run2_2017.ppEra_Run2_2017.cbSc, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.cbSc, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.cbSc, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.cbSc, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.cbSc, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.cbSc, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.cbSc, Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.ppEra_Run3_2024.ppEra_Run3_2024.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.AlCaPPS_Run3.AlCaPPS_Run3.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3_2023.ppEra_Run3_2023.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run3_pp_on_PbPb.trackingOnlyEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.eras, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.eras, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, and join().

215  def alcaSkim(self, skims, **args):
216  """
217  _alcaSkim_
218 
219  AlcaReco processing & skims for proton collisions
220 
221  """
222 
223  step = ""
224  pclWflws = [x for x in skims if "PromptCalibProd" in x]
225  skims = [x for x in skims if x not in pclWflws]
226 
227  if len(pclWflws):
228  step += 'ALCA:'+('+'.join(pclWflws))
229 
230  if len( skims ) > 0:
231  if step != "":
232  step += ","
233  step += "ALCAOUTPUT:"+('+'.join(skims))
234 
235  options = Options()
236  options.__dict__.update(defaultOptions.__dict__)
237  options.scenario = self.cbSc
238  options.step = step
239  options.conditions = args['globaltag'] if 'globaltag' in args else 'None'
240  if 'globalTagConnect' in args and args['globalTagConnect'] != '':
241  options.conditions += ','+args['globalTagConnect']
242 
243  options.triggerResultsProcess = 'RECO'
244 
245  if 'customs' in args:
246  options.customisation_file=args['customs']
247 
248  process = cms.Process('ALCA', self.eras)
249  cb = ConfigBuilder(options, process = process)
250 
251  # Input source
252  process.source = cms.Source(
253  "PoolSource",
254  fileNames = cms.untracked.vstring()
255  )
256 
257  cb.prepare()
258 
259  # FIXME: dirty hack..any way around this?
260  # Tier0 needs the dataset used for ALCAHARVEST step to be a different data-tier
261  for wfl in pclWflws:
262  methodToCall = getattr(process, 'ALCARECOStream'+wfl)
263  methodToCall.dataset.dataTier = cms.untracked.string('ALCAPROMPT')
264 
265  return process
266 
267 
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

◆ dqmHarvesting()

def Reco.Reco.dqmHarvesting (   self,
  datasetName,
  runNumber,
  globalTag,
  args 
)
_dqmHarvesting_

Proton collisions data taking DQM Harvesting

Definition at line 268 of file Reco.py.

References Impl.cosmics.cosmics.cbSc, Impl.hcalnzs.hcalnzs.cbSc, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.cbSc, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.cbSc, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.cbSc, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.cbSc, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.cbSc, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.cbSc, Impl.trackingOnly.trackingOnly.cbSc, Impl.HeavyIons.HeavyIons.cbSc, Impl.pp.pp.cbSc, Impl.ppEra_Run3_2024.ppEra_Run3_2024.cbSc, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.cbSc, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.cbSc, Reco.Reco.cbSc, Impl.ppEra_Run2_2018.ppEra_Run2_2018.cbSc, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.cbSc, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.cbSc, Impl.ppEra_Run2_2016.ppEra_Run2_2016.cbSc, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.cbSc, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.cbSc, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.cbSc, Impl.ppEra_Run3.ppEra_Run3.cbSc, Impl.ppEra_Run3_2023.ppEra_Run3_2023.cbSc, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.cbSc, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.cbSc, Impl.ppEra_Run2_2017.ppEra_Run2_2017.cbSc, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.cbSc, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.cbSc, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.cbSc, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.cbSc, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.cbSc, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.cbSc, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.cbSc, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.cbSc, Utils.dqmIOSource(), Utils.dqmSeq(), Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.ppEra_Run3_2024.ppEra_Run3_2024.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.AlCaPPS_Run3.AlCaPPS_Run3.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3_2023.ppEra_Run3_2023.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run3_pp_on_PbPb.trackingOnlyEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.eras, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.eras, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Utils.gtNameAndConnect(), and Utils.harvestingMode().

268  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
269  """
270  _dqmHarvesting_
271 
272  Proton collisions data taking DQM Harvesting
273 
274  """
275  options = defaultOptions
276  options.scenario = self.cbSc
277  options.step = "HARVESTING"+dqmSeq(args,':dqmHarvesting')
278  options.name = "EDMtoMEConvert"
279  options.conditions = gtNameAndConnect(globalTag, args)
280 
281  process = cms.Process("HARVESTING", self.eras)
282  process.source = dqmIOSource(args)
283 
284  if 'customs' in args:
285  options.customisation_file=args['customs']
286 
287  configBuilder = ConfigBuilder(options, process = process)
288  configBuilder.prepare()
289 
290  harvestingMode(process,datasetName,args,rANDl=False)
291  return process
292 
293 
def harvestingMode(process, datasetName, args, rANDl=True)
Definition: Utils.py:114
def dqmSeq(args, default)
Definition: Utils.py:129
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:149
def dqmIOSource(args)
Definition: Utils.py:103

◆ expressProcessing()

def Reco.Reco.expressProcessing (   self,
  globalTag,
  args 
)
_expressProcessing_

Proton collision data taking express processing

Definition at line 107 of file Reco.py.

References Reco.Reco._checkRepackedFlag(), Utils.addMonitoring(), Impl.cosmics.cosmics.cbSc, Impl.hcalnzs.hcalnzs.cbSc, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.cbSc, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.cbSc, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.cbSc, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.cbSc, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.cbSc, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.cbSc, Impl.trackingOnly.trackingOnly.cbSc, Impl.HeavyIons.HeavyIons.cbSc, Impl.pp.pp.cbSc, Impl.ppEra_Run3_2024.ppEra_Run3_2024.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.cbSc, Impl.ppEra_Run2_2017.ppEra_Run2_2017.cbSc, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.cbSc, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.cbSc, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.cbSc, Reco.Reco.cbSc, Impl.ppEra_Run2_2018.ppEra_Run2_2018.cbSc, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.cbSc, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.cbSc, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.cbSc, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.cbSc, Impl.ppEra_Run2_2016.ppEra_Run2_2016.cbSc, Impl.ppEra_Run3.ppEra_Run3.cbSc, Impl.ppEra_Run3_2023.ppEra_Run3_2023.cbSc, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.cbSc, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.cbSc, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.cbSc, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.cbSc, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.cbSc, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.cbSc, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.cbSc, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.cbSc, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.cbSc, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.cbSc, Utils.dictIO(), Utils.dqmSeq(), Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run3_2024.ppEra_Run3_2024.eras, Impl.AlCaPPS_Run3.AlCaPPS_Run3.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3_2023.ppEra_Run3_2023.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.eras, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.eras, Impl.trackingOnlyEra_Run3_pp_on_PbPb.trackingOnlyEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Impl.HeavyIons.HeavyIons.expressModifiers, Reco.Reco.expressModifiers, Impl.pp.pp.expressModifiers, Utils.gtNameAndConnect(), Impl.cosmics.cosmics.recoSeq, Impl.hcalnzs.hcalnzs.recoSeq, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.recoSeq, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.recoSeq, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.recoSeq, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.recoSeq, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.recoSeq, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.recoSeq, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.recoSeq, Impl.pp.pp.recoSeq, Impl.ppEra_Run3_2024.ppEra_Run3_2024.recoSeq, Impl.trackingOnly.trackingOnly.recoSeq, Impl.HeavyIons.HeavyIons.recoSeq, Impl.AlCaNano.AlCaNano.recoSeq, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.recoSeq, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.recoSeq, Reco.Reco.recoSeq, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.recoSeq, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.recoSeq, Impl.ppEra_Run2_2017.ppEra_Run2_2017.recoSeq, Impl.ppEra_Run3.ppEra_Run3.recoSeq, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.recoSeq, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.recoSeq, Impl.ppEra_Run2_2016.ppEra_Run2_2016.recoSeq, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.recoSeq, Impl.ppEra_Run2_2018.ppEra_Run2_2018.recoSeq, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.recoSeq, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.recoSeq, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.recoSeq, Impl.ppEra_Run3_2023.ppEra_Run3_2023.recoSeq, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.recoSeq, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.recoSeq, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.recoSeq, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.recoSeq, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.recoSeq, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.recoSeq, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.recoSeq, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.recoSeq, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.recoSeq, and Utils.stepALCAPRODUCER().

107  def expressProcessing(self, globalTag, **args):
108  """
109  _expressProcessing_
110 
111  Proton collision data taking express processing
112 
113  """
114  skims = args['skims']
115  # the AlCaReco skims for PCL should only run during AlCaSkimming step which uses the same configuration on the Tier0 side, for this reason we drop them here
116  pclWkflws = [x for x in skims if "PromptCalibProd" in x]
117  for wfl in pclWkflws:
118  skims.remove(wfl)
119 
120  step = stepALCAPRODUCER(skims)
121  dqmStep= dqmSeq(args,'')
122  options = Options()
123  options.__dict__.update(defaultOptions.__dict__)
124  options.scenario = self.cbSc
125  if ('nThreads' in args) :
126  options.nThreads=args['nThreads']
127 
128  eiStep=''
129 
130  options.step = 'RAW2DIGI,L1Reco,RECO'+self.recoSeq+eiStep+step+',DQM'+dqmStep+',ENDJOB'
131 
132  dictIO(options,args)
133  options.conditions = gtNameAndConnect(globalTag, args)
134 
135 
136  options.filein = 'tobeoverwritten.xyz'
137  if 'inputSource' in args:
138  options.filetype = args['inputSource']
139  process = cms.Process('RECO', cms.ModifierChain(self.eras, self.expressModifiers) )
140 
141  if 'customs' in args:
142  options.customisation_file=args['customs']
143 
144  self._checkRepackedFlag(options,**args)
145 
146  cb = ConfigBuilder(options, process = process, with_output = True, with_input = True)
147 
148  cb.prepare()
149 
150  addMonitoring(process)
151 
152  return process
153 
154 
def dqmSeq(args, default)
Definition: Utils.py:129
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:149
def dictIO(options, args)
Definition: Utils.py:121
def addMonitoring(process)
Definition: Utils.py:38
def stepALCAPRODUCER(skims)
Definition: Utils.py:9

◆ promptReco()

def Reco.Reco.promptReco (   self,
  globalTag,
  args 
)
_promptReco_

Proton collision data taking prompt reco

Definition at line 44 of file Reco.py.

References Reco.Reco._checkRepackedFlag(), Utils.addMonitoring(), mps_setup.append, Impl.cosmics.cosmics.cbSc, Impl.hcalnzs.hcalnzs.cbSc, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.cbSc, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.cbSc, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.cbSc, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.cbSc, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.cbSc, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.cbSc, Impl.trackingOnly.trackingOnly.cbSc, Impl.HeavyIons.HeavyIons.cbSc, Impl.pp.pp.cbSc, Impl.ppEra_Run3_2024.ppEra_Run3_2024.cbSc, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.cbSc, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.cbSc, Impl.ppEra_Run2_2017.ppEra_Run2_2017.cbSc, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.cbSc, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.cbSc, Reco.Reco.cbSc, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.cbSc, Impl.ppEra_Run2_2018.ppEra_Run2_2018.cbSc, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.cbSc, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.cbSc, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.cbSc, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.cbSc, Impl.ppEra_Run3.ppEra_Run3.cbSc, Impl.ppEra_Run2_2016.ppEra_Run2_2016.cbSc, Impl.ppEra_Run3_2023.ppEra_Run3_2023.cbSc, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.cbSc, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.cbSc, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.cbSc, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.cbSc, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.cbSc, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.cbSc, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.cbSc, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.cbSc, Utils.dictIO(), Utils.dqmSeq(), Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run3_2024.ppEra_Run3_2024.eras, Impl.AlCaPPS_Run3.AlCaPPS_Run3.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3_2023.ppEra_Run3_2023.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run3_pp_on_PbPb.trackingOnlyEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.eras, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Utils.gtNameAndConnect(), Utils.nanoFlavours(), print(), Impl.AlCaNano.AlCaNano.promptModifiers, Reco.Reco.promptModifiers, Impl.cosmics.cosmics.recoSeq, Impl.hcalnzs.hcalnzs.recoSeq, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.recoSeq, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.recoSeq, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.recoSeq, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.recoSeq, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.recoSeq, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.recoSeq, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.recoSeq, Impl.trackingOnly.trackingOnly.recoSeq, Impl.ppEra_Run3_2024.ppEra_Run3_2024.recoSeq, Impl.pp.pp.recoSeq, Impl.HeavyIons.HeavyIons.recoSeq, Impl.AlCaNano.AlCaNano.recoSeq, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.recoSeq, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.recoSeq, Reco.Reco.recoSeq, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.recoSeq, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.recoSeq, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.recoSeq, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.recoSeq, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.recoSeq, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.recoSeq, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.recoSeq, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.recoSeq, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.recoSeq, Impl.ppEra_Run2_2017.ppEra_Run2_2017.recoSeq, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.recoSeq, Impl.ppEra_Run3.ppEra_Run3.recoSeq, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.recoSeq, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.recoSeq, Impl.ppEra_Run2_2016.ppEra_Run2_2016.recoSeq, Impl.ppEra_Run2_2018.ppEra_Run2_2018.recoSeq, Impl.ppEra_Run3_2023.ppEra_Run3_2023.recoSeq, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.recoSeq, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.recoSeq, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.recoSeq, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.recoSeq, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.recoSeq, Utils.stepALCAPRODUCER(), and Utils.stepSKIMPRODUCER().

44  def promptReco(self, globalTag, **args):
45  """
46  _promptReco_
47 
48  Proton collision data taking prompt reco
49 
50  """
51  step = stepALCAPRODUCER(args['skims'])
52  PhysicsSkimStep = ''
53  if ("PhysicsSkims" in args) :
54  PhysicsSkimStep = stepSKIMPRODUCER(args['PhysicsSkims'])
55  dqmStep = dqmSeq(args,'')
56  options = Options()
57  options.__dict__.update(defaultOptions.__dict__)
58  options.scenario = self.cbSc
59  if ('nThreads' in args) :
60  options.nThreads=args['nThreads']
61 
62  miniAODStep = ''
63  nanoAODStep = ''
64  if not 'customs' in args:
65  args['customs']= []
66 
67  if 'outputs' in args:
68  print(args['outputs'])
69  for a in args['outputs']:
70  if a['dataTier'] == 'MINIAOD':
71  miniAODStep = ',PAT'
72  if a['dataTier'] in ['NANOAOD', 'NANOEDMAOD']:
73  nanoAODStep = ',NANO'
74  if "nanoFlavours" in args:
75  nanoAODStep += nanoFlavours(args['nanoFlavours'])
76  args['customs'].append('PhysicsTools/NanoAOD/nano_cff.nanoL1TrigObjCustomize')
77 
78  self._checkRepackedFlag(options, **args)
79 
80  if 'customs' in args:
81  options.customisation_file=args['customs']
82 
83  eiStep=''
84 
85  options.step = 'RAW2DIGI,L1Reco,RECO'
86  options.step += self.recoSeq + eiStep + step + PhysicsSkimStep
87  options.step += miniAODStep + nanoAODStep
88  options.step += ',DQM' + dqmStep + ',ENDJOB'
89 
90  dictIO(options,args)
91  options.conditions = gtNameAndConnect(globalTag, args)
92 
93  process = cms.Process('RECO', cms.ModifierChain(self.eras, self.promptModifiers) )
94  cb = ConfigBuilder(options, process = process, with_output = True)
95 
96  # Input source
97  process.source = cms.Source("PoolSource",
98  fileNames = cms.untracked.vstring()
99  )
100  cb.prepare()
101 
102  addMonitoring(process)
103 
104  return process
105 
106 
def stepSKIMPRODUCER(PhysicsSkims)
Definition: Utils.py:24
def dqmSeq(args, default)
Definition: Utils.py:129
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:149
def nanoFlavours(flavours)
Definition: Utils.py:135
def dictIO(options, args)
Definition: Utils.py:121
def addMonitoring(process)
Definition: Utils.py:38
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def stepALCAPRODUCER(skims)
Definition: Utils.py:9

◆ skimming()

def Reco.Reco.skimming (   self,
  skims,
  globalTag,
  options 
)
_skimming_

skimming method overload for the prompt skiming

Definition at line 335 of file Reco.py.

References __class__< T >.__class__(), Impl.cosmics.cosmics.cbSc, Impl.hcalnzs.hcalnzs.cbSc, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.cbSc, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.cbSc, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.cbSc, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.cbSc, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.cbSc, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.cbSc, Impl.trackingOnly.trackingOnly.cbSc, Impl.HeavyIons.HeavyIons.cbSc, Impl.pp.pp.cbSc, Impl.ppEra_Run3_2024.ppEra_Run3_2024.cbSc, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.cbSc, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.cbSc, Reco.Reco.cbSc, Impl.ppEra_Run2_2018.ppEra_Run2_2018.cbSc, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.cbSc, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.cbSc, Impl.ppEra_Run2_2016.ppEra_Run2_2016.cbSc, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.cbSc, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.cbSc, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.cbSc, Impl.ppEra_Run3.ppEra_Run3.cbSc, Impl.ppEra_Run3_2023.ppEra_Run3_2023.cbSc, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.cbSc, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.cbSc, Impl.ppEra_Run2_2017.ppEra_Run2_2017.cbSc, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.cbSc, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.cbSc, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.cbSc, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.cbSc, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.cbSc, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.cbSc, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.cbSc, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.cbSc, Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.ppEra_Run3_2024.ppEra_Run3_2024.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.AlCaPPS_Run3.AlCaPPS_Run3.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3_2023.ppEra_Run3_2023.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run3_pp_on_PbPb.trackingOnlyEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Utils.gtNameAndConnect(), and join().

335  def skimming(self, skims, globalTag,**options):
336  """
337  _skimming_
338 
339  skimming method overload for the prompt skiming
340 
341  """
342  options = defaultOptions
343  options.scenario = self.cbSc if hasattr(self,'cbSc') else self.__class__.__name__
344  options.step = "SKIM:"+('+'.join(skims))
345  options.name = "SKIM"
346  options.conditions = gtNameAndConnect(globalTag, args)
347  process = cms.Process("SKIM", self.eras)
348  process.source = cms.Source("PoolSource")
349 
350  if 'customs' in args:
351  options.customisation_file=args['customs']
352 
353  configBuilder = ConfigBuilder(options, process = process)
354  configBuilder.prepare()
355 
356  return process
357 
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:149
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

◆ visualizationProcessing()

def Reco.Reco.visualizationProcessing (   self,
  globalTag,
  args 
)
_visualizationProcessing_

Definition at line 155 of file Reco.py.

References Reco.Reco._checkRepackedFlag(), Impl.cosmics.cosmics.cbSc, Impl.hcalnzs.hcalnzs.cbSc, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.cbSc, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.cbSc, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.cbSc, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.cbSc, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.cbSc, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.cbSc, Impl.trackingOnly.trackingOnly.cbSc, Impl.HeavyIons.HeavyIons.cbSc, Impl.pp.pp.cbSc, Impl.ppEra_Run3_2024.ppEra_Run3_2024.cbSc, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.cbSc, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.cbSc, Reco.Reco.cbSc, Impl.ppEra_Run2_2018.ppEra_Run2_2018.cbSc, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.cbSc, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.cbSc, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.cbSc, Impl.ppEra_Run2_2016.ppEra_Run2_2016.cbSc, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.cbSc, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.cbSc, Impl.ppEra_Run3.ppEra_Run3.cbSc, Impl.ppEra_Run3_2023.ppEra_Run3_2023.cbSc, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.cbSc, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.cbSc, Impl.ppEra_Run2_2017.ppEra_Run2_2017.cbSc, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.cbSc, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.cbSc, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.cbSc, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.cbSc, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.cbSc, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.cbSc, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.cbSc, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.cbSc, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.cbSc, Utils.dictIO(), Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.ppEra_Run3_2024.ppEra_Run3_2024.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.AlCaPPS_Run3.AlCaPPS_Run3.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3_2023.ppEra_Run3_2023.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.ppEra_Run3_pp_on_PbPb_approxSiStripClusters.eras, Impl.ppEra_Run3_pp_on_PbPb.ppEra_Run3_pp_on_PbPb.eras, Impl.trackingOnlyEra_Run3_pp_on_PbPb.trackingOnlyEra_Run3_pp_on_PbPb.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023.eras, Impl.ppEra_Run3_2023_repacked.ppEra_Run3_2023_repacked.eras, Impl.ppEra_Run3_pp_on_PbPb_2023.ppEra_Run3_pp_on_PbPb_2023.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Scenario.Scenario.eras, options.HLTProcessOptions.eras, Utils.gtNameAndConnect(), print(), Reco.Reco.visModifiers, Impl.HeavyIons.HeavyIons.visModifiers, and Impl.pp.pp.visModifiers.

155  def visualizationProcessing(self, globalTag, **args):
156  """
157  _visualizationProcessing_
158 
159  """
160 
161  options = Options()
162  options.__dict__.update(defaultOptions.__dict__)
163  options.scenario = self.cbSc
164  # FIXME: do we need L1Reco here?
165  options.step =''
166  if 'preFilter' in args:
167  options.step +='FILTER:'+args['preFilter']+','
168 
169  eiStep=''
170 
171  if 'beamSplashRun' in args:
172  options.step += 'RAW2DIGI,L1Reco,RECO'+args['beamSplashRun']+',ENDJOB'
173  print("Using RECO%s step in visualizationProcessing" % args['beamSplashRun'])
174  else :
175  options.step += 'RAW2DIGI,L1Reco,RECO'+eiStep+',ENDJOB'
176 
177 
178 
179  dictIO(options,args)
180  options.conditions = gtNameAndConnect(globalTag, args)
181  options.timeoutOutput = True
182  # FIXME: maybe can go...maybe not
183  options.filein = 'tobeoverwritten.xyz'
184 
185  if 'inputSource' in args:
186  options.filetype = args['inputSource']
187  else:
188  # this is the default as this is what is needed on the OnlineCluster
189  options.filetype = 'DQMDAQ'
190 
191  print("Using %s source"%options.filetype)
192 
193  process = cms.Process('RECO', cms.ModifierChain(self.eras, self.visModifiers) )
194 
195  if 'customs' in args:
196  options.customisation_file=args['customs']
197 
198  self._checkRepackedFlag(options, **args)
199 
200  cb = ConfigBuilder(options, process = process, with_output = True, with_input = True)
201 
202  cb.prepare()
203 
204 
205 
206 
207  # FIXME: not sure abou this one...drop for the moment
208  # addMonitoring(process)
209 
210  return process
211 
212 
213 
214 
def gtNameAndConnect(globalTag, args)
Definition: Utils.py:149
def dictIO(options, args)
Definition: Utils.py:121
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

Member Data Documentation

◆ cbSc

Reco.Reco.cbSc

◆ expressModifiers

Reco.Reco.expressModifiers

Definition at line 24 of file Reco.py.

Referenced by Reco.Reco.expressProcessing().

◆ promptModifiers

Reco.Reco.promptModifiers

Definition at line 23 of file Reco.py.

Referenced by Reco.Reco.promptReco().

◆ recoSeq

Reco.Reco.recoSeq

Definition at line 21 of file Reco.py.

Referenced by Reco.Reco.expressProcessing(), and Reco.Reco.promptReco().

◆ visModifiers

Reco.Reco.visModifiers

Definition at line 25 of file Reco.py.

Referenced by Reco.Reco.visualizationProcessing().