CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
Impl.relvalmcfs.relvalmcfs Class Reference
Inheritance diagram for Impl.relvalmcfs.relvalmcfs:

Public Member Functions

def __init__
 
def dqmHarvesting
 

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 
18  def __init__(self):
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_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.pplowpuEra_Run2_2016.pplowpuEra_Run2_2016.eras, and Scenario.Scenario.eras.

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