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  Reco.__init__(self)
19  self.recoSeq=''
20  self.cbSc='HeavyIons'
21  self.promptCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2DeprecatedPromptHI'
22  self.expressCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2DeprecatedExpressHI'
self.visCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2DeprecatedExpressHI'

Member Function Documentation

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

Definition at line 31 of file HeavyIonsRun2.py.

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

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

Definition at line 38 of file HeavyIonsRun2.py.

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

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

Heavy ions collisions data taking AlCa Harvesting

Definition at line 109 of file HeavyIonsRun2.py.

References Impl.HeavyIonsRun2.HeavyIonsRun2._checkMINIAOD(), and Impl.HeavyIons.HeavyIons._checkMINIAOD().

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

Heavy ions collision data taking express processing

Definition at line 66 of file HeavyIonsRun2.py.

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

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

Heavy ions collision data taking prompt reco

Definition at line 42 of file HeavyIonsRun2.py.

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

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

Heavy ions collision data taking visualization processing

Definition at line 89 of file HeavyIonsRun2.py.

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

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

Definition at line 19 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 21 of file HeavyIonsRun2.py.

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

Impl.HeavyIonsRun2.HeavyIonsRun2.promptCustoms

Definition at line 20 of file HeavyIonsRun2.py.

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

Impl.HeavyIonsRun2.HeavyIonsRun2.recoSeq

Definition at line 18 of file HeavyIonsRun2.py.

Referenced by Reco.Reco.promptReco().

Impl.HeavyIonsRun2.HeavyIonsRun2.visCustoms

Definition at line 22 of file HeavyIonsRun2.py.

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