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.SiPixelMonitorHLT_cfi")
0025 process.SiPixelHLTSource.saveFile = True
0026 #process.SiPixelHLTSource.isPIB = False
0027 process.SiPixelHLTSource.slowDown = False
0028 #process.SiPixelHLTSource.reducedSet = False
0029 
0030 
0031 process.source = cms.Source("PoolSource",
0032     fileNames = cms.untracked.vstring(
0033   '/store/data/Commissioning10/MinimumBias/RAW/v4/000/133/877/FAC1761E-A64F-DF11-BD37-003048D2BDD8.root'
0034 #  '/store/data/Commissioning10/MinimumBias/RAW/v4/000/133/877/FADF1B51-BF4F-DF11-9CE2-001D09F24353.root'
0035     )
0036 )
0037 
0038 
0039 ##
0040 ## number of events
0041 ##
0042 process.maxEvents = cms.untracked.PSet(
0043     input = cms.untracked.int32(-1) )
0044 
0045 process.p1 = cms.Path(process.siPixelDigis*process.SiPixelHLTSource)
0046 
0047 process.MessageLogger.cerr.FwkReport.reportEvery = 10
0048 process.MessageLogger.cerr.threshold = 'INFO'