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

 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.isRepacked=False
22  self.promptCustoms= [ 'Configuration/DataProcessing/RecoTLR.customisePrompt' ]
23  self.expressCustoms=[ ]
24  self.alcaHarvCustoms=[]
25  self.expressModifiers = modifyExpress
26  self.visCustoms=[ ]
27  self.visModifiers = modifyExpress
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

◆ _setRepackedFlag()

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

Definition at line 36 of file pp.py.

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

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

◆ alcaHarvesting()

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

Proton collisions data taking AlCa Harvesting

Definition at line 106 of file pp.py.

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

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

◆ expressProcessing()

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

Proton collision data taking express processing

Definition at line 63 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, Impl.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.isRepacked, and Impl.pp.pp.isRepacked.

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

◆ promptReco()

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

Proton collision data taking prompt reco

Definition at line 40 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.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.isRepacked, Impl.pp.pp.isRepacked, Impl.AlCaPhiSymEcal_Nano.AlCaPhiSymEcal_Nano.promptCustoms, Impl.AlCaNano.AlCaNano.promptCustoms, Impl.HeavyIons.HeavyIons.promptCustoms, and Impl.pp.pp.promptCustoms.

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

◆ visualizationProcessing()

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

Proton collision data taking visualization processing

Definition at line 86 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.hcalnzsEra_Run3_pp_on_PbPb.hcalnzsEra_Run3_pp_on_PbPb.isRepacked, Impl.pp.pp.isRepacked, Impl.HeavyIons.HeavyIons.visCustoms, and Impl.pp.pp.visCustoms.

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

Member Data Documentation

◆ alcaHarvCustoms

Impl.pp.pp.alcaHarvCustoms

Definition at line 24 of file pp.py.

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

◆ cbSc

◆ expressCustoms

Impl.pp.pp.expressCustoms

Definition at line 23 of file pp.py.

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

◆ expressModifiers

Impl.pp.pp.expressModifiers

Definition at line 25 of file pp.py.

Referenced by Reco.Reco.expressProcessing().

◆ isRepacked

Impl.pp.pp.isRepacked

◆ promptCustoms

Impl.pp.pp.promptCustoms

Definition at line 22 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 26 of file pp.py.

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

◆ visModifiers

Impl.pp.pp.visModifiers

Definition at line 27 of file pp.py.

Referenced by Reco.Reco.visualizationProcessing().