CMS 3D CMS Logo

pp.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 """
3 _pp_
4 
5 Scenario supporting proton collisions
6 
7 """
8 
9 import os
10 import sys
11 
12 from Configuration.DataProcessing.Reco import Reco
13 import FWCore.ParameterSet.Config as cms
14 from Configuration.DataProcessing.Modifiers import modifyExpress
15 
16 class pp(Reco):
17  def __init__(self):
18  Reco.__init__(self)
19  self.recoSeq=''
20  self.cbSc='pp'
21  self.promptCustoms= [ 'Configuration/DataProcessing/RecoTLR.customisePrompt' ]
22  self.expressCustoms=[ ]
23  self.expressModifiers = modifyExpress
24  self.visCustoms=[ ]
25  self.visModifiers = modifyExpress
26  """
27  _pp_
28 
29  Implement configuration building for data processing for proton
30  collision data taking
31 
32  """
33 
34 
35  def promptReco(self, globalTag, **args):
36  """
37  _promptReco_
38 
39  Proton collision data taking prompt reco
40 
41  """
42  if not 'skims' in args:
43  args['skims']=['@allForPrompt']
44 
45  if not 'customs' in args:
46  args['customs']= [ ]
47 
48  for c in self.promptCustoms:
49  args['customs'].append(c)
50 
51  process = Reco.promptReco(self,globalTag, **args)
52 
53  return process
54 
55 
56  def expressProcessing(self, globalTag, **args):
57  """
58  _expressProcessing_
59 
60  Proton collision data taking express processing
61 
62  """
63  if not 'skims' in args:
64  args['skims']=['@allForExpress']
65 
66  if not 'customs' in args:
67  args['customs']=[ ]
68 
69  for c in self.expressCustoms:
70  args['customs'].append(c)
71 
72  process = Reco.expressProcessing(self,globalTag, **args)
73 
74  return process
75 
76  def visualizationProcessing(self, globalTag, **args):
77  """
78  _visualizationProcessing_
79 
80  Proton collision data taking visualization processing
81 
82  """
83  if not 'customs' in args:
84  args['customs']=[ ]
85 
86  for c in self.visCustoms:
87  args['customs'].append(c)
88 
89  process = Reco.visualizationProcessing(self,globalTag, **args)
90 
91  return process
92 
93  def alcaHarvesting(self, globalTag, datasetName, **args):
94  """
95  _alcaHarvesting_
96 
97  Proton collisions data taking AlCa Harvesting
98 
99  """
100 
101 
102  if not 'skims' in args and not 'alcapromptdataset' in args:
103  args['skims']=['BeamSpotByRun',
104  'BeamSpotByLumi',
105  'SiStripQuality']
106 
107  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
108 
expressCustoms
Definition: pp.py:22
expressModifiers
Definition: pp.py:23
def expressProcessing(self, globalTag, args)
Definition: pp.py:56
def visualizationProcessing(self, globalTag, args)
Definition: pp.py:76
visCustoms
Definition: pp.py:24
Definition: Reco.py:1
Definition: pp.py:16
def promptReco(self, globalTag, args)
Definition: pp.py:35
visModifiers
Definition: pp.py:25
cbSc
Definition: pp.py:20
def __init__(self)
Definition: pp.py:17
promptCustoms
Definition: pp.py:21
def alcaHarvesting(self, globalTag, datasetName, args)
Definition: pp.py:93
recoSeq
Definition: pp.py:19