Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-05-12 22:39:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Demo")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 
0006 # DQM services
0007 process.load("DQMServices.Core.DQM_cfg")
0008 
0009 # Database configuration
0010 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0011 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0012 
0013 # conditions
0014 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0015 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0016 process.GlobalTag.globaltag = "GR10_P_V4::All"
0017 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0018 
0019 # Pixel RawToDigi conversion
0020 process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
0021 process.siPixelDigis.InputLabel = "source"
0022 process.siPixelDigis.IncludeErrors = True
0023 
0024 process.load("DQM.SiPixelMonitorRawData.SiPixelMonitorRawData_cfi")
0025 process.SiPixelRawDataErrorSource.saveFile = True
0026 #process.SiPixelRawDataErrorSource.isPIB = True
0027 process.SiPixelRawDataErrorSource.slowDown = False
0028 #process.SiPixelHLTSource.reducedSet = False
0029 process.SiPixelRawDataErrorSource.modOn = True
0030 process.SiPixelRawDataErrorSource.ladOn = False
0031 process.SiPixelRawDataErrorSource.bladeOn = False
0032 
0033 
0034 process.source = cms.Source("PoolSource",
0035     fileNames = cms.untracked.vstring(
0036   '/store/data/Commissioning10/MinimumBias/RAW/v4/000/133/877/FAC1761E-A64F-DF11-BD37-003048D2BDD8.root'
0037 #  '/store/data/Commissioning10/MinimumBias/RAW/v4/000/133/877/FADF1B51-BF4F-DF11-9CE2-001D09F24353.root'
0038     )
0039 )
0040 
0041 
0042 ##
0043 ## number of events
0044 ##
0045 process.maxEvents = cms.untracked.PSet(
0046     input = cms.untracked.int32(1000) )
0047 
0048 
0049 process.p1 = cms.Path(process.siPixelDigis*process.SiPixelRawDataErrorSource)
0050 
0051 process.MessageLogger.cerr.FwkReport.reportEvery = 10
0052 process.MessageLogger.cerr.threshold = 'INFO'
0053