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 
56  def alcaHarvesting(self, globalTag, datasetName, **args):
57  """
58  _alcaHarvesting_
59 
60  Proton collisions data taking AlCa Harvesting
61 
62  """
63  if not 'skims' in args:
64  args['skims']=['SiStripQuality']
65 
66  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
Definition: Reco.py:1
def customiseCosmicData
Definition: RecoTLR.py:23