Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("CONDOBJMON")
00004
00005
00006
00007
00008
00009 process.load("DQM.SiStripMonitorSummary.SiStripMonitorCondDataOffline_cfi")
00010 process.CondDataMonitoring.OutputMEsInRootFile = cms.bool(True)
00011 process.CondDataMonitoring.MonitorSiStripPedestal =cms.bool(False)
00012 process.CondDataMonitoring.MonitorSiStripNoise =cms.bool(False)
00013 process.CondDataMonitoring.MonitorSiStripQuality =cms.bool(True)
00014 process.CondDataMonitoring.MonitorSiStripCabling =cms.bool(False)
00015 process.CondDataMonitoring.MonitorSiStripLowThreshold =cms.bool(False)
00016 process.CondDataMonitoring.MonitorSiStripHighThreshold =cms.bool(False)
00017 process.CondDataMonitoring.MonitorSiStripApvGain =cms.bool(False)
00018 process.CondDataMonitoring.MonitorSiStripLorentzAngle =cms.bool(False)
00019
00020
00021 process.load("DQM.SiStripCommon.TkHistoMap_cfi");
00022
00023 process.source = cms.Source("EmptyIOVSource",
00024 lastValue = cms.uint64(insert_runnumber),
00025 timetype = cms.string('runnumber'),
00026 firstValue = cms.uint64(insert_runnumber),
00027 interval = cms.uint64(1)
00028 )
00029
00030 process.maxEvents = cms.untracked.PSet(
00031 input = cms.untracked.int32(1)
00032 )
00033
00034 process.MessageLogger = cms.Service("MessageLogger",
00035 debugModules = cms.untracked.vstring('SiStripMonitorCondData'),
00036 cout = cms.untracked.PSet(
00037 threshold = cms.untracked.string('Error')
00038 ),
00039 destinations = cms.untracked.vstring('Error.log',
00040 'cout')
00041 )
00042
00043 process.qTester = cms.EDFilter("QualityTester",
00044 qtList = cms.untracked.FileInPath('DQM/SiStripMonitorSummary/data/insert_QtestsFileName'),
00045 QualityTestPrescaler = cms.untracked.int32(1),
00046 getQualityTestsFromFile = cms.untracked.bool(True)
00047 )
00048
00049 process.DQMStore = cms.Service("DQMStore",
00050 referenceFileName = cms.untracked.string(''),
00051 verbose = cms.untracked.int32(1)
00052 )
00053
00054 import CalibTracker.Configuration.Common.PoolDBESSource_cfi
00055 siStripCond = CalibTracker.Configuration.Common.PoolDBESSource_cfi.PoolDBESSource.clone()
00056
00057 sistripconn = cms.ESProducer("SiStripConnectivity")
00058
00059 siStripCond.toGet = cms.VPSet(
00060 cms.PSet(
00061 record = cms.string('SiStripFedCablingRcd'),
00062 tag = cms.string('insert_FedCablingTag')
00063 ),
00064 cms.PSet(
00065 record = cms.string('SiStripNoisesRcd'),
00066 tag = cms.string('insert_NoiseTag')
00067 ),
00068 cms.PSet(
00069 record = cms.string('SiStripPedestalsRcd'),
00070 tag = cms.string('insert_PedestalTag')
00071 ),
00072 cms.PSet(
00073 record = cms.string('SiStripApvGainRcd'),
00074 tag = cms.string('SiStripGain_Ideal_21X')
00075 ),
00076 cms.PSet(
00077 record = cms.string('SiStripLorentzAngleRcd'),
00078 tag = cms.string('SiStripLorentzAngle_Ideal_21X')
00079 ),
00080 cms.PSet(
00081 record = cms.string('SiStripThresholdRcd'),
00082 tag = cms.string('insert_ThresholdTag')
00083 ))
00084
00085
00086
00087 siStripCond.connect = 'frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'
00088
00089 process.a = cms.ESSource("PoolDBESSource",
00090 appendToDataLabel = cms.string('test'),
00091 toGet = cms.VPSet(cms.PSet(
00092 record = cms.string('SiStripBadFiberRcd'),
00093
00094 tag = cms.string('insert_DB_Tag')
00095 )
00096 ),
00097 DBParameters = cms.PSet(
00098 authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
00099 ),
00100 timetype = cms.string('runnumber'),
00101 connect = cms.string('frontier://cmsfrontier.cern.ch:8000/FrontierProd/insertAccount'),
00102 BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService')
00103 )
00104
00105 process.MySSQ = cms.ESProducer("SiStripQualityESProducer",
00106 appendToDataLabel = cms.string(''),
00107 ReduceGranularity = cms.bool(True),
00108 ThresholdForReducedGranularity = cms.double(0.3),
00109 ListOfRecordToMerge = cms.VPSet(cms.PSet(
00110 record = cms.string('SiStripBadFiberRcd'),
00111
00112
00113 tag = cms.string('test')
00114 ))
00115 )
00116
00117
00118
00119
00120
00121
00122
00123
00124 process.p = cms.Path(process.CondDataMonitoring*process.qTester)
00125
00126
00127
00128
00129
00130
00131
00132