File indexing completed on 2024-04-06 12:08:17
0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003
0004 process = cms.Process("SIPIXELDQM")
0005 process.load("Geometry.TrackerSimData.trackerSimGeometryXML_cfi")
0006
0007 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0008
0009 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0010
0011 process.load("Configuration.StandardSequences.MagneticField_cff")
0012
0013 process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
0014
0015 process.load("RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi")
0016
0017 process.load("DQM.SiPixelMonitorRawData.SiPixelMonitorRawData_cfi")
0018
0019 process.load("DQM.SiPixelMonitorDigi.SiPixelMonitorDigi_cfi")
0020
0021 process.load("DQM.SiPixelMonitorCluster.SiPixelMonitorCluster_cfi")
0022
0023 process.load("DQM.SiPixelMonitorRecHit.SiPixelMonitorRecHit_cfi")
0024
0025 process.load("DQMServices.Core.DQM_cfg")
0026
0027 process.load("DQMServices.Components.DQMEnvironment_cfi")
0028
0029 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0030 process.GlobalTag.connect ="sqlite_file:/afs/cern.ch/user/m/malgeri/public/globtag/CRUZET3_V7.db"
0031 process.GlobalTag.globaltag = "CRUZET3_V7::All"
0032 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0033
0034 process.source = cms.Source("PoolSource",
0035 debugFlag = cms.untracked.bool(True),
0036 debugVebosity = cms.untracked.uint32(1),
0037
0038 fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/cms/store/relval/2008/6/6/RelVal-RelValTTbar-1212531852-IDEAL_V1-2nd-02/0000/081018D5-EC33-DD11-A623-000423D6CA42.root')
0039 )
0040
0041 process.maxEvents = cms.untracked.PSet(
0042 input = cms.untracked.int32(-1)
0043 )
0044 process.MessageLogger = cms.Service("MessageLogger",
0045 debugModules = cms.untracked.vstring('siPixelDigis',
0046 'SiPixelRawDataErrorSource',
0047 'SiPixelDigiSource',
0048 'SiPixelClusterSource',
0049 'SiPixelRecHitSource',
0050 'sipixelEDAClient'),
0051 cout = cms.untracked.PSet(
0052 threshold = cms.untracked.string('ERROR')
0053 ),
0054 destinations = cms.untracked.vstring('cout')
0055 )
0056
0057 process.AdaptorConfig = cms.Service("AdaptorConfig")
0058
0059 process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
0060 FileSaveFrequency = cms.untracked.int32(50),
0061 StaticUpdateFrequency = cms.untracked.int32(10)
0062 )
0063
0064 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0065 process.qTester = DQMQualityTester(
0066 qtList = cms.untracked.FileInPath('DQM/SiPixelMonitorClient/test/sipixel_qualitytest_config.xml'),
0067 QualityTestPrescaler = cms.untracked.int32(1),
0068 getQualityTestsFromFile = cms.untracked.bool(True)
0069 )
0070
0071 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0072
0073 process.Reco = cms.Sequence(process.siPixelDigis*process.siPixelClusters)
0074 process.RAWmonitor = cms.Sequence(process.SiPixelRawDataErrorSource)
0075 process.DIGImonitor = cms.Sequence(process.SiPixelDigiSource)
0076 process.CLUmonitor = cms.Sequence(process.SiPixelClusterSource)
0077 process.HITmonitor = cms.Sequence(process.SiPixelRecHitSource)
0078 process.DQMmodules = cms.Sequence(process.qTester*process.dqmEnv*process.dqmSaver)
0079 process.p = cms.Path(process.Reco*process.DQMmodules*process.RAWmonitor*process.DIGImonitor*process.CLUmonitor*process.sipixelEDAClient)
0080
0081 process.siPixelDigis.InputLabel = 'source'
0082 process.siPixelDigis.IncludeErrors = True
0083 process.SiPixelRawDataErrorSource.saveFile = False
0084 process.SiPixelRawDataErrorSource.isPIB = False
0085 process.SiPixelRawDataErrorSource.slowDown = False
0086 process.SiPixelDigiSource.saveFile = False
0087 process.SiPixelDigiSource.isPIB = False
0088 process.SiPixelDigiSource.slowDown = False
0089 process.SiPixelDigiSource.modOn = True
0090 process.SiPixelDigiSource.ladOn = False
0091 process.SiPixelDigiSource.layOn = False
0092 process.SiPixelDigiSource.phiOn = False
0093 process.SiPixelDigiSource.bladeOn = False
0094 process.SiPixelDigiSource.diskOn = False
0095 process.SiPixelDigiSource.ringOn = False
0096 process.SiPixelClusterSource.saveFile = False
0097 process.SiPixelClusterSource.modOn = True
0098 process.SiPixelClusterSource.ladOn = False
0099 process.SiPixelClusterSource.layOn = False
0100 process.SiPixelClusterSource.phiOn = False
0101 process.SiPixelClusterSource.bladeOn = False
0102 process.SiPixelClusterSource.diskOn = False
0103 process.SiPixelClusterSource.ringOn = False
0104 process.SiPixelRecHitSource.saveFile = False
0105 process.SiPixelRecHitSource.modOn = True
0106 process.SiPixelRecHitSource.ladOn = False
0107 process.SiPixelRecHitSource.layOn = False
0108 process.SiPixelRecHitSource.phiOn = False
0109 process.SiPixelRecHitSource.bladeOn = False
0110 process.SiPixelRecHitSource.ringOn = False
0111 process.SiPixelRecHitSource.diskOn = False
0112 process.DQM.collectorHost = ''
0113 process.dqmSaver.convention = 'Online'
0114 process.dqmSaver.producer = 'DQM'
0115 process.dqmEnv.subSystemFolder = 'Pixel'
0116 process.dqmSaver.dirName = '.'
0117 process.dqmSaver.saveByLumiSection = -1
0118 process.dqmSaver.saveByRun = 1
0119 process.dqmSaver.saveAtJobEnd = True
0120