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.relvalgen.relvalgen Class Reference
Inheritance diagram for Impl.relvalgen.relvalgen:

Public Member Functions

def dqmHarvesting
 

Detailed Description

_relvalgen_

Implement configuration building for RelVal GEN production 

Definition at line 15 of file relvalgen.py.

Member Function Documentation

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

DQM Harvesting for RelVal GEN production

Definition at line 24 of file relvalgen.py.

24 
25  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
26  """
27  _dqmHarvesting_
28 
29  DQM Harvesting for RelVal GEN production
30 
31  """
32  options = defaultOptions
33  options.scenario = "pp"
34  options.step = "HARVESTING:genHarvesting"
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  options.harvesting = "AtJobEnd"
45 
46  process = cms.Process("HARVESTING")
47  process.source = cms.Source("PoolSource")
48  configBuilder = ConfigBuilder(options, process = process)
49  configBuilder.prepare()
50 
51  #
52  # customise process for particular job
53  #
54  process.source.processingMode = cms.untracked.string('RunsAndLumis')
55  process.source.fileNames = cms.untracked(cms.vstring())
56  process.maxEvents.input = -1
57  process.dqmSaver.workflow = datasetName
58  if args.has_key('referenceFile') and args.get('referenceFile', ''):
59  process.DQMStore.referenceFileName = \
60  cms.untracked.string(args['referenceFile'])
61 
62  return process