test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ppRun2B0T.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 
15 class ppRun2B0T(Reco):
16  def __init__(self):
17  Reco.__init__(self)
18  self.recoSeq=''
19  self.cbSc='pp'
20  """
21  _ppRun2B0T_
22 
23  Implement configuration building for data processing for proton
24  collision data taking for Run2 at B=0
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 
39  if not 'customs' in args:
40  args['customs']=['Configuration/DataProcessing/RecoTLR.customisePromptRun2DeprecatedB0T']
41  else:
42  args['customs'].append('Configuration/DataProcessing/RecoTLR.customisePromptRun2DeprecatedB0T')
43 
44  process = Reco.promptReco(self,globalTag, **args)
45 
46  return process
47 
48 
49  def expressProcessing(self, globalTag, **args):
50  """
51  _expressProcessing_
52 
53  Proton collision data taking express processing
54 
55  """
56  if not 'skims' in args:
57  args['skims']=['@allForExpress']
58  if not 'customs' in args:
59  args['customs']=['Configuration/DataProcessing/RecoTLR.customiseExpressRun2DeprecatedB0T']
60  else:
61  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseExpressRun2DeprecatedB0T')
62 
63 
64  process = Reco.expressProcessing(self,globalTag, **args)
65 
66  return process
67 
68  def visualizationProcessing(self, globalTag, **args):
69  """
70  _visualizationProcessing_
71 
72  Proton collision data taking visualization processing
73 
74  """
75  if not 'customs' in args:
76  args['customs']=['Configuration/DataProcessing/RecoTLR.customiseExpressRun2DeprecatedB0T']
77  else:
78  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseExpressRun2DeprecatedB0T')
79 
80  process = Reco.visualizationProcessing(self,globalTag, **args)
81 
82  return process
83 
84  def alcaHarvesting(self, globalTag, datasetName, **args):
85  """
86  _alcaHarvesting_
87 
88  Proton collisions data taking AlCa Harvesting
89 
90  """
91 
92 
93  if not 'skims' in args and not 'alcapromptdataset' in args:
94  args['skims']=['BeamSpotByRun',
95  'BeamSpotByLumi',
96  'SiStripQuality']
97 
98  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
99 
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 ...
Definition: Reco.py:1