test
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 __init__
 
def dqmHarvesting
 
def promptReco
 

Detailed Description

Definition at line 18 of file DataScouting.py.

Constructor & Destructor Documentation

def Impl.DataScouting.DataScouting.__init__ (   self)

Definition at line 19 of file DataScouting.py.

19 
20  def __init__(self):
Scenario.__init__(self)

Member Function Documentation

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

Proton collisions data taking DQM Harvesting

Definition at line 56 of file DataScouting.py.

References Utils.dqmIOSource(), Utils.dqmSeq(), Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Impl.pplowpuEra_Run2_2016.pplowpuEra_Run2_2016.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Scenario.Scenario.eras, Utils.gtNameAndConnect(), and Utils.harvestingMode().

56 
57  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
58  """
59  _dqmHarvesting_
60 
61  Proton collisions data taking DQM Harvesting
62 
63  """
64  options = defaultOptions
65  options.scenario = 'pp'
66  options.step = "HARVESTING"+dqmSeq(args,':DQMOffline')
67  options.name = "EDMtoMEConvert"
68  options.conditions = gtNameAndConnect(globalTag, args)
69 
70  process = cms.Process("HARVESTING", self.eras)
71  process.source = dqmIOSource(args)
72  configBuilder = ConfigBuilder(options, process = process)
73  configBuilder.prepare()
74 
75  harvestingMode(process,datasetName,args,rANDl=False)
76  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 29 of file DataScouting.py.

References Utils.dictIO(), Impl.cosmicsEra_Run2_25ns.cosmicsEra_Run2_25ns.eras, Impl.cosmicsEra_Run2_50ns.cosmicsEra_Run2_50ns.eras, Impl.cosmicsEra_Run2_2016.cosmicsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_2016.hcalnzsEra_Run2_2016.eras, Impl.hcalnzsEra_Run2_25ns.hcalnzsEra_Run2_25ns.eras, Impl.HeavyIonsEra_Run2_HI.HeavyIonsEra_Run2_HI.eras, Impl.ppEra_Run2_2016.ppEra_Run2_2016.eras, Impl.ppEra_Run2_25ns.ppEra_Run2_25ns.eras, Impl.pplowpuEra_Run2_2016.pplowpuEra_Run2_2016.eras, Impl.ppEra_Run2_2016_trackingLowPU.ppEra_Run2_2016_trackingLowPU.eras, Impl.ppEra_Run2_50ns.ppEra_Run2_50ns.eras, Scenario.Scenario.eras, and Utils.gtNameAndConnect().

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