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

Public Member Functions

def alcaSkim
 
def dqmHarvesting
 
def expressProcessing
 
def promptReco
 
def skimming
 

Detailed Description

_Test_

Test Scenario

Definition at line 15 of file Test.py.

Member Function Documentation

def Impl.Test.Test.alcaSkim (   self,
  skims 
)
_alcaSkim_

Returns skeleton process object

Definition at line 44 of file Test.py.

44 
45  def alcaSkim(self, skims):
46  """
47  _alcaSkim_
48 
49  Returns skeleton process object
50 
51  """
52  return cms.Process("ALCARECO")
53 
def alcaSkim
Definition: Test.py:44
def Impl.Test.Test.dqmHarvesting (   self,
  datasetName,
  runNumber,
  globalTag,
  args 
)
_dqmHarvesting_

build a DQM Harvesting configuration

this method can be used to test an extra scenario, all the 
ConfigBuilder options can be overwritten by using **args. This will be
useful for testing with real jobs.

Arguments:

datasetName - aka workflow name for DQMServer, this is the name of the
dataset containing the harvested run
runNumber - The run being harvested
globalTag - The global tag being used
inputFiles - The list of LFNs being harvested

Definition at line 54 of file Test.py.

54 
55  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
56  """
57  _dqmHarvesting_
58 
59  build a DQM Harvesting configuration
60 
61  this method can be used to test an extra scenario, all the
62  ConfigBuilder options can be overwritten by using **args. This will be
63  useful for testing with real jobs.
64 
65  Arguments:
66 
67  datasetName - aka workflow name for DQMServer, this is the name of the
68  dataset containing the harvested run
69  runNumber - The run being harvested
70  globalTag - The global tag being used
71  inputFiles - The list of LFNs being harvested
72 
73  """
74  options = defaultOptions
75  options.scenario = "cosmics"
76  options.step = "HARVESTING:dqmHarvesting"
77  options.isMC = False
78  options.isData = True
79  options.beamspot = None
80  options.eventcontent = None
81  options.name = "EDMtoMEConvert"
82  options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
83  options.arguments = ""
84  options.evt_type = ""
85  options.filein = []
86 
87  options.__dict__.update(args)
88 
89  process = cms.Process("HARVESTING")
90  process.source = cms.Source("PoolSource")
91  configBuilder = ConfigBuilder(options, process = process)
92  configBuilder.prepare()
93 
94  #
95  # customise process for particular job
96  #
97  process.source.processingMode = cms.untracked.string('RunsAndLumis')
98  process.source.fileNames = cms.untracked(cms.vstring())
99  process.maxEvents.input = -1
100  process.dqmSaver.workflow = datasetName
101  if args.has_key('saveByLumiSection') and \
102  args.get('saveByLumiSection', ''):
103  process.dqmSaver.saveByLumiSection = int(args['saveByLumiSection'])
104  if args.has_key('referenceFile') and args.get('referenceFile', ''):
105  process.DQMStore.referenceFileName = \
106  cms.untracked.string(args['referenceFile'])
107 
108  return process
109 
def dqmHarvesting
Definition: Test.py:54
def Impl.Test.Test.expressProcessing (   self,
  globalTag 
)
_expressProcessing_

Returns skeleton process object

Definition at line 34 of file Test.py.

34 
35  def expressProcessing(self, globalTag):
36  """
37  _expressProcessing_
38 
39  Returns skeleton process object
40 
41  """
42  return cms.Process("Express")
43 
def expressProcessing
Definition: Test.py:34
def Impl.Test.Test.promptReco (   self,
  globalTag 
)
_promptReco_

Returns skeleton process object

Definition at line 24 of file Test.py.

24 
25  def promptReco(self, globalTag):
26  """
27  _promptReco_
28 
29  Returns skeleton process object
30 
31  """
32  return cms.Process("RECO")
33 
def promptReco
Definition: Test.py:24
def Impl.Test.Test.skimming (   self,
  skims 
)
_skimming_

Returns skeleton process object

Definition at line 110 of file Test.py.

111  def skimming(self, *skims):
112  """
113  _skimming_
114 
115  Returns skeleton process object
116 
117  """
118  return cms.Process("Skimming")
def skimming
Definition: Test.py:110