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

Public Member Functions

def dqmHarvesting
 
def promptReco
 

Detailed Description

_DataScouting_

Implement configuration building for data processing for proton
collision data taking

Definition at line 18 of file DataScouting.py.

Member Function Documentation

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

Proton collisions data taking DQM Harvesting

Definition at line 54 of file DataScouting.py.

References Utils.dqmIOSource(), Utils.dqmSeq(), Utils.gtNameAndConnect(), and Utils.harvestingMode().

54 
55  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
56  """
57  _dqmHarvesting_
58 
59  Proton collisions data taking DQM Harvesting
60 
61  """
62  options = defaultOptions
63  options.scenario = 'pp'
64  options.step = "HARVESTING"+dqmSeq(args,':DQMOffline')
65  options.name = "EDMtoMEConvert"
66  options.conditions = gtNameAndConnect(globalTag, args)
67 
68  process = cms.Process("HARVESTING")
69  process.source = dqmIOSource(args)
70  configBuilder = ConfigBuilder(options, process = process)
71  configBuilder.prepare()
72 
73  harvestingMode(process,datasetName,args,rANDl=False)
74  return process
def dqmSeq
Definition: Utils.py:131
def gtNameAndConnect
Definition: Utils.py:137
def dqmIOSource
Definition: Utils.py:103
def harvestingMode
Definition: Utils.py:114
def Impl.DataScouting.DataScouting.promptReco (   self,
  globalTag,
  args 
)
_promptReco_

Collision data, data scouting (dst stream).
This method provides the scheleton process for the dataScouting.
dpiparo 17-7-2012
I follow the structure of the package.

Definition at line 27 of file DataScouting.py.

References Utils.dictIO(), and Utils.gtNameAndConnect().

27 
28  def promptReco(self, globalTag, **args):
29  """
30  _promptReco_
31 
32  Collision data, data scouting (dst stream).
33  This method provides the scheleton process for the dataScouting.
34  dpiparo 17-7-2012
35  I follow the structure of the package.
36  """
37  options = Options()
38  options.scenario = 'pp'
39  options.__dict__.update(defaultOptions.__dict__)
40  options.step = 'DQM:DQM/DataScouting/dataScouting_cff.dataScoutingDQMSequence,ENDJOB'
41  dictIO(options,args)
42  options.conditions = gtNameAndConnect(globalTag, args)
43 
44  process = cms.Process('DataScouting')
45  cb = ConfigBuilder(options, process = process, with_output = True)
46 
47  # Input source
48  process.source = cms.Source("PoolSource",
49  fileNames = cms.untracked.vstring()
50  )
51  cb.prepare()
52 
53  return process
def gtNameAndConnect
Definition: Utils.py:137
def dictIO
Definition: Utils.py:123