CMS 3D CMS Logo

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

Public Member Functions

def __init__
 
def dqmHarvesting
 

Detailed Description

Definition at line 15 of file relvalgen.py.

Constructor & Destructor Documentation

def Impl.relvalgen.relvalgen.__init__ (   self)

Definition at line 16 of file relvalgen.py.

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

Member Function Documentation

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

DQM Harvesting for RelVal GEN production

Definition at line 26 of file relvalgen.py.

References Impl.AlCaLumiPixels.AlCaLumiPixels.eras, Impl.AlCaLumiPixels_Run3.AlCaLumiPixels_Run3.eras, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run3.cosmicsEra_Run3.eras, Impl.cosmicsEra_Run2_2017.cosmicsEra_Run2_2017.eras, Impl.cosmicsHybridEra_Run2_2018.cosmicsHybridEra_Run2_2018.eras, Impl.cosmicsEra_Run2_2018.cosmicsEra_Run2_2018.eras, Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.hcalnzsEra_Run3.hcalnzsEra_Run3.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2017.hcalnzsEra_Run2_2017.eras, Impl.hcalnzsEra_Run2_2018.hcalnzsEra_Run2_2018.eras, Impl.hcalnzsEra_Run2_2018_highBetaStar.hcalnzsEra_Run2_2018_highBetaStar.eras, Impl.HeavyIonsEra_Run2_2018.HeavyIonsEra_Run2_2018.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run2_2017.ppEra_Run2_2017.eras, Impl.ppEra_Run2_2016_pA.ppEra_Run2_2016_pA.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.ppEra_Run3.ppEra_Run3.eras, Impl.ppEra_Run2_2018_highBetaStar.ppEra_Run2_2018_highBetaStar.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.ppEra_Run2_2017_ppRef.ppEra_Run2_2017_ppRef.eras, Impl.ppEra_Run2_2017_trackingLowPU.ppEra_Run2_2017_trackingLowPU.eras, Impl.ppEra_Run2_2018.ppEra_Run2_2018.eras, Impl.trackingOnlyEra_Run2_2018_pp_on_AA.trackingOnlyEra_Run2_2018_pp_on_AA.eras, Impl.ppEra_Run2_2018_pp_on_AA.ppEra_Run2_2018_pp_on_AA.eras, Impl.ppEra_Run2_2017_pp_on_XeXe.ppEra_Run2_2017_pp_on_XeXe.eras, Impl.trackingOnlyEra_Run2_2018_highBetaStar.trackingOnlyEra_Run2_2018_highBetaStar.eras, Impl.trackingOnlyEra_Run2_2018.trackingOnlyEra_Run2_2018.eras, Impl.trackingOnlyEra_Run2_2017.trackingOnlyEra_Run2_2017.eras, Impl.trackingOnlyEra_Run3.trackingOnlyEra_Run3.eras, Impl.ppEra_Run2_2017_trackingOnly.ppEra_Run2_2017_trackingOnly.eras, Scenario.Scenario.eras, and options.HLTProcessOptions.eras.

26 
27  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
28  """
29  _dqmHarvesting_
30 
31  DQM Harvesting for RelVal GEN production
32 
33  """
34  options = defaultOptions
35  options.scenario = "pp"
36  options.step = "HARVESTING:genHarvesting"
37  options.isMC = True
38  options.isData = False
39  options.beamspot = None
40  options.eventcontent = None
41  options.name = "EDMtoMEConvert"
42  options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
43  options.arguments = ""
44  options.evt_type = ""
45  options.filein = []
46  options.harvesting = "AtJobEnd"
47 
48  process = cms.Process("HARVESTING", self.eras)
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 
61  return process