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

Public Member Functions

def alcaSkim
 
def dqmHarvesting
 
def promptReco
 
def skimsIfNotGiven
 

Detailed Description

_AlCa_

Implement configuration building for data processing for proton
collision data taking

Definition at line 16 of file AlCa.py.

Member Function Documentation

def Impl.AlCa.AlCa.alcaSkim (   self,
  skims,
  args 
)
_alcaSkim_

AlcaReco processing & skims for proton collisions

Definition at line 51 of file AlCa.py.

References join().

51 
52  def alcaSkim(self, skims, **args):
53  """
54  _alcaSkim_
55 
56  AlcaReco processing & skims for proton collisions
57 
58  """
59  options = Options()
60  options.__dict__.update(defaultOptions.__dict__)
61  options.scenario = "pp"
62  options.step = "ALCAOUTPUT:"+('+'.join(skims))
63  options.conditions = args['globaltag'] if 'globaltag' in args else 'None'
64  options.triggerResultsProcess = 'RECO'
65 
66  process = cms.Process('ALCA')
67  cb = ConfigBuilder(options, process = process)
68 
69  # Input source
70  process.source = cms.Source(
71  "PoolSource",
72  fileNames = cms.untracked.vstring()
73  )
74 
75  cb.prepare()
76 
77  return process
78 
def alcaSkim
Definition: AlCa.py:51
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def Impl.AlCa.AlCa.dqmHarvesting (   self,
  datasetName,
  runNumber,
  globalTag,
  args 
)
_dqmHarvesting_

Proton collisions data taking DQM Harvesting

Definition at line 79 of file AlCa.py.

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

79 
80  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
81  """
82  _dqmHarvesting_
83 
84  Proton collisions data taking DQM Harvesting
85 
86  """
87  options = defaultOptions
88  options.scenario = "pp"
89  options.step = "HARVESTING:alcaHarvesting"
90  options.name = "EDMtoMEConvert"
91  options.conditions = globalTag
92 
93  process = cms.Process("HARVESTING")
94  process.source = dqmIOSource(args)
95  configBuilder = ConfigBuilder(options, process = process)
96  configBuilder.prepare()
97 
98  #
99  # customise process for particular job
100  #
101  #process.source.processingMode = cms.untracked.string('RunsAndLumis')
102  #process.source.fileNames = cms.untracked(cms.vstring())
103  #process.maxEvents.input = -1
104  #process.dqmSaver.workflow = datasetName
105  #process.dqmSaver.saveByLumiSection = 1
106  #if args.has_key('referenceFile') and args.get('referenceFile', ''):
107  # process.DQMStore.referenceFileName = \
108  # cms.untracked.string(args['referenceFile'])
109  harvestingMode(process,datasetName,args)
110 
111  return process
def dqmHarvesting
Definition: AlCa.py:79
def dqmIOSource
Definition: Utils.py:88
def harvestingMode
Definition: Utils.py:99
def Impl.AlCa.AlCa.promptReco (   self,
  globalTag,
  args 
)

Definition at line 29 of file AlCa.py.

References Utils.dictIO(), Impl.AlCaPhiSymEcal.AlCaPhiSymEcal.skims, Impl.AlCaP0.AlCaP0.skims, Impl.AlCaTestEnable.AlCaTestEnable.skims, Impl.AlCaLumiPixels.AlCaLumiPixels.skims, and Utils.stepALCAPRODUCER().

29 
30  def promptReco(self, globalTag, **args):
31  if not 'skims' in args:
32  args['skims']=self.skims
33  step = stepALCAPRODUCER(args['skims'])
34  options = Options()
35  options.__dict__.update(defaultOptions.__dict__)
36  options.scenario = "pp"
37  options.step = step
38  dictIO(options,args)
39  options.conditions = globalTag
40 
41  process = cms.Process('RECO')
42  cb = ConfigBuilder(options, process = process, with_output = True)
43 
44  # Input source
45  process.source = cms.Source("PoolSource",
46  fileNames = cms.untracked.vstring()
47  )
48  cb.prepare()
49 
50  return process
def promptReco
Definition: AlCa.py:29
def stepALCAPRODUCER
Definition: Utils.py:9
def dictIO
Definition: Utils.py:108
def Impl.AlCa.AlCa.skimsIfNotGiven (   self,
  args,
  sl 
)

Definition at line 25 of file AlCa.py.

25 
26  def skimsIfNotGiven(self,args,sl):
27  if not 'skims' in args:
28  args['skims']=sl
def skimsIfNotGiven
Definition: AlCa.py:25