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 from Configuration.DataProcessing.RecoTLR import customisePromptRun2,customiseExpressRun2
15 
16 class ppRun2(Reco):
17  def __init__(self):
18  self.recoSeq=''
19  self.cbSc='pp'
20  """
21  _ppRun2_
22 
23  Implement configuration building for data processing for proton
24  collision data taking for Run2
25 
26  """
27 
28 
29  def promptReco(self, globalTag, **args):
30  """
31  _promptReco_
32 
33  Proton collision data taking prompt reco
34 
35  """
36  if not 'skims' in args:
37  args['skims']=['@allForPrompt']
38  process = Reco.promptReco(self,globalTag, **args)
39 
40  #add the former top level patches here
41  customisePromptRun2(process)
42 
43  return process
44 
45 
46  def expressProcessing(self, globalTag, **args):
47  """
48  _expressProcessing_
49 
50  Proton collision data taking express processing
51 
52  """
53  if not 'skims' in args:
54  args['skims']=['@allForExpress']
55  process = Reco.expressProcessing(self,globalTag, **args)
56 
57  customiseExpressRun2(process)
58 
59  return process
60 
61  def visualizationProcessing(self, globalTag, **args):
62  """
63  _visualizationProcessing_
64 
65  Proton collision data taking visualization processing
66 
67  """
68  process = Reco.visualizationProcessing(self,globalTag, **args)
69 
70  customiseExpressRun2(process)
71 
72  return process
73 
74  def alcaHarvesting(self, globalTag, datasetName, **args):
75  """
76  _alcaHarvesting_
77 
78  Proton collisions data taking AlCa Harvesting
79 
80  """
81 
82 
83  if not 'skims' in args and not 'alcapromptdataset' in args:
84  args['skims']=['BeamSpotByRun',
85  'BeamSpotByLumi',
86  'SiStripQuality']
87 
88  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
89 
def expressProcessing
Definition: ppRun2.py:46
Definition: Reco.py:1
def customiseExpressRun2
Definition: RecoTLR.py:79
def alcaHarvesting
Definition: ppRun2.py:74
def customisePromptRun2
Definition: RecoTLR.py:93
def visualizationProcessing
Definition: ppRun2.py:61