CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/L1TMonitor/python/inputsource_file_cfi.py

Go to the documentation of this file.
00001 #
00002 # provide online L1 Trigger DQM input from file(s)
00003 #
00004 # V M Ghete 2010-07-09
00005 
00006 import FWCore.ParameterSet.Config as cms
00007 
00008 # choose the number of events and the type of the file
00009 
00010 maxEvents = cms.untracked.PSet(
00011     input = cms.untracked.int32(1000)
00012 )
00013 
00014 dataType = 'RAW'
00015 #dataType = 'StreamFile'
00016 
00017 # source according to data type
00018 if dataType == 'StreamFile' :
00019     readFiles = cms.untracked.vstring()
00020     source = cms.Source("NewEventStreamFileReader", fileNames=readFiles)
00021     
00022     readFiles.extend( [
00023         'file:/lookarea_SM/Data.00139796.0001.A.storageManager.00.0000.dat'
00024         ] );
00025 
00026 else :        
00027     readFiles = cms.untracked.vstring()
00028     secFiles = cms.untracked.vstring() 
00029     source = cms.Source ('PoolSource', fileNames=readFiles, secondaryFileNames=secFiles)
00030 
00031 
00032     runNumber=137028
00033     readFiles.extend( [
00034         '/store/data/Run2010A/ZeroBias/RAW/v1/000/137/028/0C88B386-3971-DF11-A163-000423D99896.root' 
00035         ] );