CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cosmics.py
Go to the documentation of this file.
1 #!/usr/bin/env python3
2 """
3 _cosmics_
4 
5 Scenario supporting cosmic data taking
6 
7 """
8 
9 import os
10 import sys
11 
12 from Configuration.DataProcessing.Reco import Reco
13 
14 class cosmics(Reco):
15  def __init__(self):
16  Reco.__init__(self)
17  self.recoSeq=''
18  self.cbSc='cosmics'
19  """
20  _cosmics_
21 
22  Implement configuration building for data processing for cosmic
23  data taking
24 
25  """
26 
27 
28  def promptReco(self, globalTag, **args):
29  """
30  _promptReco_
31 
32  Cosmic data taking prompt reco
33 
34  """
35  if not 'skims' in args:
36  args['skims']= ['@allForPromptCosmics']
37  if not 'customs' in args:
38  args['customs']=['Configuration/DataProcessing/RecoTLR.customiseCosmicData']
39  else:
40  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseCosmicData')
41  process = Reco.promptReco(self,globalTag, **args)
42 
43  return process
44 
45 
46  def expressProcessing(self, globalTag, **args):
47  """
48  _expressProcessing_
49 
50  Cosmic data taking express processing
51 
52  """
53 
54  if not 'skims' in args:
55  args['skims']= ['@allForExpressCosmics']
56  if not 'customs' in args:
57  args['customs']=['Configuration/DataProcessing/RecoTLR.customiseCosmicData']
58  else:
59  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseCosmicData')
60  process = Reco.expressProcessing(self,globalTag, **args)
61 
62  return process
63 
64  def visualizationProcessing(self, globalTag, **args):
65  """
66  _visualizationProcessing_
67 
68  Cosmic data taking visualization processing
69 
70  """
71 
72  if not 'customs' in args:
73  args['customs']=['Configuration/DataProcessing/RecoTLR.customiseCosmicData']
74  else:
75  args['customs'].append('Configuration/DataProcessing/RecoTLR.customiseCosmicData')
76  process = Reco.visualizationProcessing(self,globalTag, **args)
77 
78  return process
79 
80  def alcaHarvesting(self, globalTag, datasetName, **args):
81  """
82  _alcaHarvesting_
83 
84  Proton collisions data taking AlCa Harvesting
85 
86  """
87 
88  if not 'skims' in args and not 'alcapromptdataset' in args:
89  args['skims']=['SiStripQuality']
90 
91  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
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
def visualizationProcessing
Definition: cosmics.py:64