CMS 3D CMS Logo

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

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

 addEI
 
 alcaHarvCustoms
 
 cbSc
 
 expressCustoms
 
 expressModifiers
 
 isRepacked
 
 promptCustoms
 
 recoSeq
 
 visCustoms
 
 visModifiers
 

Private Member Functions

def _setRepackedFlag (self, args)
 

Detailed Description

Definition at line 16 of file pp.py.

Constructor & Destructor Documentation

def Impl.pp.pp.__init__ (   self)

Definition at line 17 of file pp.py.

17  def __init__(self):
18  Reco.__init__(self)
19  self.recoSeq=''
20  self.cbSc='pp'
21  self.addEI=True
22  self.isRepacked=False
23  self.promptCustoms= [ 'Configuration/DataProcessing/RecoTLR.customisePrompt' ]
24  self.expressCustoms=[ ]
26  self.expressModifiers = modifyExpress
27  self.visCustoms=[ ]
28  self.visModifiers = modifyExpress
expressCustoms
Definition: pp.py:24
expressModifiers
Definition: pp.py:26
isRepacked
Definition: pp.py:22
visCustoms
Definition: pp.py:27
visModifiers
Definition: pp.py:28
cbSc
Definition: pp.py:20
addEI
Definition: pp.py:21
def __init__(self)
Definition: pp.py:17
alcaHarvCustoms
Definition: pp.py:25
promptCustoms
Definition: pp.py:23
recoSeq
Definition: pp.py:19

Member Function Documentation

def Impl.pp.pp._setRepackedFlag (   self,
  args 
)
private

Definition at line 37 of file pp.py.

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

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

Proton collisions data taking AlCa Harvesting

Definition at line 107 of file pp.py.

References Impl.pp.pp.alcaHarvCustoms, and mps_setup.append.

107  def alcaHarvesting(self, globalTag, datasetName, **args):
108  """
109  _alcaHarvesting_
110 
111  Proton collisions data taking AlCa Harvesting
112 
113  """
114 
115  if not 'customs' in args:
116  args['customs']=[ ]
117 
118  for c in self.alcaHarvCustoms:
119  args['customs'].append(c)
120 
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 
alcaHarvCustoms
Definition: pp.py:25
def alcaHarvesting(self, globalTag, datasetName, args)
Definition: pp.py:107
def Impl.pp.pp.expressProcessing (   self,
  globalTag,
  args 
)
_expressProcessing_

Proton collision data taking express processing

Definition at line 64 of file pp.py.

References Impl.pp.pp._setRepackedFlag(), Impl.HeavyIons.HeavyIons._setRepackedFlag(), mps_setup.append, Impl.HeavyIons.HeavyIons.expressCustoms, Impl.pp.pp.expressCustoms, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.isRepacked, and Impl.pp.pp.isRepacked.

64  def expressProcessing(self, globalTag, **args):
65  """
66  _expressProcessing_
67 
68  Proton collision data taking express processing
69 
70  """
71  if not 'skims' in args:
72  args['skims']=['@allForExpress']
73 
74  if not 'customs' in args:
75  args['customs']=[ ]
76 
77  for c in self.expressCustoms:
78  args['customs'].append(c)
79 
80  if self.isRepacked:
81  self._setRepackedFlag(args)
82 
83  process = Reco.expressProcessing(self,globalTag, **args)
84 
85  return process
86 
expressCustoms
Definition: pp.py:24
isRepacked
Definition: pp.py:22
def expressProcessing(self, globalTag, args)
Definition: pp.py:64
def _setRepackedFlag(self, args)
Definition: pp.py:37
def Impl.pp.pp.promptReco (   self,
  globalTag,
  args 
)
_promptReco_

Proton collision data taking prompt reco

Definition at line 41 of file pp.py.

References Impl.pp.pp._setRepackedFlag(), Impl.HeavyIons.HeavyIons._setRepackedFlag(), mps_setup.append, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.isRepacked, Impl.pp.pp.isRepacked, Impl.HeavyIons.HeavyIons.promptCustoms, and Impl.pp.pp.promptCustoms.

41  def promptReco(self, globalTag, **args):
42  """
43  _promptReco_
44 
45  Proton collision data taking prompt reco
46 
47  """
48  if not 'skims' in args:
49  args['skims']=['@allForPrompt']
50 
51  if not 'customs' in args:
52  args['customs']= [ ]
53 
54  for c in self.promptCustoms:
55  args['customs'].append(c)
56 
57  if self.isRepacked:
58  self._setRepackedFlag(args)
59 
60  process = Reco.promptReco(self,globalTag, **args)
61 
62  return process
63 
isRepacked
Definition: pp.py:22
def promptReco(self, globalTag, args)
Definition: pp.py:41
def _setRepackedFlag(self, args)
Definition: pp.py:37
promptCustoms
Definition: pp.py:23
def Impl.pp.pp.visualizationProcessing (   self,
  globalTag,
  args 
)
_visualizationProcessing_

Proton collision data taking visualization processing

Definition at line 87 of file pp.py.

References Impl.pp.pp._setRepackedFlag(), Impl.HeavyIons.HeavyIons._setRepackedFlag(), mps_setup.append, Impl.hcalnzsEra_Run2_2018_pp_on_AA.hcalnzsEra_Run2_2018_pp_on_AA.isRepacked, Impl.pp.pp.isRepacked, Impl.HeavyIons.HeavyIons.visCustoms, and Impl.pp.pp.visCustoms.

87  def visualizationProcessing(self, globalTag, **args):
88  """
89  _visualizationProcessing_
90 
91  Proton collision data taking visualization processing
92 
93  """
94  if not 'customs' in args:
95  args['customs']=[ ]
96 
97  for c in self.visCustoms:
98  args['customs'].append(c)
99 
100  if self.isRepacked:
101  self._setRepackedFlag(args)
102 
103  process = Reco.visualizationProcessing(self,globalTag, **args)
104 
105  return process
106 
isRepacked
Definition: pp.py:22
def visualizationProcessing(self, globalTag, args)
Definition: pp.py:87
visCustoms
Definition: pp.py:27
def _setRepackedFlag(self, args)
Definition: pp.py:37

Member Data Documentation

Impl.pp.pp.addEI
Impl.pp.pp.alcaHarvCustoms

Definition at line 25 of file pp.py.

Referenced by Impl.pp.pp.alcaHarvesting().

Impl.pp.pp.expressCustoms

Definition at line 24 of file pp.py.

Referenced by Impl.pp.pp.expressProcessing().

Impl.pp.pp.expressModifiers

Definition at line 26 of file pp.py.

Referenced by Reco.Reco.expressProcessing().

Impl.pp.pp.isRepacked
Impl.pp.pp.promptCustoms

Definition at line 23 of file pp.py.

Referenced by Impl.pp.pp.promptReco().

Impl.pp.pp.recoSeq

Definition at line 19 of file pp.py.

Referenced by Reco.Reco.expressProcessing(), and Reco.Reco.promptReco().

Impl.pp.pp.visCustoms

Definition at line 27 of file pp.py.

Referenced by Impl.pp.pp.visualizationProcessing().

Impl.pp.pp.visModifiers

Definition at line 28 of file pp.py.

Referenced by Reco.Reco.visualizationProcessing().