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

◆ __init__()

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
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ _checkMINIAOD()

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 

◆ _setRepackedFlag()

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

◆ alcaHarvesting()

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 

◆ expressProcessing()

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_setup.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 

◆ promptReco()

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_setup.append, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.promptCustoms, Impl.HeavyIons.HeavyIons.promptCustoms, and Impl.AlCaNano.AlCaNano.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 

◆ visualizationProcessing()

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_setup.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 

Member Data Documentation

◆ cbSc

◆ expressCustoms

Impl.HeavyIons.HeavyIons.expressCustoms

◆ expressModifiers

Impl.HeavyIons.HeavyIons.expressModifiers

Definition at line 23 of file HeavyIons.py.

Referenced by Reco.Reco.expressProcessing().

◆ promptCustoms

Impl.HeavyIons.HeavyIons.promptCustoms

◆ recoSeq

Impl.HeavyIons.HeavyIons.recoSeq

◆ visCustoms

Impl.HeavyIons.HeavyIons.visCustoms

◆ visModifiers

Impl.HeavyIons.HeavyIons.visModifiers

Definition at line 25 of file HeavyIons.py.

Referenced by Reco.Reco.visualizationProcessing().