CMS 3D CMS Logo

Public Member Functions

Impl::Test::Test Class Reference

Inherits Configuration::DataProcessing::Scenario::Scenario.

List of all members.

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.

00045                              :
00046         """
00047         _alcaSkim_
00048 
00049         Returns skeleton process object
00050 
00051         """
00052         return cms.Process("ALCARECO")
00053         
        
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.

00055                                                                        :
00056         """
00057         _dqmHarvesting_
00058 
00059         build a DQM Harvesting configuration
00060 
00061         this method can be used to test an extra scenario, all the 
00062         ConfigBuilder options can be overwritten by using **args. This will be
00063         useful for testing with real jobs.
00064 
00065         Arguments:
00066         
00067         datasetName - aka workflow name for DQMServer, this is the name of the
00068         dataset containing the harvested run
00069         runNumber - The run being harvested
00070         globalTag - The global tag being used
00071         inputFiles - The list of LFNs being harvested
00072 
00073         """
00074         options = defaultOptions
00075         options.scenario = "cosmics"
00076         options.step = "HARVESTING:dqmHarvesting"
00077         options.isMC = False
00078         options.isData = True
00079         options.beamspot = None
00080         options.eventcontent = None
00081         options.name = "EDMtoMEConvert"
00082         options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
00083         options.arguments = ""
00084         options.evt_type = ""
00085         options.filein = []
00086 
00087         options.__dict__.update(args)
00088  
00089         process = cms.Process("HARVESTING")
00090         process.source = cms.Source("PoolSource")
00091         configBuilder = ConfigBuilder(options, process = process)
00092         configBuilder.prepare()
00093 
00094         #
00095         # customise process for particular job
00096         #
00097         process.source.processingMode = cms.untracked.string('RunsAndLumis')
00098         process.source.fileNames = cms.untracked(cms.vstring())
00099         process.maxEvents.input = -1
00100         process.dqmSaver.workflow = datasetName
00101         if args.has_key('saveByLumiSection') and \
00102                 args.get('saveByLumiSection', ''):
00103             process.dqmSaver.saveByLumiSection = int(args['saveByLumiSection'])
00104         if args.has_key('referenceFile') and args.get('referenceFile', ''):
00105             process.DQMStore.referenceFileName = \
00106                                 cms.untracked.string(args['referenceFile'])
00107 
00108         return process
00109 

def Impl::Test::Test::expressProcessing (   self,
  globalTag 
)
_expressProcessing_

Returns skeleton process object

Definition at line 34 of file Test.py.

00035                                           :
00036         """
00037         _expressProcessing_
00038 
00039         Returns skeleton process object
00040 
00041         """
00042         return cms.Process("Express")
00043 

def Impl::Test::Test::promptReco (   self,
  globalTag 
)
_promptReco_

Returns skeleton process object

Definition at line 24 of file Test.py.

00025                                    :
00026         """
00027         _promptReco_
00028 
00029         Returns skeleton process object
00030 
00031         """
00032         return cms.Process("RECO")
00033 

def Impl::Test::Test::skimming (   self,
  skims 
)
_skimming_

Returns skeleton process object

Definition at line 110 of file Test.py.

00111                               :
00112         """
00113         _skimming_
00114 
00115         Returns skeleton process object
00116 
00117         """
00118         return cms.Process("Skimming")