File indexing completed on 2024-04-06 11:59:27
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 ALCARECOSiStripCalZeroBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006 andOr = True,
0007
0008
0009
0010
0011
0012
0013 eventSetupPathsKey='SiStripCalZeroBias',
0014 throw = False
0015 )
0016
0017
0018
0019 import CalibTracker.SiStripCommon.SiStripDCSFilter_cfi
0020 DCSStatusForSiStripCalZeroBias = CalibTracker.SiStripCommon.SiStripDCSFilter_cfi.siStripDCSFilter.clone()
0021
0022
0023 import CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi
0024 siStripQualityESProducerUnbiased = CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi.siStripQualityESProducer.clone()
0025 siStripQualityESProducerUnbiased.appendToDataLabel = 'unbiased'
0026 siStripQualityESProducerUnbiased.ListOfRecordToMerge = cms.VPSet(
0027 cms.PSet(
0028 record = cms.string( 'SiStripDetCablingRcd' ),
0029 tag = cms.string( '' )
0030 ),
0031 cms.PSet(
0032 record = cms.string( 'SiStripBadChannelRcd' ),
0033 tag = cms.string( '' )
0034 )
0035 )
0036
0037
0038
0039 from RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi import *
0040
0041 siStripUnbiasedClusterizerConditions = SiStripClusterizerConditionsESProducer.clone(QualityLabel="unbiased", Label="unbiased")
0042 calZeroBiasClusters = siStripClusters.clone()
0043 if hasattr(calZeroBiasClusters, "Clusterizer"): calZeroBiasClusters.Clusterizer.ConditionsLabel = 'unbiased'
0044
0045
0046 from DPGAnalysis.SiStripTools.eventwithhistoryproducerfroml1abc_cfi import *
0047 from DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1tsDB_cfi import *
0048
0049
0050 from CalibTracker.SiStripQuality.siStripQualityStatistics_cfi import siStripQualityStatistics
0051 qualityStatistics = siStripQualityStatistics.clone(StripQualityLabel=cms.string("unbiased"))
0052
0053
0054 seqALCARECOSiStripCalZeroBias = cms.Sequence(ALCARECOSiStripCalZeroBiasHLT*DCSStatusForSiStripCalZeroBias*calZeroBiasClusters*APVPhases*consecutiveHEs)
0055
0056
0057 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0058 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0059 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOSiStripCalZeroBiasHLT,
0060 eventSetupPathsKey='SiStripCalZeroBiasHI'
0061 )
0062
0063
0064 import HLTrigger.special.hltPixelActivityFilter_cfi
0065 HLTPixelActivityFilterForSiStripCalZeroBias = HLTrigger.special.hltPixelActivityFilter_cfi.hltPixelActivityFilter.clone()
0066 HLTPixelActivityFilterForSiStripCalZeroBias.maxClusters = 500
0067 HLTPixelActivityFilterForSiStripCalZeroBias.inputTag = 'siPixelClusters'
0068
0069 seqALCARECOSiStripCalZeroBiasHI = cms.Sequence(ALCARECOSiStripCalZeroBiasHLT*HLTPixelActivityFilterForSiStripCalZeroBias*DCSStatusForSiStripCalZeroBias*calZeroBiasClusters*APVPhases*consecutiveHEs)
0070
0071
0072 (pp_on_XeXe_2017 | pp_on_AA).toReplaceWith(seqALCARECOSiStripCalZeroBias,
0073 seqALCARECOSiStripCalZeroBiasHI
0074 )