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 
59  def alcaHarvesting(self, globalTag, datasetName, **args):
60  """
61  _alcaHarvesting_
62 
63  Proton collisions data taking AlCa Harvesting
64 
65  """
66  if not 'skims' in args:
67  args['skims']=['BeamSpotByRun',
68  'BeamSpotByLumi',
69  'SiStripQuality']
70 
71  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
72 
def promptReco
Definition: pp.py:26
Definition: Reco.py:1
Definition: pp.py:16
def expressProcessing
Definition: pp.py:43
def customisePrompt
Definition: RecoTLR.py:49
def alcaHarvesting
Definition: pp.py:59
def customiseExpress
Definition: RecoTLR.py:40