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