Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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/CRZT210_V1.db"
0031 process.GlobalTag.connect = "frontier://FrontierProd/CMS_COND_21X_GLOBALTAG"
0032 process.GlobalTag.globaltag = "CRZT210_V2::All"
0033 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0034 
0035 process.source = cms.Source("PoolSource",
0036     debugFlag = cms.untracked.bool(True),
0037     debugVebosity = cms.untracked.uint32(1),
0038     #fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/user/c/chiochia/cmssw/Muon_FullValidation_150pre3.root')
0039     #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')
0040     fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/cms/store/data/Commissioning08/Cosmics/RAW/MW33_v1/000/056/742/2CB57036-4C6A-DD11-9A04-000423D94990.root',
0041                                       'rfio:/castor/cern.ch/cms/store/data/Commissioning08/Cosmics/RAW/MW33_v1/000/056/742/7EB80A4C-4C6A-DD11-A589-000423D987E0.root',
0042                                       'rfio:/castor/cern.ch/cms/store/data/Commissioning08/Cosmics/RAW/MW33_v1/000/056/742/B0319435-4C6A-DD11-9B18-000423D952C0.root',
0043                                       'rfio:/castor/cern.ch/cms/store/data/Commissioning08/Cosmics/RAW/MW33_v1/000/056/742/B428FF51-4C6A-DD11-87D8-000423D986C4.root',
0044                                       'rfio:/castor/cern.ch/cms/store/data/Commissioning08/Cosmics/RAW/MW33_v1/000/056/742/DEAB1B33-4C6A-DD11-B83D-000423D99BF2.root'
0045                       )
0046 )
0047 
0048 process.maxEvents = cms.untracked.PSet(
0049     input = cms.untracked.int32(-1)
0050 )
0051 process.MessageLogger = cms.Service("MessageLogger",
0052     debugModules = cms.untracked.vstring('siPixelDigis', 
0053         'SiPixelRawDataErrorSource', 
0054         'SiPixelDigiSource', 
0055         'SiPixelClusterSource', 
0056         'SiPixelRecHitSource', 
0057         'sipixelEDAClient'),
0058     cout = cms.untracked.PSet(
0059         threshold = cms.untracked.string('ERROR')
0060     ),
0061     destinations = cms.untracked.vstring('cout')
0062 )
0063 
0064 process.AdaptorConfig = cms.Service("AdaptorConfig")
0065 
0066 process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
0067     FileSaveFrequency = cms.untracked.int32(50),
0068     StaticUpdateFrequency = cms.untracked.int32(10)
0069 )
0070 
0071 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0072 process.qTester = DQMQualityTester(
0073     qtList = cms.untracked.FileInPath('DQM/SiPixelMonitorClient/test/sipixel_qualitytest_config.xml'),
0074     QualityTestPrescaler = cms.untracked.int32(1),
0075     getQualityTestsFromFile = cms.untracked.bool(True)
0076 )
0077 
0078 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0079 
0080 process.Reco = cms.Sequence(process.siPixelDigis*process.siPixelClusters)
0081 process.RAWmonitor = cms.Sequence(process.SiPixelRawDataErrorSource)
0082 process.DIGImonitor = cms.Sequence(process.SiPixelDigiSource)
0083 process.CLUmonitor = cms.Sequence(process.SiPixelClusterSource)
0084 process.HITmonitor = cms.Sequence(process.SiPixelRecHitSource)
0085 process.DQMmodules = cms.Sequence(process.qTester*process.dqmEnv*process.dqmSaver)
0086 process.p = cms.Path(rocess.DQMmodules*process.RAWmonitor*process.DIGImonitor*process.CLUmonitor*process.HITmonitor*process.sipixelEDAClient)
0087 #process.p = cms.Path(process.DQMmodules*process.DIGImonitor*process.sipixelEDAClient)
0088 process.siPixelDigis.InputLabel = 'source'
0089 process.siPixelDigis.IncludeErrors = True
0090 process.SiPixelRawDataErrorSource.saveFile = False
0091 process.SiPixelRawDataErrorSource.isPIB = False
0092 process.SiPixelRawDataErrorSource.slowDown = False
0093 process.SiPixelDigiSource.saveFile = False
0094 process.SiPixelDigiSource.isPIB = False
0095 process.SiPixelDigiSource.slowDown = False
0096 process.SiPixelDigiSource.modOn = True
0097 process.SiPixelDigiSource.ladOn = False
0098 process.SiPixelDigiSource.layOn = False
0099 process.SiPixelDigiSource.phiOn = False
0100 process.SiPixelDigiSource.bladeOn = False
0101 process.SiPixelDigiSource.diskOn = False
0102 process.SiPixelDigiSource.ringOn = False
0103 process.SiPixelClusterSource.saveFile = False
0104 process.SiPixelClusterSource.modOn = True
0105 process.SiPixelClusterSource.ladOn = False
0106 process.SiPixelClusterSource.layOn = False
0107 process.SiPixelClusterSource.phiOn = False
0108 process.SiPixelClusterSource.bladeOn = False
0109 process.SiPixelClusterSource.diskOn = False
0110 process.SiPixelClusterSource.ringOn = False
0111 process.SiPixelRecHitSource.saveFile = False
0112 process.SiPixelRecHitSource.modOn = True
0113 process.SiPixelRecHitSource.ladOn = False
0114 process.SiPixelRecHitSource.layOn = False
0115 process.SiPixelRecHitSource.phiOn = False
0116 process.SiPixelRecHitSource.bladeOn = False
0117 process.SiPixelRecHitSource.ringOn = False
0118 process.SiPixelRecHitSource.diskOn = False
0119 process.DQM.collectorHost = ''
0120 process.dqmSaver.convention = 'Online'
0121 process.dqmSaver.producer = 'DQM'
0122 process.dqmEnv.subSystemFolder = 'Pixel'
0123 process.dqmSaver.dirName = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_PIXEL/data/'
0124 process.dqmSaver.saveByLumiSection = -1
0125 process.dqmSaver.saveByRun = 1
0126 process.dqmSaver.saveAtJobEnd = True
0127