CMS 3D CMS Logo

List of all members | Public Member Functions
Impl.relvalmcfs.relvalmcfs Class Reference
Inheritance diagram for Impl.relvalmcfs.relvalmcfs:

Public Member Functions

def __init__ (self)
 
def dqmHarvesting (self, datasetName, runNumber, globalTag, args)
 

Detailed Description

Definition at line 16 of file relvalmcfs.py.

Constructor & Destructor Documentation

def Impl.relvalmcfs.relvalmcfs.__init__ (   self)

Definition at line 17 of file relvalmcfs.py.

17  def __init__(self):
18  Scenario.__init__(self)

Member Function Documentation

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

DQM Harvesting for RelVal MC production

Definition at line 27 of file relvalmcfs.py.

References Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Scenario.Scenario.eras, and options.HLTProcessOptions.eras.

27  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
28  """
29  _dqmHarvesting_
30 
31  DQM Harvesting for RelVal MC production
32 
33  """
34  options = defaultOptions
35  options.scenario = "pp"
36  options.step = "HARVESTING:validationHarvestingFS"
37  options.isMC = True
38  options.isData = False
39  options.beamspot = None
40  options.name = "EDMtoMEConvert"
41  options.conditions = globalTag
42 
43  process = cms.Process("HARVESTING", self.eras)
44  process.source = cms.Source("PoolSource")
45  configBuilder = ConfigBuilder(options, process = process)
46  configBuilder.prepare()
47 
48  #
49  # customise process for particular job
50  #
51  process.source.processingMode = cms.untracked.string('RunsAndLumis')
52  process.source.fileNames = cms.untracked(cms.vstring())
53  process.maxEvents.input = -1
54  process.dqmSaver.workflow = datasetName
55  if 'referenceFile' in args and args.get('referenceFile', ''):
56  process.DQMStore.referenceFileName = \
57  cms.untracked.string(args['referenceFile'])
58 
59  return process
60 
def dqmHarvesting(self, datasetName, runNumber, globalTag, args)
Definition: relvalmcfs.py:27