CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
15 class pp(Reco):
16  """
17  _pp_
18 
19  Implement configuration building for data processing for proton
20  collision data taking
21 
22  """
23 
24 
25  def promptReco(self, globalTag, **args):
26  """
27  _promptReco_
28 
29  Proton collision data taking prompt reco
30 
31  """
32  if not 'skims' in args:
33  args['skims']=['@allForPrompt']
34 
35  if not 'customs' in args:
36  args['customs']=['Configuration/DataProcessing/RecoTLR.customisePrompt']
37  else:
38  args['customs'].append('Configuration/DataProcessing/RecoTLR.customisePrompt')
39 
40  process = Reco.promptReco(self,globalTag, **args)
41 
42  return process
43 
44 
45  def expressProcessing(self, globalTag, **args):
46  """
47  _expressProcessing_
48 
49  Proton collision data taking express processing
50 
51  """
52  if not 'skims' in args:
53  args['skims']=['@allForExpress']
54 
55  if not 'customs' in args:
56  args['customs']=['Configuration/DataProcessing/RecoTLR.customiseExpress']
57  else:
58  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseExpress')
59 
60  process = Reco.expressProcessing(self,globalTag, **args)
61 
62  return process
63 
64  def visualizationProcessing(self, globalTag, **args):
65  """
66  _visualizationProcessing_
67 
68  Proton collision data taking visualization processing
69 
70  """
71 
72  if not 'customs' in args:
73  args['customs']=['Configuration/DataProcessing/RecoTLR.customiseExpress']
74  else:
75  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseExpress')
76 
77  process = Reco.visualizationProcessing(self,globalTag, **args)
78 
79  return process
80 
81  def alcaHarvesting(self, globalTag, datasetName, **args):
82  """
83  _alcaHarvesting_
84 
85  Proton collisions data taking AlCa Harvesting
86 
87  """
88 
89  if not 'skims' in args and not 'alcapromptdataset' in args:
90  args['skims']=['BeamSpotByRun',
91  'BeamSpotByLumi',
92  'SiStripQuality']
93 
94  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
95 
def promptReco
Definition: pp.py:25
Definition: Reco.py:1
Definition: pp.py:15
def visualizationProcessing
Definition: pp.py:64
def expressProcessing
Definition: pp.py:45
def alcaHarvesting
Definition: pp.py:81