CMS 3D CMS Logo

Public Member Functions

Impl::cosmics::cosmics Class Reference

Inherits Configuration::DataProcessing::Scenario::Scenario.

List of all members.

Public Member Functions

def alcaSkim
def dqmHarvesting
def expressProcessing
def promptReco

Detailed Description

_cosmics_

Implement configuration building for data processing for cosmic
data taking

Definition at line 21 of file cosmics.py.


Member Function Documentation

def Impl::cosmics::cosmics::alcaSkim (   self,
  skims,
  args 
)
_alcaSkim_

AlcaReco processing & skims for cosmics

Definition at line 111 of file cosmics.py.

00112                                      :
00113         """
00114         _alcaSkim_
00115 
00116         AlcaReco processing & skims for cosmics
00117 
00118         """
00119     
00120         globalTag = None
00121         if 'globaltag' in args:
00122             globalTag = args['globaltag']
00123         
00124         step = "ALCAOUTPUT:"
00125         for skim in skims:
00126             step += (skim+"+")
00127         options = Options()
00128         options.__dict__.update(defaultOptions.__dict__)
00129         options.scenario = "cosmics"        
00130         options.step = step.rstrip('+')
00131         options.isMC = False
00132         options.isData = True
00133         options.beamspot = None
00134         options.eventcontent = None
00135         options.relval = None
00136         if globalTag != None :
00137             options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
00138         options.triggerResultsProcess = 'RECO' 
00139                  
00140         process = cms.Process('ALCA')
00141         cb = ConfigBuilder(options, process = process)
00142 
00143         # Input source
00144         process.source = cms.Source(
00145            "PoolSource",
00146            fileNames = cms.untracked.vstring()
00147         )
00148 
00149         cb.prepare() 
00150 
00151         return process
00152 

def Impl::cosmics::cosmics::dqmHarvesting (   self,
  datasetName,
  runNumber,
  globalTag,
  args 
)
_dqmHarvesting_

Cosmic data taking DQM Harvesting

Definition at line 153 of file cosmics.py.

00154                                                                       :
00155         """
00156         _dqmHarvesting_
00157 
00158         Cosmic data taking DQM Harvesting
00159 
00160         """
00161         options = defaultOptions
00162         options.scenario = "cosmics"
00163         options.step = "HARVESTING:dqmHarvesting"
00164         options.isMC = False
00165         options.isData = True
00166         options.beamspot = None
00167         options.eventcontent = None
00168         options.name = "EDMtoMEConvert"
00169         options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
00170         options.arguments = ""
00171         options.evt_type = ""
00172         options.filein = []
00173  
00174         process = cms.Process("HARVESTING")
00175         process.source = cms.Source("PoolSource")
00176         configBuilder = ConfigBuilder(options, process = process)
00177         configBuilder.prepare()
00178 
00179         #
00180         # customise process for particular job
00181         #
00182         process.source.processingMode = cms.untracked.string('RunsAndLumis')
00183         process.source.fileNames = cms.untracked(cms.vstring())
00184         process.maxEvents.input = -1
00185         process.dqmSaver.workflow = datasetName
00186         process.dqmSaver.saveByLumiSection = 1
00187         if args.has_key('referenceFile') and args.get('referenceFile', ''):
00188             process.DQMStore.referenceFileName = \
00189                                 cms.untracked.string(args['referenceFile'])
00190 
00191         return process
def Impl::cosmics::cosmics::expressProcessing (   self,
  globalTag,
  writeTiers = [],
  args 
)
_expressProcessing_

Cosmic data taking express processing

Definition at line 74 of file cosmics.py.

00075                                                                    :
00076         """
00077         _expressProcessing_
00078 
00079         Cosmic data taking express processing
00080 
00081         """
00082 
00083         skims = ['SiStripCalZeroBias',
00084                  'MuAlCalIsolatedMu']
00085         step = stepALCAPRODUCER(skims)
00086         options = Options()
00087         options.__dict__.update(defaultOptions.__dict__)
00088         options.scenario = "cosmics"
00089         options.step = 'RAW2DIGI,L1Reco,RECO'+step+',L1HwVal,DQM,ENDJOB'
00090         options.isMC = False
00091         options.isData = True
00092         options.beamspot = None
00093         options.eventcontent = ','.join(writeTiers)
00094         options.datatier = ','.join(writeTiers)
00095         options.magField = 'AutoFromDBCurrent'
00096         options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
00097         options.relval = False
00098         
00099         process = cms.Process('RECO')
00100         cb = ConfigBuilder(options, process = process, with_output = True)
00101 
00102         # Input source
00103         process.source = cms.Source("NewEventStreamFileReader",
00104             fileNames = cms.untracked.vstring()
00105         )
00106         cb.prepare()
00107 
00108         customiseCosmicData(process)  
00109         return process
00110 

def Impl::cosmics::cosmics::promptReco (   self,
  globalTag,
  writeTiers = ['RECO'],
  args 
)
_promptReco_

Cosmic data taking prompt reco

Definition at line 31 of file cosmics.py.

00032                                                                   :
00033         """
00034         _promptReco_
00035 
00036         Cosmic data taking prompt reco
00037 
00038         """
00039 
00040         skims = ['TkAlBeamHalo',
00041                  'MuAlBeamHaloOverlaps',
00042                  'MuAlBeamHalo',
00043                  'TkAlCosmics0T',
00044                  'MuAlGlobalCosmics',
00045                  'MuAlCalIsolatedMu',
00046                  'HcalCalHOCosmics',
00047                  'DtCalib']
00048         step = stepALCAPRODUCER(skims)
00049         options = Options()
00050         options.__dict__.update(defaultOptions.__dict__)
00051         options.scenario = "cosmics"
00052         options.step = 'RAW2DIGI,L1Reco,RECO'+step+',L1HwVal,DQM,ENDJOB'
00053         options.isMC = False
00054         options.isData = True
00055         options.beamspot = None
00056         options.eventcontent = ','.join(writeTiers)
00057         options.datatier = ','.join(writeTiers)
00058         options.magField = 'AutoFromDBCurrent'
00059         options.conditions = "FrontierConditions_GlobalTag,%s" % globalTag
00060         options.relval = False
00061         
00062         process = cms.Process('RECO')
00063         cb = ConfigBuilder(options, process = process, with_output = True)
00064 
00065         # Input source
00066         process.source = cms.Source("PoolSource",
00067             fileNames = cms.untracked.vstring()
00068         )
00069         cb.prepare()
00070 
00071         customiseCosmicData(process)  
00072         return process
00073