1 import FWCore.ParameterSet.Config
as cms
5 ALCARECOSiStripCalZeroBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
13 eventSetupPathsKey=
'SiStripCalZeroBias',
19 import CalibTracker.SiStripCommon.SiStripDCSFilter_cfi
20 DCSStatusForSiStripCalZeroBias = CalibTracker.SiStripCommon.SiStripDCSFilter_cfi.siStripDCSFilter.clone()
24 siStripQualityESProducerUnbiased = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
25 siStripQualityESProducerUnbiased.appendToDataLabel =
'unbiased' 26 siStripQualityESProducerUnbiased.ListOfRecordToMerge = cms.VPSet(
28 record = cms.string(
'SiStripDetCablingRcd' ),
29 tag = cms.string(
'' )
32 record = cms.string(
'SiStripBadChannelRcd' ),
33 tag = cms.string(
'' )
41 siStripUnbiasedClusterizerConditions = SiStripClusterizerConditionsESProducer.clone(QualityLabel=
"unbiased", Label=
"unbiased")
42 calZeroBiasClusters = siStripClusters.clone()
43 if hasattr(calZeroBiasClusters,
"Clusterizer"): calZeroBiasClusters.Clusterizer.ConditionsLabel =
'unbiased' 50 from CalibTracker.SiStripQuality.siStripQualityStatistics_cfi
import siStripQualityStatistics
51 qualityStatistics = siStripQualityStatistics.clone(StripQualityLabel=cms.string(
"unbiased"))
54 seqALCARECOSiStripCalZeroBias = cms.Sequence(ALCARECOSiStripCalZeroBiasHLT*DCSStatusForSiStripCalZeroBias*calZeroBiasClusters*APVPhases*consecutiveHEs)
57 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
58 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
59 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOSiStripCalZeroBiasHLT,
60 eventSetupPathsKey=
'SiStripCalZeroBiasHI' 64 import HLTrigger.special.hltPixelActivityFilter_cfi
65 HLTPixelActivityFilterForSiStripCalZeroBias = HLTrigger.special.hltPixelActivityFilter_cfi.hltPixelActivityFilter.clone()
66 HLTPixelActivityFilterForSiStripCalZeroBias.maxClusters = 500
67 HLTPixelActivityFilterForSiStripCalZeroBias.inputTag =
'siPixelClusters' 69 seqALCARECOSiStripCalZeroBiasHI = cms.Sequence(ALCARECOSiStripCalZeroBiasHLT*HLTPixelActivityFilterForSiStripCalZeroBias*DCSStatusForSiStripCalZeroBias*calZeroBiasClusters*APVPhases*consecutiveHEs)
72 (pp_on_XeXe_2017 | pp_on_AA).toReplaceWith(seqALCARECOSiStripCalZeroBias,
73 seqALCARECOSiStripCalZeroBiasHI