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

◆ __init__()

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=[ ]
25  self.alcaHarvCustoms=[]
26  self.expressModifiers = modifyExpress
27  self.visCustoms=[ ]
28  self.visModifiers = modifyExpress

Member Function Documentation

◆ _setRepackedFlag()

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

Definition at line 37 of file pp.py.

37  def _setRepackedFlag(self,args):
38  if not 'repacked' in args:
39  args['repacked']= True
40 

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

◆ alcaHarvesting()

def Impl.pp.pp.alcaHarvesting (   self,
  globalTag,
  datasetName,
**  args 
)
_alcaHarvesting_

Proton collisions data taking AlCa Harvesting

Definition at line 107 of file pp.py.

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)

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

◆ expressProcessing()

def Impl.pp.pp.expressProcessing (   self,
  globalTag,
**  args 
)
_expressProcessing_

Proton collision data taking express processing

Definition at line 64 of file pp.py.

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 

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.

◆ promptReco()

def Impl.pp.pp.promptReco (   self,
  globalTag,
**  args 
)
_promptReco_

Proton collision data taking prompt reco

Definition at line 41 of file pp.py.

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 

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.

◆ visualizationProcessing()

def Impl.pp.pp.visualizationProcessing (   self,
  globalTag,
**  args 
)
_visualizationProcessing_

Proton collision data taking visualization processing

Definition at line 87 of file pp.py.

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 

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.

Member Data Documentation

◆ addEI

Impl.pp.pp.addEI

◆ alcaHarvCustoms

Impl.pp.pp.alcaHarvCustoms

Definition at line 25 of file pp.py.

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

◆ cbSc

Impl.pp.pp.cbSc

◆ expressCustoms

Impl.pp.pp.expressCustoms

Definition at line 24 of file pp.py.

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

◆ expressModifiers

Impl.pp.pp.expressModifiers

Definition at line 26 of file pp.py.

Referenced by Reco.Reco.expressProcessing().

◆ isRepacked

Impl.pp.pp.isRepacked

◆ promptCustoms

Impl.pp.pp.promptCustoms

Definition at line 23 of file pp.py.

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

◆ recoSeq

Impl.pp.pp.recoSeq

Definition at line 19 of file pp.py.

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

◆ visCustoms

Impl.pp.pp.visCustoms

Definition at line 27 of file pp.py.

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

◆ visModifiers

Impl.pp.pp.visModifiers

Definition at line 28 of file pp.py.

Referenced by Reco.Reco.visualizationProcessing().

mps_setup.append
append
Definition: mps_setup.py:85
Harvesting_cff.alcaHarvesting
alcaHarvesting
Definition: Harvesting_cff.py:66