Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SIPIXELDQM")
0004 
0005 ##----## Geometry and other global parameters:
0006 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0007 process.load('Configuration.StandardSequences.MagneticField_cff')
0008 ###process.load("DQM.Integration.test.FrontierCondition_GT_cfi")
0009 
0010 ##----## Reco:
0011 process.load("Configuration.StandardSequences.Reconstruction_cff")
0012 
0013 #process.load("Configuration.StandardSequences.RawToDigi_cff")
0014 process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
0015 process.siPixelDigis.InputLabel = 'source'
0016 process.siPixelDigis.IncludeErrors = True
0017 
0018 process.load("RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi")
0019 
0020 #process.load("EventFilter.SiStripRawToDigi.SiStripDigis_cfi")
0021 process.load("EventFilter.SiStripRawToDigi.SiStripRawToDigis_standard_cff")
0022 process.siStripDigis.ProductLabel = 'source'
0023 
0024 process.load("RecoVertex.BeamSpotProducer.BeamSpot_cff")
0025 
0026 
0027 ##----## Central DQM:
0028 process.load("DQMServices.Core.DQM_cfg")
0029 process.load("DQMServices.Components.DQMEnvironment_cfi")
0030 process.DQM.collectorHost = ''
0031 process.dqmSaver.convention = 'Online'
0032 process.dqmSaver.producer = 'DQM'
0033 process.dqmEnv.subSystemFolder = 'Pixel'
0034 process.dqmSaver.dirName = '/tmp/merkelp/'
0035 process.dqmSaver.saveByLumiSection = 1
0036 process.dqmSaver.saveByRun = 1
0037 process.dqmSaver.saveAtJobEnd = True
0038 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0039 process.qTester = DQMQualityTester(
0040     qtList = cms.untracked.FileInPath('DQM/SiPixelMonitorClient/test/sipixel_qualitytest_config.xml'),
0041     prescaleFactor = cms.untracked.int32(1),
0042     getQualityTestsFromFile = cms.untracked.bool(True),
0043     testInEventloop = cms.untracked.bool(False),
0044     qtestOnEndRun = cms.untracked.bool(True),
0045     qtestOnEndJob = cms.untracked.bool(True),
0046     qtestOnEndLumi = cms.untracked.bool(True),
0047     verboseQT = cms.untracked.bool(True)
0048 )
0049 
0050 ##----## Pixel DQM P5/OFFLINE:
0051 #process.load("DQM.SiPixelCommon.SiPixelOfflineDQM_source_cff")
0052 #process.load("DQM.SiPixelCommon.SiPixelOfflineDQM_client_cff")
0053 process.load("DQM.SiPixelCommon.SiPixelP5DQM_source_cff")
0054 process.load("DQM.SiPixelCommon.SiPixelP5DQM_client_cff")
0055 ## the following sequences are declared therein:
0056 ## siPixelOfflineDQM_source, siPixelOfflineDQM_cosmics_source, siPixelOfflineDQM_source_woTrack
0057 ## PixelOfflineDQMClient, PixelOfflineDQMClientWithDataCertification
0058 ## siPixelP5DQM_source, siPixelP5DQM_cosmics_source, siPixelP5DQM_source_woTrack
0059 ## PixelP5DQMClient, PixelP5DQMClientWithDataCertification
0060 
0061 
0062 
0063 ##----## Other stuff:
0064 process.MessageLogger = cms.Service("MessageLogger",
0065     debugModules = cms.untracked.vstring('siPixelDigis', 
0066         'SiPixelRawDataErrorSource', 
0067         'SiPixelDigiSource', 
0068         'SiPixelClusterSource', 
0069         'SiPixelRecHitSource', 
0070         'sipixelEDAClient'),
0071     cout = cms.untracked.PSet(
0072         threshold = cms.untracked.string('ERROR')
0073     ),
0074     destinations = cms.untracked.vstring('cout')
0075 )
0076 process.AdaptorConfig = cms.Service("AdaptorConfig")
0077 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0078 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0079 
0080 ##----## Global tag and input data:
0081 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0082 #process.GlobalTag.connect ="sqlite_file:/afs/cern.ch/user/m/malgeri/public/globtag/CRZT210_V1.db"
0083 #process.GlobalTag.connect = "frontier://FrontierProd/CMS_COND_21X_GLOBALTAG"
0084 ###process.GlobalTag.globaltag = "GR09_R_V4::All"
0085 ###process.GlobalTag.globaltag = "CRAFT09_R_V9::All"
0086 process.GlobalTag.globaltag = "GR_R_38X_V8::All"
0087 
0088 
0089 process.es_prefer_GlobalTag = cms.ESPrefer('PoolDBESSource','GlobalTag')
0090 process.source = cms.Source("PoolSource",
0091     #debugFlag = cms.untracked.bool(True),
0092     #debugVebosity = cms.untracked.uint32(1),
0093     #fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/user/c/chiochia/cmssw/Muon_FullValidation_150pre3.root')
0094     #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')
0095     fileNames = cms.untracked.vstring(
0096     #'/store/express/BeamCommissioning09/StreamExpress/ALCARECO/v2/000/124/275/ECC2F9D5-F7E9-DE11-BF99-001D09F282F5.root',
0097     #'/store/express/BeamCommissioning09/StreamExpress/ALCARECO/v2/000/124/275/DE9A0B4E-F4E9-DE11-BF54-001D09F251CC.root',
0098     #'/store/express/BeamCommissioning09/StreamExpress/ALCARECO/v2/000/124/275/7AD672E3-F2E9-DE11-8173-001D09F24498.root',
0099     #'/store/express/BeamCommissioning09/StreamExpress/ALCARECO/v2/000/124/275/42B6AB0A-F5E9-DE11-8A92-001D09F2546F.root',
0100     #'/store/express/BeamCommissioning09/StreamExpress/ALCARECO/v2/000/124/275/228BA375-F6E9-DE11-8D89-000423D6A6F4.root',
0101     #'/store/express/BeamCommissioning09/StreamExpress/ALCARECO/v2/000/124/275/026B6140-F9E9-DE11-A392-001D09F28755.root'
0102     #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/124/275/FA12DE16-FCE9-DE11-8FFE-001D09F24DA8.root',
0103     #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/124/275/DE3F1AC9-F7E9-DE11-85C9-001D09F24303.root',
0104     #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/124/275/C83B2F2C-FEE9-DE11-8F2E-001D09F24934.root',
0105     #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/124/275/A8E551ED-F9E9-DE11-A59E-001D09F29849.root'
0106     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/133/874/F40E13A3-6B4F-DF11-A156-000423D987FC.root',
0107     #'/store/data/Commissioning10/Cosmics/RAW/v4/000/133/874/F0F602C6-794F-DF11-B259-001D09F23A84.root'
0108     '/store/data/Commissioning10/MinimumBias/RAW/v4/000/133/877/FAC1761E-A64F-DF11-BD37-003048D2BDD8.root',
0109     '/store/data/Commissioning10/MinimumBias/RAW/v4/000/133/877/FADF1B51-BF4F-DF11-9CE2-001D09F24353.root',
0110     '/store/data/Commissioning10/MinimumBias/RAW/v4/000/135/575/F03B0CDF-8261-DF11-8354-001D09F2960F.root'
0111     #'/store/data/Commissioning10/MinimumBias/RAW/v4/000/135/575/F058E355-7C61-DF11-ACEB-0030487D0D3A.root'
0112     #'/store/data/Run2010A/Cosmics/RAW/v1/000/136/902/3A8627D6-B56E-DF11-A09E-003048D3750A.root'  
0113         )
0114 )
0115 process.maxEvents = cms.untracked.PSet(
0116     input = cms.untracked.int32(-1)
0117 )
0118 
0119 ##----## Sequences and Paths:
0120 process.LocalReco = cms.Sequence(process.siPixelDigis*process.siPixelClusters*process.siPixelRecHits)
0121 process.TrackReco = cms.Sequence(process.siStripDigis*process.offlineBeamSpot*process.trackerlocalreco*process.recopixelvertexing*process.ckftracks)
0122 process.DQMmodules = cms.Sequence(process.qTester*process.dqmEnv*process.dqmSaver)
0123 
0124 #put proces.dump in the path where you want to print all event content
0125 #process.dump=cms.EDAnalyzer('EventContentAnalyzer')
0126 
0127 process.p = cms.Path(
0128              process.LocalReco*
0129              #process.TrackReco*
0130              process.DQMmodules*
0131              process.siPixelP5DQM_source_woTrack*
0132              #process.siPixelP5DQM_source*
0133              process.PixelP5DQMClientWithDataCertification
0134              #process.siPixelOfflineDQM_source_woTrack*
0135              #process.PixelOfflineDQMClientWithDataCertification
0136             )