CMS 3D CMS Logo

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

Public Member Functions

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

Detailed Description

Definition at line 15 of file prodmc.py.

Constructor & Destructor Documentation

def Impl.prodmc.prodmc.__init__ (   self)

Definition at line 16 of file prodmc.py.

16  def __init__(self):
17  Scenario.__init__(self)
def __init__(self)
Definition: prodmc.py:16

Member Function Documentation

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

DQM Harvesting for MC production

Definition at line 25 of file prodmc.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.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Scenario.Scenario.eras, and options.HLTProcessOptions.eras.

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