CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HeavyIonsRun2.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 """
3 _HeavyIonsRun2_
4 
5 Scenario supporting heavy ions collisions
6 
7 """
8 
9 import os
10 import sys
11 
12 from Configuration.DataProcessing.Reco import Reco
13 import FWCore.ParameterSet.Config as cms
14 
16  def __init__(self):
17  self.recoSeq=''
18  self.cbSc='HeavyIons'
19  self.promptCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2PromptHI'
20  self.expressCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2ExpressHI'
21  self.visCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2ExpressHI'
22  """
23  _HeavyIonsRun2_
24 
25  Implement configuration building for data processing for Heavy Ions
26  collision data taking for Run2
27 
28  """
29 
30 
31  def promptReco(self, globalTag, **args):
32  """
33  _promptReco_
34 
35  Heavy ions collision data taking prompt reco
36 
37  """
38  if not 'skims' in args:
39  args['skims']=['@allForPrompt']
40 
41  customsFunction = self.promptCustoms
42  if not 'customs' in args:
43  args['customs']=[ customsFunction ]
44  else:
45  args['customs'].append(customsFunction)
46 
47  process = Reco.promptReco(self,globalTag, **args)
48 
49  return process
50 
51 
52  def expressProcessing(self, globalTag, **args):
53  """
54  _expressProcessing_
55 
56  Heavy ions collision data taking express processing
57 
58  """
59  if not 'skims' in args:
60  args['skims']=['@allForExpress']
61 
62  customsFunction = self.expressCustoms
63  if not 'customs' in args:
64  args['customs']=[ customsFunction ]
65  else:
66  args['customs'].append( customsFunction )
67 
68  process = Reco.expressProcessing(self,globalTag, **args)
69 
70  return process
71 
72  def visualizationProcessing(self, globalTag, **args):
73  """
74  _visualizationProcessing_
75 
76  Heavy ions collision data taking visualization processing
77 
78  """
79  customsFunction = self.visCustoms
80  if not 'customs' in args:
81  args['customs']=[ customsFunction ]
82  else:
83  args['customs'].append( customsFunction )
84 
85  process = Reco.visualizationProcessing(self,globalTag, **args)
86 
87  return process
88 
89  def alcaHarvesting(self, globalTag, datasetName, **args):
90  """
91  _alcaHarvesting_
92 
93  Heavy ions collisions data taking AlCa Harvesting
94 
95  """
96 
97 
98  if not 'skims' in args and not 'alcapromptdataset' in args:
99  args['skims']=['BeamSpotByRun',
100  'BeamSpotByLumi',
101  'SiStripQuality']
102 
103  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
104 
Definition: Reco.py:1