CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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__
 
def alcaHarvesting
 
def expressProcessing
 
def promptReco
 
def visualizationProcessing
 

Public Attributes

 cbSc
 
 expressCustoms
 
 expressModifiers
 
 promptCustoms
 
 recoSeq
 
 visCustoms
 
 visModifiers
 

Private Member Functions

def _checkMINIAOD
 
def _setRepackedFlag
 

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 
18  def __init__(self):
19  Reco.__init__(self)
20  self.recoSeq=''
21  self.cbSc='HeavyIons'
22  self.promptCustoms= [ 'Configuration/DataProcessing/RecoTLR.customisePromptHI' ]
23  self.expressCustoms= [ ]
24  self.expressModifiers = modifyExpressHI
25  self.visCustoms= [ ]
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 
35  def _checkMINIAOD(self,**args):
36  if 'outputs' in args:
37  for a in args['outputs']:
38  if a['dataTier'] == 'MINIAOD':
39  raise RuntimeError("MINIAOD is not supported in HeavyIons")
40 
def Impl.HeavyIons.HeavyIons._setRepackedFlag (   self,
  args 
)
private

Definition at line 41 of file HeavyIons.py.

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

41 
42  def _setRepackedFlag(self,args):
43  if not 'repacked' in args:
44  args['repacked']= True
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().

113  def alcaHarvesting(self, globalTag, datasetName, **args):
114  """
115  _alcaHarvesting_
116 
117  Heavy ions collisions data taking AlCa Harvesting
118 
119  """
120  self._checkMINIAOD(**args)
121 
122  if not 'skims' in args and not 'alcapromptdataset' in args:
123  args['skims']=['BeamSpotByRun',
124  'BeamSpotByLumi',
125  'SiStripQuality']
126 
127  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
128 
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(), bitset_utilities.append(), and Impl.HeavyIons.HeavyIons.expressCustoms.

69 
70  def expressProcessing(self, globalTag, **args):
71  """
72  _expressProcessing_
73 
74  Heavy ions collision data taking express processing
75 
76  """
77  self._checkMINIAOD(**args)
78  self._setRepackedFlag(args)
79 
80  if not 'skims' in args:
81  args['skims']=['@allForExpress']
82 
83  if not 'customs' in args:
84  args['customs']=[ ]
85 
86  for c in self.expressCustoms:
87  args['customs'].append(c)
88 
89  process = Reco.expressProcessing(self,globalTag, **args)
90 
91  return process
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
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(), bitset_utilities.append(), Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.promptCustoms, Impl.HeavyIons.HeavyIons.promptCustoms, and Impl.AlCaNano.AlCaNano.promptCustoms.

45 
46  def promptReco(self, globalTag, **args):
47  """
48  _promptReco_
49 
50  Heavy ions collision data taking prompt reco
51 
52  """
53  self._checkMINIAOD(**args)
54  self._setRepackedFlag(args)
55 
56  if not 'skims' in args:
57  args['skims']=['@allForPrompt']
58 
59  if not 'customs' in args:
60  args['customs']=[ ]
61 
62  for c in self.promptCustoms:
63  args['customs'].append(c)
64 
65  process = Reco.promptReco(self,globalTag, **args)
66 
67  return process
68 
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
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(), bitset_utilities.append(), and Impl.HeavyIons.HeavyIons.visCustoms.

92 
93  def visualizationProcessing(self, globalTag, **args):
94  """
95  _visualizationProcessing_
96 
97  Heavy ions collision data taking visualization processing
98 
99  """
100  self._checkMINIAOD(**args)
101  self._setRepackedFlag(args)
102 
103  if not 'customs' in args:
104  args['customs']=[ ]
105 
106  for c in self.visCustoms:
107  args['customs'].append(c)
108 
109  process = Reco.visualizationProcessing(self,globalTag, **args)
110 
111  return process
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...

Member Data Documentation

Impl.HeavyIons.HeavyIons.cbSc

Definition at line 20 of file HeavyIons.py.

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

Impl.HeavyIons.HeavyIons.expressCustoms

Definition at line 22 of file HeavyIons.py.

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

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.expressProcessing(), and Reco.Reco.promptReco().

Impl.HeavyIons.HeavyIons.visCustoms

Definition at line 24 of file HeavyIons.py.

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

Impl.HeavyIons.HeavyIons.visModifiers

Definition at line 25 of file HeavyIons.py.

Referenced by Reco.Reco.visualizationProcessing().