2 Module to remove SiStrip DCS checks in Strip and Tracking Monitors 5 import FWCore.ParameterSet.Config
as cms
8 return [module
for module
in process._Process__producers.values()
if module._TypedParameterizable__type
in types]
11 print(
'WARNING: removing SiStrip DCS Checks in Strip and Tracking Monitors')
13 for producerType
in [
'SiStripMonitorTrack',
'SiStripMonitorCluster']:
15 producer.UseDCSFiltering = cms.bool(
False)
18 producer.StripDCSfilter.dcsPartitions = cms.vint32(acceptedParts)
21 producer.genericTriggerEventPSet.dcsPartitions = cms.vint32(acceptedParts)
def producers_by_type(process, types)
def removePixelDCSChecks(process)
def removeDCSChecks(process, acceptedParts)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
def removeStripDCSChecks(process)
def removeTrackerDCSChecks(process)