Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTMonitorStream")
0004 
0005 # the source
0006 process.source = cms.Source("PoolSource",
0007     fileNames = cms.untracked.vstring(
0008     '/store/data/Commissioning09/Cosmics/RAW/v2/000/102/173/F04B7D65-4E67-DE11-AFE3-000423D952C0.root',
0009     '/store/data/Commissioning09/Cosmics/RAW/v2/000/102/173/ECC3F663-4E67-DE11-ABD0-000423D94A20.root',
0010     '/store/data/Commissioning09/Cosmics/RAW/v2/000/102/173/D650D167-4E67-DE11-853D-000423D98A44.root',
0011     '/store/data/Commissioning09/Cosmics/RAW/v2/000/102/173/D29CE383-4B67-DE11-9FF6-000423D951D4.root',
0012     '/store/data/Commissioning09/Cosmics/RAW/v2/000/102/173/CCC5CAD4-4A67-DE11-B9CB-000423D99660.root',
0013     '/store/data/Commissioning09/Cosmics/RAW/v2/000/102/173/8C905A66-4E67-DE11-9A59-000423D6A6F4.root',
0014     '/store/data/Commissioning09/Cosmics/RAW/v2/000/102/173/20221969-4E67-DE11-915E-000423D99BF2.root'
0015    ),
0016    skipEvents = cms.untracked.uint32(95000)                       
0017 )
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(5000)
0021 )
0022 
0023 
0024 process.load("Configuration.StandardSequences.Geometry_cff")
0025 
0026 
0027 # Conditions (Global Tag is used here):
0028 process.load("Configuration.StandardSequences.CondDBESSource_cff")
0029 process.GlobalTag.globaltag = "GR09_31X_V2P::All"
0030 
0031 process.load("HLTrigger.special.hltDTROMonitorFilter_cfi")
0032 
0033 # # message logger
0034 process.MessageLogger = cms.Service("MessageLogger",
0035                                     debugModules = cms.untracked.vstring('*'),
0036                                     destinations = cms.untracked.vstring('cout'),
0037                                     categories = cms.untracked.vstring('DTDataIntegrityTask'), 
0038                                     cout = cms.untracked.PSet(threshold = cms.untracked.string('WARNING'),
0039                                                               noLineBreaks = cms.untracked.bool(False),
0040                                                               DEBUG = cms.untracked.PSet(
0041                                                                 limit = cms.untracked.int32(0)),
0042                                                               INFO = cms.untracked.PSet(
0043                                                                 limit = cms.untracked.int32(-1)),
0044                                                               DTDataIntegrityTask = cms.untracked.PSet(
0045                                                                 limit = cms.untracked.int32(-1))
0046                                                               )
0047                                     )
0048 
0049 
0050 
0051 
0052 
0053 
0054 # --- Timing --------------------------------------------------------------
0055 # process.load("HLTrigger.Timer.timer_cfi")
0056 # process.TimerService = cms.Service("TimerService",
0057 #                                    useCPUtime = cms.untracked.bool(True)
0058 #                                    )
0059 # process.pts = cms.EDFilter("PathTimerInserter")
0060 # process.PathTimerService = cms.Service("PathTimerService")
0061 # -------------------------------------------------------------------------
0062 
0063 
0064 # --- Output Module -------------------------------------------------------
0065 process.out = cms.OutputModule("PoolOutputModule",
0066                                outputCommands = cms.untracked.vstring('drop *', 
0067                                                                       'keep *_fedSelector_*_*'),
0068                                fileName = cms.untracked.string('dtDebugStream.root'),
0069                                SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('dtROMonitorSelection'))
0070                                )
0071 
0072 # -------------------------------------------------------------------------
0073 
0074 process.dtROMonitorSelection = cms.Path(process.hltDTROMonitorFilter)
0075 
0076 
0077 process.options = cms.untracked.PSet(
0078     fileMode = cms.untracked.string('FULLMERGE'),
0079     wantSummary = cms.untracked.bool(True)
0080     )
0081 
0082 process.outpath = cms.EndPath(process.out)
0083