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 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0007 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0010 process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
0011 process.siPixelDigis.InputLabel = 'source'
0012 process.siPixelDigis.IncludeErrors = True
0013 
0014 process.load("RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi")
0015 
0016 process.load("RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi")
0017 process.load("RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff")
0018 
0019 process.load("DQM.SiPixelMonitorRawData.SiPixelMonitorRawData_cfi")
0020 process.SiPixelRawDataErrorSource.saveFile = False
0021 process.SiPixelRawDataErrorSource.isPIB = False
0022 process.SiPixelRawDataErrorSource.slowDown = False
0023 process.SiPixelRawDataErrorSource.reducedSet = False
0024 
0025 process.load("DQM.SiPixelMonitorDigi.SiPixelMonitorDigi_cfi")
0026 process.SiPixelDigiSource.saveFile = False
0027 process.SiPixelDigiSource.isPIB = False
0028 process.SiPixelDigiSource.slowDown = False
0029 process.SiPixelDigiSource.modOn = True
0030 process.SiPixelDigiSource.twoDimOn = True
0031 process.SiPixelDigiSource.hiRes = True
0032 process.SiPixelDigiSource.ladOn = False
0033 process.SiPixelDigiSource.layOn = False
0034 process.SiPixelDigiSource.phiOn = False
0035 process.SiPixelDigiSource.bladeOn = False
0036 process.SiPixelDigiSource.diskOn = False
0037 process.SiPixelDigiSource.ringOn = False
0038 
0039 process.load("DQM.SiPixelMonitorCluster.SiPixelMonitorCluster_cfi")
0040 process.SiPixelClusterSource.saveFile = False
0041 process.SiPixelClusterSource.isPIB = False
0042 process.SiPixelClusterSource.modOn = True
0043 process.SiPixelClusterSource.twoDimOn = True
0044 process.SiPixelClusterSource.reducedSet = False
0045 process.SiPixelClusterSource.ladOn = False
0046 process.SiPixelClusterSource.layOn = False
0047 process.SiPixelClusterSource.phiOn = False
0048 process.SiPixelClusterSource.bladeOn = False
0049 process.SiPixelClusterSource.diskOn = False
0050 process.SiPixelClusterSource.ringOn = False
0051 
0052 process.load("DQM.SiPixelMonitorRecHit.SiPixelMonitorRecHit_cfi")
0053 process.SiPixelRecHitSource.saveFile = False
0054 process.SiPixelRecHitSource.isPIB = False
0055 process.SiPixelRecHitSource.modOn = True
0056 process.SiPixelRecHitSource.twoDimOn = True
0057 process.SiPixelRecHitSource.ladOn = False
0058 process.SiPixelRecHitSource.layOn = False
0059 process.SiPixelRecHitSource.phiOn = False
0060 process.SiPixelRecHitSource.bladeOn = False
0061 process.SiPixelRecHitSource.ringOn = False
0062 process.SiPixelRecHitSource.diskOn = False
0063 
0064 process.load("DQM.SiPixelMonitorTrack.SiPixelMonitorTrack_cfi")
0065 process.SiPixelTrackResidualSource.TrackCandidateProducer = 'ckfTrackCandidatesP5'
0066 process.SiPixelTrackResidualSource.debug = False
0067 
0068 process.load("DQM.SiStripMonitorClient.RecoForDQM_Cosmic_cff")
0069 
0070 
0071 process.load("DQMServices.Core.DQM_cfg")
0072 
0073 process.load("DQMServices.Components.DQMEnvironment_cfi")
0074 
0075 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0076 process.GlobalTag.connect = "frontier://FrontierProd/CMS_COND_21X_GLOBALTAG"
0077 process.GlobalTag.globaltag = "CRAFT_V3P::All"
0078 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0079 
0080 process.source = cms.Source("PoolSource",
0081     debugFlag = cms.untracked.bool(True),
0082     debugVebosity = cms.untracked.uint32(1),
0083     ONEPARAM
0084     TWOPARAM
0085     fileNames = cms.untracked.vstring(
0086     'FILENAME')
0087 )
0088 
0089 process.maxEvents = cms.untracked.PSet(
0090     input = cms.untracked.int32(100000)
0091 )
0092 process.MessageLogger = cms.Service("MessageLogger",
0093     debugModules = cms.untracked.vstring('siPixelDigis', 
0094         'SiPixelRawDataErrorSource', 
0095         'SiPixelDigiSource', 
0096         'SiPixelClusterSource', 
0097         'SiPixelRecHitSource', 
0098         'sipixelEDAClient'),
0099     TEXTFILE = cms.untracked.PSet(
0100         threshold = cms.untracked.string('ERROR')
0101     ),
0102     destinations = cms.untracked.vstring('TEXTFILE')
0103 )
0104 
0105 process.AdaptorConfig = cms.Service("AdaptorConfig")
0106 
0107 process.sipixelEDAClient = DQMEDHarvester("SiPixelEDAClient",
0108     EventOffsetForInit = cms.untracked.int32(10),
0109     ActionOnLumiSection = cms.untracked.bool(False),
0110     ActionOnRunEnd = cms.untracked.bool(True),
0111     HighResolutionOccupancy = cms.untracked.bool(True),
0112     NoiseRateCutValue = cms.untracked.double(.001),
0113     NEventsForNoiseCalculation = cms.untracked.int32(100000)
0114 )
0115 
0116 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0117 process.qTester = DQMQualityTester(
0118     qtList = cms.untracked.FileInPath('DQM/SiPixelMonitorClient/test/sipixel_qualitytest_config.xml'),
0119     QualityTestPrescaler = cms.untracked.int32(1),
0120     getQualityTestsFromFile = cms.untracked.bool(True)
0121 )
0122 
0123 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0124 
0125 process.Reco = cms.Sequence(process.siPixelDigis*process.siPixelClusters*process.siPixelRecHits)
0126 process.RAWmonitor = cms.Sequence(process.SiPixelRawDataErrorSource)
0127 process.DIGImonitor = cms.Sequence(process.SiPixelDigiSource)
0128 process.CLUmonitor = cms.Sequence(process.SiPixelClusterSource)
0129 process.HITmonitor = cms.Sequence(process.SiPixelRecHitSource)
0130 process.TRAmonitor = cms.Sequence(process.SiPixelTrackResidualSource)
0131 process.DQMmodules = cms.Sequence(process.qTester*process.dqmEnv*process.dqmSaver)
0132 process.p = cms.Path(process.RecoForDQMCosmic*process.qTester*process.dqmEnv*process.RAWmonitor*process.DIGImonitor*process.CLUmonitor*process.HITmonitor*process.TRAmonitor*process.sipixelEDAClient*process.dqmSaver)
0133 # process.p = cms.Path(process.Reco*process.qTester*process.dqmEnv*process.RAWmonitor*process.DIGImonitor*process.CLUmonitor*process.HITmonitor*process.sipixelEDAClient*process.dqmSaver)
0134 process.DQM.collectorHost = ''
0135 process.dqmSaver.convention = 'Online'
0136 process.dqmSaver.producer = 'DQM'
0137 process.dqmEnv.subSystemFolder = 'Pixel'
0138 process.dqmSaver.dirName = '.'
0139 process.dqmSaver.saveByLumiSection = -1
0140 process.dqmSaver.saveByRun = 1
0141 process.dqmSaver.saveAtJobEnd = True