CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
cosmicsRun2.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 """
3 _cosmicsRun2_
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 customiseCosmicDataRun2
14 
16  def __init__(self):
17  self.recoSeq=''
18  self.cbSc='cosmics'
19  """
20  _cosmicsRun2_
21 
22  Implement configuration building for data processing for cosmic
23  data taking in Run2
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  process = Reco.promptReco(self,globalTag, **args)
38 
39  customiseCosmicDataRun2(process)
40  return process
41 
42 
43  def expressProcessing(self, globalTag, **args):
44  """
45  _expressProcessing_
46 
47  Cosmic data taking express processing
48 
49  """
50 
51  if not 'skims' in args:
52  args['skims']= ['@allForExpressCosmics']
53  process = Reco.expressProcessing(self,globalTag, **args)
54 
55  customiseCosmicDataRun2(process)
56  return process
57 
58 
59  def alcaHarvesting(self, globalTag, datasetName, **args):
60  """
61  _alcaHarvesting_
62 
63  Proton collisions data taking AlCa Harvesting
64 
65  """
66  if not 'skims' in args:
67  args['skims']=['SiStripQuality']
68 
69  return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
Definition: Reco.py:1
def customiseCosmicDataRun2
Definition: RecoTLR.py:45