Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SiStrpDQMTier0Test")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     debugModules = cms.untracked.vstring('siStripDigis', 
0007                                          'siStripClusters', 
0008                                          'siStripZeroSuppression', 
0009                                          'SiStripClusterizer'),
0010     cout = cms.untracked.PSet(threshold = cms.untracked.string('ERROR')),
0011     destinations = cms.untracked.vstring('cout')
0012 )
0013 
0014 #----------------------------
0015 # Event Source
0016 #-----------------------------
0017 process.source = cms.Source("PoolSource",
0018     fileNames = cms.untracked.vstring(
0019 ## CRAFT08   
0020 #       '/store/data/Commissioning08/Cosmics/RAW/v1/000/067/838/006945C8-40A5-DD11-BD7E-001617DBD556.root'
0021 #      '/store/data/Commissioning08/Cosmics/RAW/v1/000/067/838/00BAAF73-52A5-DD11-9351-001D09F23A84.root'
0022 
0023 ## CRAFT09
0024        '/store/data/CRAFT09/Cosmics/RAW/v1/000/110/998/001404E1-0F8A-DE11-ADB3-000423D99EEE.root',
0025 #      '/store/data/CRAFT09/Cosmics/RAW/v1/000/110/998/002174A8-E989-DE11-8B4D-000423D6CA42.root'
0026       
0027     )
0028 )
0029 
0030 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(2000))
0031 
0032 #----------------------------
0033 # DQM Environment
0034 #-----------------------------
0035 process.load("DQMServices.Core.DQM_cfg")
0036 
0037 process.load("DQMServices.Components.DQMEnvironment_cfi")
0038 
0039 #----------------------------
0040 # DQM Playback Environment
0041 #-----------------------------
0042 process.load("DQM.Integration.test.environment_playback_cfi")
0043 process.dqmEnv.subSystemFolder    = "SiStrip"
0044 
0045 #-----------------------------
0046 # Magnetic Field
0047 #-----------------------------
0048 
0049 process.load('Configuration.StandardSequences.MagneticField_cff')
0050 
0051 #-------------------------------------------------
0052 # GEOMETRY
0053 #-------------------------------------------------
0054 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0055 
0056 #--------------------------
0057 # Calibration
0058 #--------------------------
0059 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0060 # CRAFT08
0061 #process.GlobalTag.globaltag = CRAFT0831X_V1::All
0062 # CRAFT09
0063 process.GlobalTag.globaltag = "CRAFT09_R_V3::All"
0064 
0065 #-----------------------
0066 #  Reconstruction Modules
0067 #-----------------------
0068 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0069 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0070 
0071 #--------------------------
0072 # Strip DQM Sources and DQ
0073 #--------------------------
0074 process.load("DQM.SiStripMonitorClient.SiStripDQMTier0GlobalRun_cff")
0075 
0076 #----------------------- 
0077 # output module
0078 #----------------------
0079 process.myOut = cms.OutputModule("PoolOutputModule",
0080                                   fileName = cms.untracked.string('sistrip_reco1.root'),
0081                                   outputCommands = cms.untracked.vstring('drop *', 'keep *_MEtoEDMConverter_*_*')
0082                                 )
0083 #--------------------------
0084 # Scheduling
0085 #--------------------------
0086 process.p = cms.Path(process.siPixelDigis*process.siStripDigis*process.trackerCosmics*process.SiStripDQMTest)
0087 
0088 
0089 process.outpath = cms.EndPath(process.myOut)