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.PyReleaseValidation.ConfigBuilder import ConfigBuilder
15 from Configuration.PyReleaseValidation.ConfigBuilder import Options
16 from Configuration.PyReleaseValidation.ConfigBuilder import defaultOptions
17 from Configuration.DataProcessing.RecoTLR import customisePrompt,customiseExpress
18 
19 class pp(Reco):
20  """
21  _pp_
22 
23  Implement configuration building for data processing for proton
24  collision data taking
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  customisePrompt(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  customiseExpress(process)
58 
59  return process
60 
61 
62  def alcaHarvesting(self, globalTag, datasetName, **args):
63  """
64  _alcaHarvesting_
65 
66  Proton collisions data taking AlCa Harvesting
67 
68  """
69  if not 'skims' in args:
70  args['skims']=['BeamSpotByRun',
71  'BeamSpotByLumi',
72  'SiStripQuality']
73 
74  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
75 
def promptReco
Definition: pp.py:29
Definition: Reco.py:1
Definition: pp.py:19
def expressProcessing
Definition: pp.py:46
def customisePrompt
Definition: RecoTLR.py:49
def alcaHarvesting
Definition: pp.py:62
def customiseExpress
Definition: RecoTLR.py:40