Common/leftImage.jpg" alt="CMS 3D" align="left" border="0"/> Common/rightImage.jpg" alt="CMS Logo" align="right" border="0"/>

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/SiStripMonitorSummary/scripts/TemplateCfg21X_PedNoise_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms    
00002 
00003 process = cms.Process("CONDOBJMON")
00004 #-------------------------------------------------
00005 # CALIBRATION
00006 #-------------------------------------------------
00007 process.load("DQM.SiStripMonitorSummary.Tags21X_cff")
00008 
00009 
00010 #-------------------------------------------------
00011 # DQM
00012 #-------------------------------------------------
00013 process.load("DQM.SiStripMonitorSummary.SiStripMonitorCondDataOffline_cfi")
00014 process.CondDataMonitoring.OutputMEsInRootFile        = cms.bool(False)
00015 process.CondDataMonitoring.MonitorSiStripPedestal      =cms.bool(True)
00016 process.CondDataMonitoring.MonitorSiStripNoise         =cms.bool(True)
00017 process.CondDataMonitoring.MonitorSiStripQuality       =cms.bool(False)
00018 process.CondDataMonitoring.MonitorSiStripCabling       =cms.bool(True)
00019 process.CondDataMonitoring.MonitorSiStripLowThreshold  =cms.bool(True)
00020 process.CondDataMonitoring.MonitorSiStripHighThreshold =cms.bool(True)
00021 process.CondDataMonitoring.MonitorSiStripApvGain       =cms.bool(False)
00022 process.CondDataMonitoring.MonitorSiStripLorentzAngle  =cms.bool(False)
00023 
00024 process.load("DQM.SiStripCommon.TkHistoMap_cfi")
00025 process.load("DQM.SiStripMonitorClient.SiStripDQMOffline_cff")
00026 
00027 process.source = cms.Source("EmptyIOVSource",
00028     lastValue = cms.uint64(insert_runnumber),
00029     timetype = cms.string('runnumber'),
00030     firstValue = cms.uint64(insert_runnumber),
00031     interval = cms.uint64(1)
00032 )
00033 
00034 process.maxEvents = cms.untracked.PSet(
00035     input = cms.untracked.int32(1)
00036 )
00037 
00038 process.MessageLogger = cms.Service("MessageLogger",
00039     debugModules = cms.untracked.vstring('SiStripMonitorCondData'),
00040     cout = cms.untracked.PSet(
00041         threshold = cms.untracked.string('Error')
00042     ),
00043     destinations = cms.untracked.vstring('Error.log', 
00044         'cout')
00045 )
00046 
00047 process.qTester = cms.EDFilter("QualityTester",
00048     qtList = cms.untracked.FileInPath('DQM/SiStripMonitorSummary/data/insert_QtestsFileName'),
00049     QualityTestPrescaler = cms.untracked.int32(1),
00050     getQualityTestsFromFile = cms.untracked.bool(True)
00051 )
00052 
00053 process.DQMStore = cms.Service("DQMStore",
00054     referenceFileName = cms.untracked.string(''),
00055     verbose = cms.untracked.int32(1)
00056 )
00057 
00058 
00059 import CalibTracker.Configuration.Common.PoolDBESSource_cfi
00060 siStripCond = CalibTracker.Configuration.Common.PoolDBESSource_cfi.poolDBESSource.clone()
00061 
00062 sistripconn = cms.ESProducer("SiStripConnectivity")
00063 
00064 siStripCond.toGet = cms.VPSet(
00065     cms.PSet(
00066     record = cms.string('SiStripFedCablingRcd'),
00067     tag = cms.string('insert_FedCablingTag')
00068     ), 
00069     cms.PSet( 
00070         record = cms.string('SiStripNoisesRcd'),
00071         tag = cms.string('insert_NoiseTag')
00072     ), 
00073     cms.PSet(
00074         record = cms.string('SiStripPedestalsRcd'),
00075         tag = cms.string('insert_PedestalTag')
00076     ),
00077     cms.PSet(
00078         record = cms.string('SiStripApvGainRcd'),
00079         tag = cms.string('SiStripGain_Ideal_21X')
00080     ),
00081     cms.PSet(
00082         record = cms.string('SiStripLorentzAngleRcd'),
00083         tag = cms.string('SiStripLorentzAngle_Ideal_21X')
00084     ),     
00085     cms.PSet(
00086         record = cms.string('SiStripThresholdRcd'),
00087         tag = cms.string('insert_ThresholdTag')
00088     ))
00089 
00090 
00091     
00092 siStripCond.connect = 'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
00093 
00094 
00095     #-------------------------------------------------
00096     ## Scheduling
00097     #-------------------------------------------------
00098 
00099 ####process.p = cms.Path(process.CondDataMonitoring*process.qTester)
00100 process.p = cms.Path(process.CondDataMonitoring*process.SiStripOfflineDQMClient*process.qTester*process.dqmSaver)
00101 
00102 
00103 
00104 
00105 
00106   
00107