CMS 3D CMS Logo

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