CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Private Member Functions
Impl.HeavyIonsRun2.HeavyIonsRun2 Class Reference
Inheritance diagram for Impl.HeavyIonsRun2.HeavyIonsRun2:

Public Member Functions

def __init__
 
def alcaHarvesting
 
def expressProcessing
 
def promptReco
 
def visualizationProcessing
 

Public Attributes

 cbSc
 
 expressCustoms
 
 promptCustoms
 
 recoSeq
 
 visCustoms
 

Private Member Functions

def _checkMINIAOD
 
def _setRepackedFlag
 

Detailed Description

Definition at line 15 of file HeavyIonsRun2.py.

Constructor & Destructor Documentation

def Impl.HeavyIonsRun2.HeavyIonsRun2.__init__ (   self)

Definition at line 16 of file HeavyIonsRun2.py.

16 
17  def __init__(self):
18  self.recoSeq=''
19  self.cbSc='HeavyIons'
20  self.promptCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2PromptHI'
21  self.expressCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2ExpressHI'
self.visCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2ExpressHI'

Member Function Documentation

def Impl.HeavyIonsRun2.HeavyIonsRun2._checkMINIAOD (   self,
  args 
)
private

Definition at line 30 of file HeavyIonsRun2.py.

Referenced by Impl.HeavyIonsRun2.HeavyIonsRun2.alcaHarvesting(), Impl.HeavyIonsRun2.HeavyIonsRun2.expressProcessing(), Impl.HeavyIonsRun2.HeavyIonsRun2.promptReco(), and Impl.HeavyIonsRun2.HeavyIonsRun2.visualizationProcessing().

30 
31  def _checkMINIAOD(self,**args):
32  if 'outputs' in args:
33  for a in args['outputs']:
34  if a['dataTier'] == 'MINIAOD':
35  raise RuntimeError("MINIAOD is not supported in HeavyIonsRun2")
36 
def Impl.HeavyIonsRun2.HeavyIonsRun2._setRepackedFlag (   self,
  args 
)
private

Definition at line 37 of file HeavyIonsRun2.py.

Referenced by Impl.HeavyIonsRun2.HeavyIonsRun2.expressProcessing(), Impl.HeavyIonsRun2.HeavyIonsRun2.promptReco(), and Impl.HeavyIonsRun2.HeavyIonsRun2.visualizationProcessing().

37 
38  def _setRepackedFlag(self,args):
39  if not 'repacked' in args:
40  args['repacked']= True
def Impl.HeavyIonsRun2.HeavyIonsRun2.alcaHarvesting (   self,
  globalTag,
  datasetName,
  args 
)
_alcaHarvesting_

Heavy ions collisions data taking AlCa Harvesting

Definition at line 108 of file HeavyIonsRun2.py.

References Impl.HeavyIonsRun2.HeavyIonsRun2._checkMINIAOD().

109  def alcaHarvesting(self, globalTag, datasetName, **args):
110  """
111  _alcaHarvesting_
112 
113  Heavy ions collisions data taking AlCa Harvesting
114 
115  """
116  self._checkMINIAOD(**args)
117 
118  if not 'skims' in args and not 'alcapromptdataset' in args:
119  args['skims']=['BeamSpotByRun',
120  'BeamSpotByLumi',
121  'SiStripQuality']
122 
123  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
124 
def Impl.HeavyIonsRun2.HeavyIonsRun2.expressProcessing (   self,
  globalTag,
  args 
)
_expressProcessing_

Heavy ions collision data taking express processing

Definition at line 65 of file HeavyIonsRun2.py.

References Impl.HeavyIonsRun2.HeavyIonsRun2._checkMINIAOD(), Impl.HeavyIonsRun2.HeavyIonsRun2._setRepackedFlag(), python.multivaluedict.append(), and Impl.HeavyIonsRun2.HeavyIonsRun2.expressCustoms.

65 
66  def expressProcessing(self, globalTag, **args):
67  """
68  _expressProcessing_
69 
70  Heavy ions collision data taking express processing
71 
72  """
73  self._checkMINIAOD(**args)
74  self._setRepackedFlag(args)
75 
76  if not 'skims' in args:
77  args['skims']=['@allForExpress']
78 
79  customsFunction = self.expressCustoms
80  if not 'customs' in args:
81  args['customs']=[ customsFunction ]
82  else:
83  args['customs'].append( customsFunction )
84 
85  process = Reco.expressProcessing(self,globalTag, **args)
86 
87  return process
def Impl.HeavyIonsRun2.HeavyIonsRun2.promptReco (   self,
  globalTag,
  args 
)
_promptReco_

Heavy ions collision data taking prompt reco

Definition at line 41 of file HeavyIonsRun2.py.

References Impl.HeavyIonsRun2.HeavyIonsRun2._checkMINIAOD(), Impl.HeavyIonsRun2.HeavyIonsRun2._setRepackedFlag(), python.multivaluedict.append(), and Impl.HeavyIonsRun2.HeavyIonsRun2.promptCustoms.

41 
42  def promptReco(self, globalTag, **args):
43  """
44  _promptReco_
45 
46  Heavy ions collision data taking prompt reco
47 
48  """
49  self._checkMINIAOD(**args)
50  self._setRepackedFlag(args)
51 
52  if not 'skims' in args:
53  args['skims']=['@allForPrompt']
54 
55  customsFunction = self.promptCustoms
56  if not 'customs' in args:
57  args['customs']=[ customsFunction ]
58  else:
59  args['customs'].append(customsFunction)
60 
61  process = Reco.promptReco(self,globalTag, **args)
62 
63  return process
64 
def Impl.HeavyIonsRun2.HeavyIonsRun2.visualizationProcessing (   self,
  globalTag,
  args 
)
_visualizationProcessing_

Heavy ions collision data taking visualization processing

Definition at line 88 of file HeavyIonsRun2.py.

References Impl.HeavyIonsRun2.HeavyIonsRun2._checkMINIAOD(), Impl.HeavyIonsRun2.HeavyIonsRun2._setRepackedFlag(), python.multivaluedict.append(), and Impl.HeavyIonsRun2.HeavyIonsRun2.visCustoms.

88 
89  def visualizationProcessing(self, globalTag, **args):
90  """
91  _visualizationProcessing_
92 
93  Heavy ions collision data taking visualization processing
94 
95  """
96  self._checkMINIAOD(**args)
97  self._setRepackedFlag(args)
98 
99  customsFunction = self.visCustoms
100  if not 'customs' in args:
101  args['customs']=[ customsFunction ]
102  else:
103  args['customs'].append( customsFunction )
104 
105  process = Reco.visualizationProcessing(self,globalTag, **args)
106 
107  return process

Member Data Documentation

Impl.HeavyIonsRun2.HeavyIonsRun2.cbSc

Definition at line 18 of file HeavyIonsRun2.py.

Referenced by Reco.Reco.alcaHarvesting(), Reco.Reco.alcaSkim(), Reco.Reco.dqmHarvesting(), Reco.Reco.expressProcessing(), Reco.Reco.promptReco(), Reco.Reco.skimming(), and Reco.Reco.visualizationProcessing().

Impl.HeavyIonsRun2.HeavyIonsRun2.expressCustoms

Definition at line 20 of file HeavyIonsRun2.py.

Referenced by Impl.HeavyIonsRun2.HeavyIonsRun2.expressProcessing().

Impl.HeavyIonsRun2.HeavyIonsRun2.promptCustoms

Definition at line 19 of file HeavyIonsRun2.py.

Referenced by Impl.HeavyIonsRun2.HeavyIonsRun2.promptReco().

Impl.HeavyIonsRun2.HeavyIonsRun2.recoSeq

Definition at line 17 of file HeavyIonsRun2.py.

Referenced by Reco.Reco.promptReco().

Impl.HeavyIonsRun2.HeavyIonsRun2.visCustoms

Definition at line 21 of file HeavyIonsRun2.py.

Referenced by Impl.HeavyIonsRun2.HeavyIonsRun2.visualizationProcessing().