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 19 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 28 of file relvalgen.py.

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