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 19 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 54 of file AlCa.py.

References join().

54 
55  def alcaSkim(self, skims, **args):
56  """
57  _alcaSkim_
58 
59  AlcaReco processing & skims for proton collisions
60 
61  """
62  options = Options()
63  options.__dict__.update(defaultOptions.__dict__)
64  options.scenario = "pp"
65  options.step = "ALCAOUTPUT:"+('+'.join(skims))
66  options.conditions = args['globaltag'] if 'globaltag' in args else 'None'
67  options.triggerResultsProcess = 'RECO'
68 
69  process = cms.Process('ALCA')
70  cb = ConfigBuilder(options, process = process)
71 
72  # Input source
73  process.source = cms.Source(
74  "PoolSource",
75  fileNames = cms.untracked.vstring()
76  )
77 
78  cb.prepare()
79 
80  return process
81 
def alcaSkim
Definition: AlCa.py:54
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 82 of file AlCa.py.

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

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

Definition at line 32 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().

32 
33  def promptReco(self, globalTag, **args):
34  if not 'skims' in args:
35  args['skims']=self.skims
36  step = stepALCAPRODUCER(args['skims'])
37  options = Options()
38  options.__dict__.update(defaultOptions.__dict__)
39  options.scenario = "pp"
40  options.step = step
41  dictIO(options,args)
42  options.conditions = globalTag
43 
44  process = cms.Process('RECO')
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 promptReco
Definition: AlCa.py:32
def stepALCAPRODUCER
Definition: Utils.py:9
def dictIO
Definition: Utils.py:108
def Impl.AlCa.AlCa.skimsIfNotGiven (   self,
  args,
  sl 
)

Definition at line 28 of file AlCa.py.

28 
29  def skimsIfNotGiven(self,args,sl):
30  if not 'skims' in args:
31  args['skims']=sl
def skimsIfNotGiven
Definition: AlCa.py:28