CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions
Impl.HeavyIons.HeavyIons Class Reference
Inheritance diagram for Impl.HeavyIons.HeavyIons:

Public Member Functions

def __init__ (self)
 
def alcaHarvesting (self, globalTag, datasetName, args)
 
def expressProcessing (self, globalTag, args)
 
def promptReco (self, globalTag, args)
 
def visualizationProcessing (self, globalTag, args)
 

Public Attributes

 cbSc
 
 expressCustoms
 
 expressModifiers
 
 promptCustoms
 
 recoSeq
 
 visCustoms
 
 visModifiers
 

Private Member Functions

def _checkMINIAOD (self, args)
 
def _setRepackedFlag (self, args)
 

Detailed Description

Definition at line 16 of file HeavyIons.py.

Constructor & Destructor Documentation

def Impl.HeavyIons.HeavyIons.__init__ (   self)

Definition at line 17 of file HeavyIons.py.

17  def __init__(self):
18  Reco.__init__(self)
19  self.recoSeq=''
20  self.cbSc='HeavyIons'
21  self.promptCustoms= [ 'Configuration/DataProcessing/RecoTLR.customisePromptHI' ]
22  self.expressCustoms= [ ]
23  self.expressModifiers = modifyExpressHI
24  self.visCustoms= [ ]
25  self.visModifiers = modifyExpressHI

Member Function Documentation

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

Definition at line 34 of file HeavyIons.py.

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

34  def _checkMINIAOD(self,**args):
35  if 'outputs' in args:
36  for a in args['outputs']:
37  if a['dataTier'] == 'MINIAOD':
38  raise RuntimeError("MINIAOD is not supported in HeavyIons")
39 
40 
def _checkMINIAOD(self, args)
Definition: HeavyIons.py:34
def Impl.HeavyIons.HeavyIons._setRepackedFlag (   self,
  args 
)
private

Definition at line 41 of file HeavyIons.py.

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

41  def _setRepackedFlag(self,args):
42  if not 'repacked' in args:
43  args['repacked']= True
44 
def _setRepackedFlag(self, args)
Definition: HeavyIons.py:41
def Impl.HeavyIons.HeavyIons.alcaHarvesting (   self,
  globalTag,
  datasetName,
  args 
)
_alcaHarvesting_

Heavy ions collisions data taking AlCa Harvesting

Definition at line 112 of file HeavyIons.py.

References Impl.HeavyIons.HeavyIons._checkMINIAOD().

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

Heavy ions collision data taking express processing

Definition at line 69 of file HeavyIons.py.

References Impl.HeavyIons.HeavyIons._checkMINIAOD(), Impl.HeavyIons.HeavyIons._setRepackedFlag(), mps_alisetup.append, and Impl.HeavyIons.HeavyIons.expressCustoms.

69  def expressProcessing(self, globalTag, **args):
70  """
71  _expressProcessing_
72 
73  Heavy ions collision data taking express processing
74 
75  """
76  self._checkMINIAOD(**args)
77  self._setRepackedFlag(args)
78 
79  if not 'skims' in args:
80  args['skims']=['@allForExpress']
81 
82  if not 'customs' in args:
83  args['customs']=[ ]
84 
85  for c in self.expressCustoms:
86  args['customs'].append(c)
87 
88  process = Reco.expressProcessing(self,globalTag, **args)
89 
90  return process
91 
def _checkMINIAOD(self, args)
Definition: HeavyIons.py:34
def _setRepackedFlag(self, args)
Definition: HeavyIons.py:41
def expressProcessing(self, globalTag, args)
Definition: HeavyIons.py:69
def Impl.HeavyIons.HeavyIons.promptReco (   self,
  globalTag,
  args 
)
_promptReco_

Heavy ions collision data taking prompt reco

Definition at line 45 of file HeavyIons.py.

References Impl.HeavyIons.HeavyIons._checkMINIAOD(), Impl.HeavyIons.HeavyIons._setRepackedFlag(), mps_alisetup.append, and Impl.HeavyIons.HeavyIons.promptCustoms.

45  def promptReco(self, globalTag, **args):
46  """
47  _promptReco_
48 
49  Heavy ions collision data taking prompt reco
50 
51  """
52  self._checkMINIAOD(**args)
53  self._setRepackedFlag(args)
54 
55  if not 'skims' in args:
56  args['skims']=['@allForPrompt']
57 
58  if not 'customs' in args:
59  args['customs']=[ ]
60 
61  for c in self.promptCustoms:
62  args['customs'].append(c)
63 
64  process = Reco.promptReco(self,globalTag, **args)
65 
66  return process
67 
68 
def _checkMINIAOD(self, args)
Definition: HeavyIons.py:34
def _setRepackedFlag(self, args)
Definition: HeavyIons.py:41
def promptReco(self, globalTag, args)
Definition: HeavyIons.py:45
def Impl.HeavyIons.HeavyIons.visualizationProcessing (   self,
  globalTag,
  args 
)
_visualizationProcessing_

Heavy ions collision data taking visualization processing

Definition at line 92 of file HeavyIons.py.

References Impl.HeavyIons.HeavyIons._checkMINIAOD(), Impl.HeavyIons.HeavyIons._setRepackedFlag(), mps_alisetup.append, and Impl.HeavyIons.HeavyIons.visCustoms.

92  def visualizationProcessing(self, globalTag, **args):
93  """
94  _visualizationProcessing_
95 
96  Heavy ions collision data taking visualization processing
97 
98  """
99  self._checkMINIAOD(**args)
100  self._setRepackedFlag(args)
101 
102  if not 'customs' in args:
103  args['customs']=[ ]
104 
105  for c in self.visCustoms:
106  args['customs'].append(c)
107 
108  process = Reco.visualizationProcessing(self,globalTag, **args)
109 
110  return process
111 
def _checkMINIAOD(self, args)
Definition: HeavyIons.py:34
def _setRepackedFlag(self, args)
Definition: HeavyIons.py:41
def visualizationProcessing(self, globalTag, args)
Definition: HeavyIons.py:92

Member Data Documentation

Impl.HeavyIons.HeavyIons.expressCustoms
Impl.HeavyIons.HeavyIons.expressModifiers

Definition at line 23 of file HeavyIons.py.

Referenced by Reco.Reco.expressProcessing().

Impl.HeavyIons.HeavyIons.promptCustoms

Definition at line 21 of file HeavyIons.py.

Referenced by Impl.pp.pp.promptReco(), and Impl.HeavyIons.HeavyIons.promptReco().

Impl.HeavyIons.HeavyIons.recoSeq

Definition at line 19 of file HeavyIons.py.

Referenced by Reco.Reco.promptReco().

Impl.HeavyIons.HeavyIons.visCustoms
Impl.HeavyIons.HeavyIons.visModifiers

Definition at line 25 of file HeavyIons.py.

Referenced by Reco.Reco.visualizationProcessing().