CMS 3D CMS Logo

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