CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DPGAnalysis/SiStripTools/python/sistripqualityhistory_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 import CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi
00004 
00005 ssqcabling = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
00006 ssqcabling.appendToDataLabel = cms.string("onlyCabling")
00007 ssqcabling.ListOfRecordToMerge=cms.VPSet(
00008  cms.PSet(record=cms.string('SiStripDetCablingRcd'),tag=cms.string(''))
00009 )
00010 
00011 ssqruninfo = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
00012 ssqruninfo.appendToDataLabel = cms.string("CablingRunInfo")
00013 ssqruninfo.ListOfRecordToMerge=cms.VPSet(
00014  cms.PSet(record=cms.string('SiStripDetCablingRcd'),tag=cms.string('')),
00015  cms.PSet(record=cms.string('RunInfoRcd'),tag=cms.string(''))
00016 )
00017 
00018 ssqbadch = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
00019 ssqbadch.appendToDataLabel = cms.string("BadChannel")
00020 ssqbadch.ListOfRecordToMerge=cms.VPSet(
00021  cms.PSet(record=cms.string('SiStripDetCablingRcd'),tag=cms.string('')),
00022  cms.PSet(record=cms.string('RunInfoRcd'),tag=cms.string('')),
00023  cms.PSet(record=cms.string('SiStripBadChannelRcd'),tag=cms.string(''))
00024 ) 
00025 
00026 ssqbadfiber = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
00027 ssqbadfiber.appendToDataLabel = cms.string("BadFiber")
00028 ssqbadfiber.ListOfRecordToMerge=cms.VPSet(
00029  cms.PSet(record=cms.string('SiStripDetCablingRcd'),tag=cms.string('')),
00030  cms.PSet(record=cms.string('RunInfoRcd'),tag=cms.string('')),
00031  cms.PSet(record=cms.string('SiStripBadChannelRcd'),tag=cms.string('')),
00032  cms.PSet(record=cms.string('SiStripBadFiberRcd'),tag=cms.string(''))
00033 )
00034 
00035 
00036 from DPGAnalysis.SiStripTools.sistripqualityhistory_cfi import *
00037 
00038 ssqhistory.monitoredSiStripQuality = cms.VPSet(
00039     cms.PSet( name = cms.string("Cabling"), ssqLabel = cms.string("onlyCabling")),
00040     cms.PSet( name = cms.string("RunInfo"), ssqLabel = cms.string("CablingRunInfo")),
00041     cms.PSet( name = cms.string("BadChannel"), ssqLabel = cms.string("BadChannel")),
00042     cms.PSet( name = cms.string("BadFiber"), ssqLabel = cms.string("BadFiber"))
00043    )