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

Public Member Functions

def alcaSkim
 
def dqmHarvesting
 
def expressProcessing
 
def promptReco
 

Detailed Description

_AlCaPhiSymEcal_

Implement configuration building for data processing for proton
collision data taking

Definition at line 21 of file AlCaPhiSymEcal.py.

Member Function Documentation

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

AlcaReco processing & skims for proton collisions

Definition at line 109 of file AlCaPhiSymEcal.py.

110  def alcaSkim(self, skims, **args):
111  """
112  _alcaSkim_
113 
114  AlcaReco processing & skims for proton collisions
115 
116  """
117 
118  globalTag = None
119  if 'globaltag' in args:
120  globalTag = args['globaltag']
121 
122  step = "ALCAOUTPUT:"
123  for skim in skims:
124  step += (skim+"+")
125  options = Options()
126  options.__dict__.update(defaultOptions.__dict__)
127  options.scenario = "pp"
128  options.step = step.rstrip('+')
129  options.isMC = False
130  options.isData = True
131  options.beamspot = None
132  options.eventcontent = None
133  options.relval = None
134  if globalTag != None :
135  options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
136  options.triggerResultsProcess = 'RECO'
137 
138  process = cms.Process('ALCA')
139  cb = ConfigBuilder(options, process = process)
140 
141  # Input source
142  process.source = cms.Source(
143  "PoolSource",
144  fileNames = cms.untracked.vstring()
145  )
146 
147  cb.prepare()
148 
149  return process
150 
def Impl.AlCaPhiSymEcal.AlCaPhiSymEcal.dqmHarvesting (   self,
  datasetName,
  runNumber,
  globalTag,
  args 
)
_dqmHarvesting_

Proton collisions data taking DQM Harvesting

Definition at line 151 of file AlCaPhiSymEcal.py.

152  def dqmHarvesting(self, datasetName, runNumber, globalTag, **args):
153  """
154  _dqmHarvesting_
155 
156  Proton collisions data taking DQM Harvesting
157 
158  """
159  options = defaultOptions
160  options.scenario = "pp"
161  options.step = "HARVESTING:alcaHarvesting"
162  options.isMC = False
163  options.isData = True
164  options.beamspot = None
165  options.eventcontent = None
166  options.name = "EDMtoMEConvert"
167  options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
168  options.arguments = ""
169  options.evt_type = ""
170  options.filein = []
171 
172  process = cms.Process("HARVESTING")
173  process.source = cms.Source("PoolSource")
174  configBuilder = ConfigBuilder(options, process = process)
175  configBuilder.prepare()
176 
177  #
178  # customise process for particular job
179  #
180  process.source.processingMode = cms.untracked.string('RunsAndLumis')
181  process.source.fileNames = cms.untracked(cms.vstring())
182  process.maxEvents.input = -1
183  process.dqmSaver.workflow = datasetName
184  process.dqmSaver.saveByLumiSection = 1
185  if args.has_key('referenceFile') and args.get('referenceFile', ''):
186  process.DQMStore.referenceFileName = \
187  cms.untracked.string(args['referenceFile'])
188 
189  return process
def Impl.AlCaPhiSymEcal.AlCaPhiSymEcal.expressProcessing (   self,
  globalTag,
  writeTiers = [],
  args 
)
_expressProcessing_

Proton collision data taking express processing

Definition at line 70 of file AlCaPhiSymEcal.py.

References RecoTLR.customisePrompt(), join(), and Utils.stepALCAPRODUCER().

70 
71  def expressProcessing(self, globalTag, writeTiers = [], **args):
72  """
73  _expressProcessing_
74 
75  Proton collision data taking express processing
76 
77  """
78 
79  skims = ['EcalCalPi0Calib',
80  'EcalCalEtaCalib']
81  step = stepALCAPRODUCER(skims)
82  options = Options()
83  options.__dict__.update(defaultOptions.__dict__)
84  options.scenario = "pp"
85  options.step = step
86  options.isMC = False
87  options.isData = True
88  options.beamspot = None
89  options.eventcontent = ','.join(writeTiers)
90  options.datatier = ','.join(writeTiers)
91  options.magField = 'AutoFromDBCurrent'
92  options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
93  options.relval = False
94 
95  process = cms.Process('RECO')
96  cb = ConfigBuilder(options, process = process, with_output = True)
97 
98  # Input source
99  process.source = cms.Source("PoolSource",
100  fileNames = cms.untracked.vstring()
101  )
102  cb.prepare()
103 
104  #add the former top level patches here
105  customisePrompt(process)
106 
107  return process
108 
def stepALCAPRODUCER
Definition: Utils.py:9
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def customisePrompt
Definition: RecoTLR.py:74
def Impl.AlCaPhiSymEcal.AlCaPhiSymEcal.promptReco (   self,
  globalTag,
  writeTiers = ['ALCARECO'],
  args 
)
_promptReco_

Proton collision data taking prompt reco

Definition at line 31 of file AlCaPhiSymEcal.py.

References join(), and Utils.stepALCAPRODUCER().

31 
32  def promptReco(self, globalTag, writeTiers = ['ALCARECO'], **args):
33  """
34  _promptReco_
35 
36  Proton collision data taking prompt reco
37 
38  """
39 
40  skims = ['EcalCalPhiSym']
41  step = stepALCAPRODUCER(skims)
42  options = Options()
43  options.__dict__.update(defaultOptions.__dict__)
44  options.scenario = "pp"
45  options.step = step
46  options.isMC = False
47  options.isData = True
48  options.beamspot = None
49  options.eventcontent = ','.join(writeTiers)
50  options.datatier = ','.join(writeTiers)
51  options.magField = 'AutoFromDBCurrent'
52  options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
53  options.relval = False
54 
55  process = cms.Process('RECO')
56  cb = ConfigBuilder(options, process = process, with_output = True)
57 
58  # Input source
59  process.source = cms.Source("PoolSource",
60  fileNames = cms.untracked.vstring()
61  )
62  cb.prepare()
63 
64  #add the former top level patches here
65  # customisePrompt(process)
66 
67 
68  return process
69 
def stepALCAPRODUCER
Definition: Utils.py:9
static std::string join(char **cmd)
Definition: RemoteFile.cc:18