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("DQMOfflineRealData")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     cout = cms.untracked.PSet(
0010         enable = cms.untracked.bool(True),
0011         threshold = cms.untracked.string('ERROR')
0012     ),
0013     debugModules = cms.untracked.vstring(
0014         'SiStripZeroSuppression', 
0015         'SiStripMonitorDigi', 
0016         'SiStripMonitorCluster', 
0017         'SiStripMonitorTrackSim', 
0018         'MonitorTrackResidualsSim'
0019     )
0020 )
0021 
0022 #-------------------------------------------------
0023 # Magnetic Field
0024 #-------------------------------------------------
0025 process.load("Configuration.StandardSequences.MagneticField_0T_cff")
0026 process.prefer("VolumeBasedMagneticFieldESProducer")
0027 
0028 #-------------------------------------------------
0029 # Geometry
0030 #-------------------------------------------------
0031 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0032 
0033 #-------------------------------------------------
0034 # Calibration
0035 #-------------------------------------------------
0036 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0037 #process.GlobalTag.connect = "frontier://FrontierInt/CMS_COND_30X_GLOBALTAG"
0038 process.GlobalTag.globaltag = "CRAFT_30X::All"
0039 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0040 
0041 #-----------------------
0042 # Reconstruction Modules
0043 #-----------------------
0044 process.load("DQM.SiStripMonitorClient.RecoForDQM_Cosmic_cff")
0045 
0046 #--------------------------
0047 # DQM
0048 #--------------------------
0049 process.load("DQM.SiStripMonitorClient.SiStripDQMOffline_cff")
0050 
0051 process.p = cms.Path(process.RecoForDQMCosmic*process.SiStripDQMOffRealData)
0052 
0053 process.AdaptorConfig = cms.Service("AdaptorConfig")
0054 
0055 #-------------------------
0056 # Input Events
0057 #-------------------------
0058 process.source = cms.Source("PoolSource",
0059     fileNames = cms.untracked.vstring(
0060        '/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/057/498/22957003-566D-DD11-994B-001617C3B654.root',
0061        '/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/057/498/2E0A2187-556D-DD11-8FD5-001617C3B70E.root',
0062        '/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/057/498/3AA5D2BD-576D-DD11-A629-000423D6CA72.root',
0063        '/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/057/498/A0A8861B-5A6D-DD11-A686-000423D986A8.root'
0064     )
0065 )
0066 
0067 process.maxEvents = cms.untracked.PSet(
0068     input = cms.untracked.int32(10)
0069 )
0070 
0071