CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ppRun2B0T.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 ppRun2B0T(Reco):
16  def __init__(self):
17  self.recoSeq=''
18  self.cbSc='pp'
19  """
20  _ppRun2B0T_
21 
22  Implement configuration building for data processing for proton
23  collision data taking for Run2 at B=0
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.customisePromptRun2B0T']
40  else:
41  args['customs'].append('Configuration/DataProcessing/RecoTLR.customisePromptRun2B0T')
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  if not 'customs' in args:
58  args['customs']=['Configuration/DataProcessing/RecoTLR.customiseExpressRun2B0T']
59  else:
60  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseExpressRun2B0T')
61 
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.customiseExpressRun2B0T']
76  else:
77  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseExpressRun2B0T')
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 
Definition: Reco.py:1