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 
15 class pp(Reco):
16  def __init__(self):
17  Reco.__init__(self)
18  self.recoSeq=''
19  self.cbSc='pp'
20  self.promptCustoms= [ 'Configuration/DataProcessing/RecoTLR.customisePrompt' ]
21  self.expressCustoms=[ 'Configuration/DataProcessing/RecoTLR.customiseExpress' ]
22  self.visCustoms=[ 'Configuration/DataProcessing/RecoTLR.customiseExpress' ]
23  """
24  _pp_
25 
26  Implement configuration building for data processing for proton
27  collision data taking
28 
29  """
30 
31 
32  def promptReco(self, globalTag, **args):
33  """
34  _promptReco_
35 
36  Proton collision data taking prompt reco
37 
38  """
39  if not 'skims' in args:
40  args['skims']=['@allForPrompt']
41 
42  if not 'customs' in args:
43  args['customs']= [ ]
44 
45  for c in self.promptCustoms:
46  args['customs'].append(c)
47 
48  process = Reco.promptReco(self,globalTag, **args)
49 
50  return process
51 
52 
53  def expressProcessing(self, globalTag, **args):
54  """
55  _expressProcessing_
56 
57  Proton collision data taking express processing
58 
59  """
60  if not 'skims' in args:
61  args['skims']=['@allForExpress']
62 
63  if not 'customs' in args:
64  args['customs']=[ ]
65 
66  for c in self.expressCustoms:
67  args['customs'].append(c)
68 
69  process = Reco.expressProcessing(self,globalTag, **args)
70 
71  return process
72 
73  def visualizationProcessing(self, globalTag, **args):
74  """
75  _visualizationProcessing_
76 
77  Proton collision data taking visualization processing
78 
79  """
80  if not 'customs' in args:
81  args['customs']=[ ]
82 
83  for c in self.visCustoms:
84  args['customs'].append(c)
85 
86  process = Reco.visualizationProcessing(self,globalTag, **args)
87 
88  return process
89 
90  def alcaHarvesting(self, globalTag, datasetName, **args):
91  """
92  _alcaHarvesting_
93 
94  Proton collisions data taking AlCa Harvesting
95 
96  """
97 
98 
99  if not 'skims' in args and not 'alcapromptdataset' in args:
100  args['skims']=['BeamSpotByRun',
101  'BeamSpotByLumi',
102  'SiStripQuality']
103 
104  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
105 
expressCustoms
Definition: pp.py:21
def promptReco
Definition: pp.py:32
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
visCustoms
Definition: pp.py:22
Definition: Reco.py:1
Definition: pp.py:15
cbSc
Definition: pp.py:19
def visualizationProcessing
Definition: pp.py:73
def expressProcessing
Definition: pp.py:53
promptCustoms
Definition: pp.py:20
def __init__
Definition: pp.py:16
recoSeq
Definition: pp.py:18
def alcaHarvesting
Definition: pp.py:90