From 9828d4ffeba8a1ed74580dec84e473593162c965 Mon Sep 17 00:00:00 2001 From: Martin Grunewald Date: Tue, 14 Mar 2017 09:46:34 +0100 Subject: [PATCH] Cleanup of customization files moved into ConfDB menus --- .../customizeHLTTrackingForPhaseI2017.py | 461 ------------------ .../python/customizeHLTforHCALPhaseI.py | 370 -------------- .../python/customizeHLTforHighPU.py | 30 -- 3 files changed, 861 deletions(-) delete mode 100644 HLTrigger/Configuration/python/customizeHLTTrackingForPhaseI2017.py delete mode 100644 HLTrigger/Configuration/python/customizeHLTforHCALPhaseI.py delete mode 100644 HLTrigger/Configuration/python/customizeHLTforHighPU.py diff --git a/HLTrigger/Configuration/python/customizeHLTTrackingForPhaseI2017.py b/HLTrigger/Configuration/python/customizeHLTTrackingForPhaseI2017.py deleted file mode 100644 index e70c40080ed7e..0000000000000 --- a/HLTrigger/Configuration/python/customizeHLTTrackingForPhaseI2017.py +++ /dev/null @@ -1,461 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -import itertools - -# customisation functions for the HLT configuration -from HLTrigger.Configuration.common import * - -# import the relevant eras from Configuration.Eras.* -from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel - - -# modify the HLT configuration for the Phase I pixel geometry -def customizeHLTPhaseIPixelGeom(process): - - for esproducer in esproducers_by_type(process,"ClusterShapeHitFilterESProducer"): - esproducer.PixelShapeFile = 'RecoPixelVertexing/PixelLowPtUtilities/data/pixelShape_Phase1TkNewFPix.par' - for producer in producers_by_type(process,"SiPixelRawToDigi"): - if "hlt" in producer.label(): - producer.UsePhase1 = cms.bool( True ) - return process - -# attach `modifyHLTPhaseIPixelGeom' to the `phase1Pixel` era -def modifyHLTPhaseIPixelGeom(process): - phase1Pixel.toModify(process, customizeHLTPhaseIPixelGeom) - - - -# modify the HLT configuration to run the Phase I tracking in the particle flow sequence -def customizeHLTForPFTrackingPhaseI2017(process): - if not hasattr(process, 'hltPixelLayerTriplets'): - #there could also be a message here that the call is done for non-HLT stuff - return process; - - process.hltPixelLayerTriplets.layerList = cms.vstring( - 'BPix1+BPix2+BPix3', - 'BPix2+BPix3+BPix4', - 'BPix1+BPix3+BPix4', - 'BPix1+BPix2+BPix4', - 'BPix2+BPix3+FPix1_pos', - 'BPix2+BPix3+FPix1_neg', - 'BPix1+BPix2+FPix1_pos', - 'BPix1+BPix2+FPix1_neg', - 'BPix2+FPix1_pos+FPix2_pos', - 'BPix2+FPix1_neg+FPix2_neg', - 'BPix1+FPix1_pos+FPix2_pos', - 'BPix1+FPix1_neg+FPix2_neg', - 'FPix1_pos+FPix2_pos+FPix3_pos', - 'FPix1_neg+FPix2_neg+FPix3_neg' - ) - - process.hltPixelLayerQuadruplets = cms.EDProducer("SeedingLayersEDProducer", - BPix = cms.PSet( - useErrorsFromParam = cms.bool( True ), - hitErrorRPhi = cms.double( 0.0027 ), - TTRHBuilder = cms.string( "hltESPTTRHBuilderPixelOnly" ), - HitProducer = cms.string( "hltSiPixelRecHits" ), - hitErrorRZ = cms.double( 0.006 ) - ), - FPix = cms.PSet( - useErrorsFromParam = cms.bool( True ), - hitErrorRPhi = cms.double( 0.0051 ), - TTRHBuilder = cms.string( "hltESPTTRHBuilderPixelOnly" ), - HitProducer = cms.string( "hltSiPixelRecHits" ), - hitErrorRZ = cms.double( 0.0036 ) - ), - MTEC = cms.PSet( ), - MTIB = cms.PSet( ), - MTID = cms.PSet( ), - MTOB = cms.PSet( ), - TEC = cms.PSet( ), - TIB = cms.PSet( ), - TID = cms.PSet( ), - TOB = cms.PSet( ), - layerList = cms.vstring( - 'BPix1+BPix2+BPix3+BPix4', - 'BPix1+BPix2+BPix3+FPix1_pos', - 'BPix1+BPix2+BPix3+FPix1_neg', - 'BPix1+BPix2+FPix1_pos+FPix2_pos', - 'BPix1+BPix2+FPix1_neg+FPix2_neg', - 'BPix1+FPix1_pos+FPix2_pos+FPix3_pos', - 'BPix1+FPix1_neg+FPix2_neg+FPix3_neg' - ) - ) - - # Configure seed generator / pixel track producer - from RecoPixelVertexing.PixelTriplets.caHitQuadrupletEDProducer_cfi import caHitQuadrupletEDProducer as _caHitQuadrupletEDProducer - - process.hltPixelTracksTrackingRegions.RegionPSet = cms.PSet( - precise = cms.bool( True ), - beamSpot = cms.InputTag( "hltOnlineBeamSpot" ), - originRadius = cms.double(0.02), - ptMin = cms.double(0.8), - nSigmaZ = cms.double(4.0), - ) - - process.hltPixelTracksHitDoublets.seedingLayers = "hltPixelLayerQuadruplets" - process.hltPixelTracksHitDoublets.layerPairs = [0,1,2] # layer pairs (0,1), (1,2), (2,3) - - process.hltPixelTracksHitQuadruplets = _caHitQuadrupletEDProducer.clone( - doublets = "hltPixelTracksHitDoublets", - extraHitRPhitolerance = cms.double(0.032), - maxChi2 = dict( - pt1 = 0.7, - pt2 = 2, - value1 = 200, - value2 = 50, - enabled = True, - ), - useBendingCorrection = True, - fitFastCircle = True, - fitFastCircleChi2Cut = True, - CAThetaCut = cms.double(0.002), - CAPhiCut = cms.double(0.2), - CAHardPtCut = cms.double(0), - SeedComparitorPSet = cms.PSet( - ComponentName = cms.string( "LowPtClusterShapeSeedComparitor" ), - clusterShapeHitFilter = cms.string('ClusterShapeHitFilter'), - clusterShapeCacheSrc = cms.InputTag( "hltSiPixelClustersCache" ) - ) - ) - - process.hltPixelTracks.SeedingHitSets = "hltPixelTracksHitQuadruplets" - - - process.HLTIter0PSetTrajectoryFilterIT.minimumNumberOfHits = cms.int32( 4 ) - process.HLTIter0PSetTrajectoryFilterIT.minHitsMinPt = cms.int32( 4 ) - process.hltIter0PFlowTrackCutClassifier.mva.minLayers = cms.vint32( 3, 3, 4 ) - process.hltIter0PFlowTrackCutClassifier.mva.min3DLayers = cms.vint32( 0, 3, 4 ) - process.hltIter0PFlowTrackCutClassifier.mva.minPixelHits = cms.vint32( 0, 3, 4 ) - - process.HLTIter0GroupedCkfTrajectoryBuilderIT = cms.PSet( - ComponentType = cms.string('GroupedCkfTrajectoryBuilder'), - bestHitOnly = cms.bool(True), - propagatorAlong = cms.string('PropagatorWithMaterialParabolicMf'), - trajectoryFilter = cms.PSet(refToPSet_ = cms.string('HLTIter0PSetTrajectoryFilterIT')), - inOutTrajectoryFilter = cms.PSet(refToPSet_ = cms.string('HLTIter0PSetTrajectoryFilterIT')), - useSameTrajFilter = cms.bool(True), - maxCand = cms.int32(2), - intermediateCleaning = cms.bool(True), - lostHitPenalty = cms.double(30.0), - MeasurementTrackerName = cms.string('hltESPMeasurementTracker'), - lockHits = cms.bool(True), - TTRHBuilder = cms.string('hltESPTTRHBWithTrackAngle'), - foundHitBonus = cms.double(5.0), - updator = cms.string('hltESPKFUpdator'), - alwaysUseInvalidHits = cms.bool(False), - requireSeedHitsInRebuild = cms.bool(True), - keepOriginalIfRebuildFails = cms.bool(False), - estimator = cms.string('hltESPChi2ChargeMeasurementEstimator9'), - propagatorOpposite = cms.string('PropagatorWithMaterialParabolicMfOpposite'), - minNrOfHitsForRebuild = cms.int32(5), - maxDPhiForLooperReconstruction = cms.double(2.0), - maxPtForLooperReconstruction = cms.double(0.7), - cleanTrajectoryAfterInOut = cms.bool( False ), - useHitsSplitting = cms.bool( False ), - doSeedingRegionRebuilding = cms.bool( False ) - ) - - process.hltIter0PFlowCkfTrackCandidates.TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('HLTIter0GroupedCkfTrajectoryBuilderIT')) - - - process.hltIter1PixelLayerQuadruplets = cms.EDProducer("SeedingLayersEDProducer", - BPix = cms.PSet( - useErrorsFromParam = cms.bool( True ), - hitErrorRPhi = cms.double( 0.0027 ), - TTRHBuilder = cms.string( "hltESPTTRHBuilderPixelOnly" ), - HitProducer = cms.string( "hltSiPixelRecHits" ), - hitErrorRZ = cms.double( 0.006 ), - skipClusters = cms.InputTag( "hltIter1ClustersRefRemoval" ), - ), - FPix = cms.PSet( - useErrorsFromParam = cms.bool( True ), - hitErrorRPhi = cms.double( 0.0051 ), - TTRHBuilder = cms.string( "hltESPTTRHBuilderPixelOnly" ), - HitProducer = cms.string( "hltSiPixelRecHits" ), - hitErrorRZ = cms.double( 0.0036 ), - skipClusters = cms.InputTag( "hltIter1ClustersRefRemoval" ), - ), - MTEC = cms.PSet( ), - MTIB = cms.PSet( ), - MTID = cms.PSet( ), - MTOB = cms.PSet( ), - TEC = cms.PSet( ), - TIB = cms.PSet( ), - TID = cms.PSet( ), - TOB = cms.PSet( ), - layerList = cms.vstring( - 'BPix1+BPix2+BPix3+BPix4', - 'BPix1+BPix2+BPix3+FPix1_pos', - 'BPix1+BPix2+BPix3+FPix1_neg', - 'BPix1+BPix2+FPix1_pos+FPix2_pos', - 'BPix1+BPix2+FPix1_neg+FPix2_neg', - 'BPix1+FPix1_pos+FPix2_pos+FPix3_pos', - 'BPix1+FPix1_neg+FPix2_neg+FPix3_neg' - ) - ) - - - process.hltIter1PFlowPixelHitDoublets.layerPairs = [0,1,2] # layer pairs (0,1), (1,2), (2,3) - process.hltIter1PFlowPixelHitDoublets.seedingLayers = "hltIter1PixelLayerQuadruplets" - - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.nSigmaZVertex = cms.double(4.0) - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.nSigmaZBeamSpot = cms.double(4.0) - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.originRadius = cms.double(0.05) - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.ptMin = cms.double(0.3) - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.zErrorVetex = cms.double(0.1) - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.beamSpot = cms.InputTag( "hltOnlineBeamSpot" ) - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.vertexCollection = cms.InputTag( "hltTrimmedPixelVertices" ) - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.deltaEta = cms.double(1.0) - process.hltIter1PFlowPixelTrackingRegions.RegionPSet.deltaPhi = cms.double(1.0) - - process.hltIter1PFlowPixelHitQuadruplets = _caHitQuadrupletEDProducer.clone( - doublets = "hltIter1PFlowPixelHitDoublets", - extraHitRPhitolerance = cms.double(0.032), - maxChi2 = dict( - pt1 = 0.7, - pt2 = 2, - value1 = 2000, - value2 = 150, - enabled = True, - ), - useBendingCorrection = True, - fitFastCircle = True, - fitFastCircleChi2Cut = True, - CAThetaCut = cms.double(0.004), - CAPhiCut = cms.double(0.3), - CAHardPtCut = cms.double(0), - SeedComparitorPSet = cms.PSet( - ComponentName = cms.string( "none" ), - clusterShapeHitFilter = cms.string('ClusterShapeHitFilter'), - clusterShapeCacheSrc = cms.InputTag( "hltSiPixelClustersCache" ) - ) - - - ) - - - - from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsEDProducer_cff import seedCreatorFromRegionConsecutiveHitsEDProducer as _seedCreatorFromRegionConsecutiveHitsEDProducer - replace_with(process.hltIter1PFlowPixelSeeds,_seedCreatorFromRegionConsecutiveHitsEDProducer.clone( - seedingHitSets = "hltIter1PFlowPixelHitQuadruplets", - TTRHBuilder = cms.string('hltESPTTRHBWithTrackAngle'), - )) - process.HLTIter1PSetTrajectoryFilterIT = cms.PSet( - minPt = cms.double( 0.2 ), - minHitsMinPt = cms.int32( 3 ), - ComponentType = cms.string( "CkfBaseTrajectoryFilter" ), - maxLostHits = cms.int32( 1 ), - maxNumberOfHits = cms.int32( 100 ), - maxConsecLostHits = cms.int32( 1 ), - minimumNumberOfHits = cms.int32( 3 ), - nSigmaMinPt = cms.double( 5.0 ), - chargeSignificance = cms.double( -1.0 ), - minGoodStripCharge = cms.PSet( refToPSet_ = cms.string( "HLTSiStripClusterChargeCutNone" ) ), - maxCCCLostHits = cms.int32( 0 ), - seedExtension = cms.int32( 0 ), - strictSeedExtension = cms.bool( False ), - minNumberOfHitsForLoopers = cms.int32( 13 ), - minNumberOfHitsPerLoop = cms.int32( 4 ), - extraNumberOfHitsBeforeTheFirstLoop = cms.int32( 4 ), - maxLostHitsFraction = cms.double( 999.0 ), - constantValueForLostHitsFractionFilter = cms.double( 1.0 ), - seedPairPenalty = cms.int32( 0 ), - pixelSeedExtension = cms.bool( False ) - ) - - - process.HLTIter1PSetTrajectoryBuilderIT = cms.PSet( - propagatorAlong = cms.string( "PropagatorWithMaterialParabolicMf" ), - trajectoryFilter = cms.PSet( refToPSet_ = cms.string( "HLTIter1PSetTrajectoryFilterIT" ) ), - maxCand = cms.int32( 2 ), - ComponentType = cms.string( "CkfTrajectoryBuilder" ), - propagatorOpposite = cms.string( "PropagatorWithMaterialParabolicMfOpposite" ), - MeasurementTrackerName = cms.string( "hltIter1ESPMeasurementTracker" ), - estimator = cms.string( "hltESPChi2ChargeMeasurementEstimator16" ), - TTRHBuilder = cms.string( "hltESPTTRHBWithTrackAngle" ), - updator = cms.string( "hltESPKFUpdator" ), - alwaysUseInvalidHits = cms.bool( False ), - intermediateCleaning = cms.bool( True ), - lostHitPenalty = cms.double( 30.0 ), - useSameTrajFilter = cms.bool(True) - ) - process.HLTIter1GroupedCkfTrajectoryBuilderIT = cms.PSet( - ComponentType = cms.string('GroupedCkfTrajectoryBuilder'), - bestHitOnly = cms.bool(True), - propagatorAlong = cms.string('PropagatorWithMaterialParabolicMf'), - trajectoryFilter = cms.PSet(refToPSet_ = cms.string('HLTIter1PSetTrajectoryFilterIT')), - useSameTrajFilter = cms.bool(True), - maxCand = cms.int32(2), - intermediateCleaning = cms.bool(True), - lostHitPenalty = cms.double(30.0), - MeasurementTrackerName = cms.string('hltIter1ESPMeasurementTracker'), - lockHits = cms.bool(True), - TTRHBuilder = cms.string('hltESPTTRHBWithTrackAngle'), - foundHitBonus = cms.double(5.0), - updator = cms.string('hltESPKFUpdator'), - alwaysUseInvalidHits = cms.bool(False), - requireSeedHitsInRebuild = cms.bool(True), - keepOriginalIfRebuildFails = cms.bool(False), - estimator = cms.string('hltESPChi2ChargeMeasurementEstimator16'), - propagatorOpposite = cms.string('PropagatorWithMaterialParabolicMfOpposite'), - minNrOfHitsForRebuild = cms.int32(5) - ) - - process.hltIter1PFlowCkfTrackCandidates.TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('HLTIter1GroupedCkfTrajectoryBuilderIT')) - - - replace_with(process.HLTIterativeTrackingIteration1 , cms.Sequence( process.hltIter1ClustersRefRemoval + process.hltIter1MaskedMeasurementTrackerEvent + process.hltIter1PixelLayerQuadruplets + process.hltIter1PFlowPixelTrackingRegions + process.hltIter1PFlowPixelClusterCheck + process.hltIter1PFlowPixelHitDoublets + process.hltIter1PFlowPixelHitQuadruplets + process.hltIter1PFlowPixelSeeds + process.hltIter1PFlowCkfTrackCandidates + process.hltIter1PFlowCtfWithMaterialTracks + process.hltIter1PFlowTrackCutClassifierPrompt + process.hltIter1PFlowTrackCutClassifierDetached + process.hltIter1PFlowTrackCutClassifierMerged + process.hltIter1PFlowTrackSelectionHighPurity )) - - process.hltIter2PixelLayerTriplets = cms.EDProducer( "SeedingLayersEDProducer", - layerList = cms.vstring( - 'BPix1+BPix2+BPix3', - 'BPix2+BPix3+BPix4', - 'BPix1+BPix3+BPix4', - 'BPix1+BPix2+BPix4', - 'BPix2+BPix3+FPix1_pos', - 'BPix2+BPix3+FPix1_neg', - 'BPix1+BPix2+FPix1_pos', - 'BPix1+BPix2+FPix1_neg', - 'BPix2+FPix1_pos+FPix2_pos', - 'BPix2+FPix1_neg+FPix2_neg', - 'BPix1+FPix1_pos+FPix2_pos', - 'BPix1+FPix1_neg+FPix2_neg', - 'FPix1_pos+FPix2_pos+FPix3_pos', - 'FPix1_neg+FPix2_neg+FPix3_neg' - ), - MTOB = cms.PSet( ), - TEC = cms.PSet( ), - MTID = cms.PSet( ), - FPix = cms.PSet( - HitProducer = cms.string( "hltSiPixelRecHits" ), - hitErrorRZ = cms.double( 0.0036 ), - useErrorsFromParam = cms.bool( True ), - TTRHBuilder = cms.string( "hltESPTTRHBuilderPixelOnly" ), - skipClusters = cms.InputTag( "hltIter2ClustersRefRemoval" ), - hitErrorRPhi = cms.double( 0.0051 ) - ), - MTEC = cms.PSet( ), - MTIB = cms.PSet( ), - TID = cms.PSet( ), - TOB = cms.PSet( ), - BPix = cms.PSet( - HitProducer = cms.string( "hltSiPixelRecHits" ), - hitErrorRZ = cms.double( 0.006 ), - useErrorsFromParam = cms.bool( True ), - TTRHBuilder = cms.string( "hltESPTTRHBuilderPixelOnly" ), - skipClusters = cms.InputTag( "hltIter2ClustersRefRemoval" ), - hitErrorRPhi = cms.double( 0.0027 ) - ), - TIB = cms.PSet( ) - ) - - - process.hltIter2PFlowPixelTrackingRegions.RegionPSet.ptMin = cms.double(0.8) - process.hltIter2PFlowPixelTrackingRegions.RegionPSet.originRadius = cms.double(0.025) - process.hltIter2PFlowPixelTrackingRegions.RegionPSet.nSigmaZVertex = cms.double(4.0) - - from RecoPixelVertexing.PixelTriplets.caHitTripletEDProducer_cfi import caHitTripletEDProducer as _caHitTripletEDProducer - - process.hltIter2PFlowPixelHitDoublets.seedingLayers = "hltIter2PixelLayerTriplets" - process.hltIter2PFlowPixelHitDoublets.produceIntermediateHitDoublets = True - process.hltIter2PFlowPixelHitDoublets.produceSeedingHitSets = False - process.hltIter2PFlowPixelHitDoublets.layerPairs = [0,1] - process.hltIter2PFlowPixelHitTriplets = _caHitTripletEDProducer.clone( - doublets = cms.InputTag("hltIter2PFlowPixelHitDoublets"), - extraHitRPhitolerance = cms.double(0.032), - maxChi2 = cms.PSet( - pt1 = cms.double(0.8), pt2 = cms.double(8), - value1 = cms.double(100), value2 = cms.double(6), - enabled = cms.bool(True), - ), - useBendingCorrection = cms.bool(True), - CAThetaCut = cms.double(0.004), - CAPhiCut = cms.double(0.1), - CAHardPtCut = cms.double(0.3), - - ) - - def _copy(old, new, skip=[]): - skipSet = set(skip) - for key in old.parameterNames_(): - if key not in skipSet: - setattr(new, key, getattr(old, key)) - from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer_cfi import seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer as _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer - replace_with(process.hltIter2PFlowPixelSeeds, _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer.clone(seedingHitSets="hltIter2PFlowPixelHitTriplets")) - _copy(process.HLTSeedFromConsecutiveHitsTripletOnlyCreator, process.hltIter2PFlowPixelSeeds, skip=["ComponentName"]) - - process.HLTIter2GroupedCkfTrajectoryBuilderIT = cms.PSet( - - ComponentType = cms.string('GroupedCkfTrajectoryBuilder'), - bestHitOnly = cms.bool(True), - propagatorAlong = cms.string('PropagatorWithMaterialParabolicMf'), - trajectoryFilter = cms.PSet(refToPSet_ = cms.string('HLTIter2PSetTrajectoryFilterIT')), - inOutTrajectoryFilter = cms.PSet(refToPSet_ = cms.string('HLTIter2PSetTrajectoryFilterIT')), - useSameTrajFilter = cms.bool(True), - maxCand = cms.int32(2), - intermediateCleaning = cms.bool(True), - lostHitPenalty = cms.double(30.0), - MeasurementTrackerName = cms.string('hltESPMeasurementTracker'), - lockHits = cms.bool(True), - TTRHBuilder = cms.string('hltESPTTRHBWithTrackAngle'), - foundHitBonus = cms.double(5.0), - updator = cms.string('hltESPKFUpdator'), - alwaysUseInvalidHits = cms.bool(False), - requireSeedHitsInRebuild = cms.bool(True), - keepOriginalIfRebuildFails = cms.bool(False), - estimator = cms.string('hltESPChi2ChargeMeasurementEstimator16'), - propagatorOpposite = cms.string('PropagatorWithMaterialParabolicMfOpposite'), - minNrOfHitsForRebuild = cms.int32(5), - maxDPhiForLooperReconstruction = cms.double(2.0), - maxPtForLooperReconstruction = cms.double(0.7), - cleanTrajectoryAfterInOut = cms.bool( False ), - useHitsSplitting = cms.bool( False ), - doSeedingRegionRebuilding = cms.bool( False ) - ) - - process.hltIter2PFlowCkfTrackCandidates.TrajectoryBuilderPSet = cms.PSet(refToPSet_ = cms.string('HLTIter2GroupedCkfTrajectoryBuilderIT')) - - - - replace_with(process.HLTIterativeTrackingIteration2 , cms.Sequence( process.hltIter2ClustersRefRemoval + process.hltIter2MaskedMeasurementTrackerEvent + process.hltIter2PixelLayerTriplets + process.hltIter2PFlowPixelTrackingRegions + process.hltIter2PFlowPixelClusterCheck + process.hltIter2PFlowPixelHitDoublets + process.hltIter2PFlowPixelHitTriplets + process.hltIter2PFlowPixelSeeds + process.hltIter2PFlowCkfTrackCandidates + process.hltIter2PFlowCtfWithMaterialTracks + process.hltIter2PFlowTrackCutClassifier + process.hltIter2PFlowTrackSelectionHighPurity )) - # replace hltPixelLayerTriplets and hltPixelTracksHitTriplets with hltPixelLayerQuadruplets and hltPixelTracksHitQuadruplets - # in any Sequence, Paths or EndPath that contains the former and not the latter - from FWCore.ParameterSet.SequenceTypes import ModuleNodeVisitor - for sequence in itertools.chain( - process._Process__sequences.itervalues(), - process._Process__paths.itervalues(), - process._Process__endpaths.itervalues() - ): - modules = list() - sequence.visit(ModuleNodeVisitor(modules)) - - if process.hltPixelTracks in modules and not process.hltPixelLayerQuadruplets in modules: - # note that this module does not necessarily exist in sequence 'sequence', if it doesn't, it does not get removed - sequence.remove(process.hltPixelLayerTriplets) - index = sequence.index(process.hltPixelTracksHitDoublets) - sequence.insert(index,process.hltPixelLayerQuadruplets) - index = sequence.index(process.hltPixelTracksHitTriplets) - sequence.remove(process.hltPixelTracksHitTriplets) - sequence.insert(index, process.hltPixelTracksHitQuadruplets) - - if process.hltIter1PFlowPixelHitTriplets in modules and not process.hltIter1PFlowPixelHitQuadruplets in modules: - index = sequence.index(process.hltIter1PFlowPixelHitTriplets) - sequence.insert(index, process.hltIter1PixelTracks) - sequence.insert(index, process.hltIter1PFlowPixelHitQuadruplets) - sequence.remove(process.hltIter1PFlowPixelHitTriplets) - - - # Remove entirely to avoid warning from the early deleter - del process.hltPixelTracksHitTriplets - del process.hltIter1PFlowPixelHitTriplets - - - - - - return process - -# attach `customizeHLTForPFTrackingPhaseI2017` to the `phase1Pixel` era -def modifyHLTForPFTrackingPhaseI2017(process): - phase1Pixel.toModify(process, customizeHLTForPFTrackingPhaseI2017) diff --git a/HLTrigger/Configuration/python/customizeHLTforHCALPhaseI.py b/HLTrigger/Configuration/python/customizeHLTforHCALPhaseI.py deleted file mode 100644 index 951ce9762112e..0000000000000 --- a/HLTrigger/Configuration/python/customizeHLTforHCALPhaseI.py +++ /dev/null @@ -1,370 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -# customisation functions for the HLT configuration -from HLTrigger.Configuration.common import * - -# import the relevant eras from Configuration.Eras.* -from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017 -from Configuration.Eras.Modifier_run2_HF_2017_cff import run2_HF_2017 - -# modify the HLT configuration for the Phase I HE upgrade -def customizeHLTforHEforPhaseI(process): - - # reconstruct HBHE rechits with Method 3, with depth segmentation for SiPM modules - hltHbhePhase1Reco = cms.EDProducer( "HBHEPhase1Reconstructor", - - # Label for the input HBHEDigiCollection, and flag indicating - # whether we should process this collection - digiLabelQIE8 = cms.InputTag("hltHcalDigis"), - processQIE8 = cms.bool(True), - - # Label for the input QIE11DigiCollection, and flag indicating - # whether we should process this collection - digiLabelQIE11 = cms.InputTag("hltHcalDigis"), - processQIE11 = cms.bool(True), - - # Get the "sample of interest" index from DB? - # If not, it is taken from the dataframe. - tsFromDB = cms.bool(False), - - # Use the HcalRecoParam structure from DB inside - # the reconstruction algorithm? - recoParamsFromDB = cms.bool(True), - - # Drop zero-suppressed channels? - dropZSmarkedPassed = cms.bool(True), - - # Flag indicating whether we should produce HBHERecHitCollection - makeRecHits = cms.bool(True), - - # Flag indicating whether we should produce HBHEChannelInfoCollection - saveInfos = cms.bool(False), - - # Flag indicating whether we should include HBHEChannelInfo objects - # into HBHEChannelInfoCollection despite the fact that the channels - # are either tagged bad in DB of zero-suppressed. Note that the rechit - # collection will not include such channels even if this flag is set. - saveDroppedInfos = cms.bool(False), - - # Configure the reconstruction algorithm - algorithm = cms.PSet( - Class = cms.string("SimpleHBHEPhase1Algo"), - - # Time shift (in ns) to add to TDC timing (for QIE11) - tdcTimeShift = cms.double(0.), - - # Parameters for "Method 0" - firstSampleShift = cms.int32(0), - samplesToAdd = cms.int32(2), - correctForPhaseContainment = cms.bool(True), - correctionPhaseNS = cms.double(6.), - - # Parameters for Method 2 - useM2 = cms.bool(False), - applyPedConstraint = cms.bool(True), - applyTimeConstraint = cms.bool(True), - applyPulseJitter = cms.bool(False), - applyTimeSlew = cms.bool(True), # units - ts4Min = cms.double(0.), # fC - ts4Max = cms.vdouble(100., 45000.), # fC # this is roughly 20 GeV - pulseJitter = cms.double(1.), # GeV/bin - meanTime = cms.double(0.), # ns - timeSigmaHPD = cms.double(5.), # ns - timeSigmaSiPM = cms.double(2.5), # ns - meanPed = cms.double(0.), # GeV - pedSigmaHPD = cms.double(0.5), # GeV - pedSigmaSiPM = cms.double(0.00065), # GeV - this correspond roughtly to 1.5 fC for a gain of 2276 - noiseHPD = cms.double(1), # fC - noiseSiPM = cms.double(1), # fC - timeMin = cms.double(-12.5), # ns - timeMax = cms.double(12.5), # ns - ts4chi2 = cms.vdouble(15., 15.), # chi2 for triple pulse - fitTimes = cms.int32(1), # -1 means no constraint on number of fits per channel - - # Parameters for Method 3 - useM3 = cms.bool(True), - applyTimeSlewM3 = cms.bool(True), - pedestalUpperLimit = cms.double(2.7), - timeSlewParsType = cms.int32(3), # 0: TestStand, 1:Data, 2:MC, 3:InputPars. Parametrization function is par0 + par1*log(fC+par2). - timeSlewPars = cms.vdouble(12.2999, -2.19142, 0, 12.2999, -2.19142, 0, 12.2999, -2.19142, 0), - # HB par0, HB par1, HB par2, BE par0, BE par1, BE par2, HE par0, HE par1, HE par2 - respCorrM3 = cms.double(1.0) # This factor is used to align the the Method3 with the Method2 response - ), - - # Reconstruction algorithm configuration data to fetch from DB, if any - algoConfigClass = cms.string(""), - - # Turn rechit status bit setters on/off - setNegativeFlagsQIE8 = cms.bool(False), - setNegativeFlagsQIE11 = cms.bool(False), - setNoiseFlagsQIE8 = cms.bool(True), - setNoiseFlagsQIE11 = cms.bool(False), - setPulseShapeFlagsQIE8 = cms.bool(True), - setPulseShapeFlagsQIE11 = cms.bool(False), - setLegacyFlagsQIE8 = cms.bool(True), - setLegacyFlagsQIE11 = cms.bool(False), - - # Parameter sets configuring rechit status bit setters for HPD - flagParametersQIE8 = cms.PSet( - nominalPedestal = cms.double(3.), # fC - hitEnergyMinimum = cms.double(1.), # GeV - hitMultiplicityThreshold = cms.int32(17), - pulseShapeParameterSets = cms.VPSet( - cms.PSet( pulseShapeParameters = cms.vdouble( 0.0, 100.0, -50.0, 0.0, -15.0, 0.15) ), - cms.PSet( pulseShapeParameters = cms.vdouble( 100.0, 2.0e3, -50.0, 0.0, -5.0, 0.05) ), - cms.PSet( pulseShapeParameters = cms.vdouble( 2.0e3, 1.0e6, -50.0, 0.0, 95.0, 0.0 ) ), - cms.PSet( pulseShapeParameters = cms.vdouble(-1.0e6, 1.0e6, 45.0, 0.1, 1.0e6, 0.0 ) ), - ) - ), - - # Pulse shape parametrisation for HPD - pulseShapeParametersQIE8 = cms.PSet( - MinimumChargeThreshold = cms.double(20), - TS4TS5ChargeThreshold = cms.double(70), - TS3TS4ChargeThreshold = cms.double(70), - TS3TS4UpperChargeThreshold = cms.double(20), - TS5TS6ChargeThreshold = cms.double(70), - TS5TS6UpperChargeThreshold = cms.double(20), - R45PlusOneRange = cms.double(0.2), - R45MinusOneRange = cms.double(0.2), - TrianglePeakTS = cms.uint32(10000), # Disable the "triangle peak fit" and the corresponding HBHETriangleNoise flag - TriangleIgnoreSlow = cms.bool(False), - LinearThreshold = cms.vdouble(20, 100, 100000), - LinearCut = cms.vdouble(-3, -0.054, -0.054), - RMS8MaxThreshold = cms.vdouble(20, 100, 100000), - RMS8MaxCut = cms.vdouble(-13.5, -11.5, -11.5), - LeftSlopeThreshold = cms.vdouble(250, 500, 100000), - LeftSlopeCut = cms.vdouble(5, 2.55, 2.55), - RightSlopeThreshold = cms.vdouble(250, 400, 100000), - RightSlopeCut = cms.vdouble(5, 4.15, 4.15), - RightSlopeSmallThreshold = cms.vdouble(150, 200, 100000), - RightSlopeSmallCut = cms.vdouble(1.08, 1.16, 1.16), - MinimumTS4TS5Threshold = cms.double(100), - TS4TS5UpperThreshold = cms.vdouble(70, 90, 100, 400), - TS4TS5UpperCut = cms.vdouble(1, 0.8, 0.75, 0.72), - TS4TS5LowerThreshold = cms.vdouble(100, 120, 160, 200, 300, 500), - TS4TS5LowerCut = cms.vdouble(-1, -0.7, -0.5, -0.4, -0.3, 0.1), - UseDualFit = cms.bool(True), - ), - - # Pulse shape parametrisation for SiPM - pulseShapeParametersQIE11 = cms.PSet( ), - - # Parameter sets configuring rechit status bit setters for SiPM - flagParametersQIE11 = cms.PSet( ) - ) - - # XXX these values were used at HLT in 2016, but we do not know why - #hltHbhePhase1Reco.algorithm.samplesToAdd = 4 - #hltHbhePhase1Reco.algorithm.correctionPhaseNS = 13. - #hltHbhePhase1Reco.setNoiseFlagsQIE8 = False - #hltHbhePhase1Reco.setPulseShapeFlagsQIE8 = False - #hltHbhePhase1Reco.setLegacyFlagsQIE8 = False - - # sum the different depths of the SiPM modules - hltHbhereco = cms.EDProducer("HBHEPlan1Combiner", - algorithm = cms.PSet( - Class = cms.string('SimplePlan1RechitCombiner') - ), - hbheInput = cms.InputTag("hltHbhePhase1Reco"), - ignorePlan1Topology = cms.bool(False), - usePlan1Mode = cms.bool(True) - ) - - # reconstruct HBHE rechits with Method 3 - # introduce a new name for the collection of rechits with QIE8/QIE11 and depth segmentation - # while keeping the original name for the collection of rechits summed over all depths - if 'hltHbhereco' in process.__dict__: - digiLabel = process.hltHbhereco.digiLabel.value() - process.hltHbhePhase1Reco = hltHbhePhase1Reco.clone() - process.hltHbhePhase1Reco.digiLabelQIE8 = digiLabel - process.hltHbhePhase1Reco.digiLabelQIE11 = digiLabel - - process.hltHbhereco = hltHbhereco.clone() - process.hltHbhereco.hbheInput = 'hltHbhePhase1Reco' - - # add the hltHbhereco module before the hltHbhePhase1Reco in any Sequence, Paths or EndPath that contained it - insert_modules_before(process, process.hltHbhereco, process.hltHbhePhase1Reco) - - - # reconstruct HBHE rechits with Method 2 around E/Gamma candidates (seeded by L1 objects) - if 'hltHbherecoMethod2L1EGSeeded' in process.__dict__: - digiLabel = process.hltHbherecoMethod2L1EGSeeded.digiLabel.value() - process.hltHbherecoMethod2L1EGSeeded = hltHbhePhase1Reco.clone() - process.hltHbherecoMethod2L1EGSeeded.digiLabelQIE8 = digiLabel - # set processQIE11 to False until HLTHcalDigisInRegionsProducer can produce QIE11 - process.hltHbherecoMethod2L1EGSeeded.processQIE11 = cms.bool(False) - process.hltHbherecoMethod2L1EGSeeded.digiLabelQIE11 = cms.InputTag('') - process.hltHbherecoMethod2L1EGSeeded.algorithm.useM2 = cms.bool(True) - process.hltHbherecoMethod2L1EGSeeded.algorithm.useM3 = cms.bool(False) - - # reconstruct HBHE rechits with Method 2 around E/Gamma candidates (unseeded) - if 'hltHbherecoMethod2L1EGUnseeded' in process.__dict__: - digiLabel = process.hltHbherecoMethod2L1EGUnseeded.digiLabel.value() - process.hltHbherecoMethod2L1EGUnseeded = hltHbhePhase1Reco.clone() - process.hltHbherecoMethod2L1EGUnseeded.digiLabelQIE8 = digiLabel - # set processQIE11 to False until HLTHcalDigisInRegionsProducer can produce QIE11 - process.hltHbherecoMethod2L1EGUnseeded.processQIE11 = cms.bool(False) - process.hltHbherecoMethod2L1EGUnseeded.digiLabelQIE11 = cms.InputTag('') - process.hltHbherecoMethod2L1EGUnseeded.algorithm.useM2 = cms.bool(True) - process.hltHbherecoMethod2L1EGUnseeded.algorithm.useM3 = cms.bool(False) - - return process - - -# attach `customizeHLTforHEforPhaseI' to the `run2_HCAL_2017' era -def modifyHLTforHEforPhaseI(process): - run2_HCAL_2017.toModify(process, customizeHLTforHEforPhaseI) - - -# modify the HLT configuration for the Phase I HF upgrade -def customizeHLTforHFforPhaseI(process): - - if 'hltHfreco' in process.__dict__: - - process.hltHfprereco = cms.EDProducer("HFPreReconstructor", - digiLabel = cms.InputTag("hltHcalDigis"), - dropZSmarkedPassed = cms.bool(True), - tsFromDB = cms.bool(False), - sumAllTimeSlices = cms.bool(False) - ) - - process.hltHfreco = cms.EDProducer("HFPhase1Reconstructor", - # Label for the input HFPreRecHitCollection - inputLabel = cms.InputTag("hltHfprereco"), - - # Change the following to True in order to use the channel - # status from the DB - useChannelQualityFromDB = cms.bool(False), - - # Change the following to True when the status becomes - # available in the DB for both anodes. If this parameter - # is set to False then it is assumed that the status of - # both anodes is given by the channel at depth 1 and 2. - checkChannelQualityForDepth3and4 = cms.bool(False), - - # Configure the reconstruction algorithm - algorithm = cms.PSet( - Class = cms.string("HFFlexibleTimeCheck"), - - # Timing cuts: pass everything for now - tlimits = cms.vdouble(-1000.0, 1000.0, - -1000.0, 1000.0), - - # Linear mapping of the array with dimensions [13][2]. - # The first dimension is 2*HFAnodeStatus::N_POSSIBLE_STATES - 1. - energyWeights = cms.vdouble( - 1.0, 1.0, # {OK, OK} anode status - 1.0, 0.0, # {OK, NOT_DUAL} - 1.0, 0.0, # {OK, NOT_READ_OUT} - 2.0, 0.0, # {OK, HARDWARE_ERROR} - 2.0, 0.0, # {OK, FLAGGED_BAD} - 2.0, 0.0, # {OK, FAILED_TIMING} - 1.0, 0.0, # {OK, FAILED_OTHER} - 0.0, 1.0, # {NOT_DUAL, OK} - 0.0, 1.0, # {NOT_READ_OUT, OK} - 0.0, 2.0, # {HARDWARE_ERROR, OK} - 0.0, 2.0, # {FLAGGED_BAD, OK} - 0.0, 2.0, # {FAILED_TIMING, OK} - 0.0, 1.0 # {FAILED_OTHER, OK} - ), - - # Into which byte (0, 1, or 2) of the aux word the sample - # of interest ADC will be placed? - soiPhase = cms.uint32(1), - - # Time shift added to all "normal" QIE10 TDC time measurements - timeShift = cms.double(0.0), - - # Rise and fall time of the rechit will be set to these values - # if neither anode has valid TDC info - triseIfNoTDC = cms.double(-100.0), - tfallIfNoTDC = cms.double(-101.0), - - # Do not construct rechits with problems - rejectAllFailures = cms.bool(True) - ), - - # Reconstruction algorithm data to fetch from DB, if any - algoConfigClass = cms.string("HFPhase1PMTParams"), - - # Turn on/off the noise cleanup algorithms - setNoiseFlags = cms.bool(False), - - # Parameters for the S9S1 test. - # - # optimumSlopes are slopes for each of the |ieta| values - # 29, 30, .... , 41 (although |ieta|=29 is not used in - # current S9S1 formulation) - # - # energy and ET params are thresholds for each |ieta| - # - S9S1stat = cms.PSet( - # WARNING! ONLY LONG PARAMETERS ARE USED IN DEFAULT RECO; SHORT S9S1 IS NOT USED! - short_optimumSlope = cms.vdouble( -99999, 0.0164905, 0.0238698, 0.0321383, 0.041296, 0.0513428, 0.0622789, 0.0741041, 0.0868186, 0.100422, 0.135313, 0.136289, 0.0589927 ), - # Short energy cut is 129.9 - 6.61*|ieta|+0.1153*|ieta|^2 - shortEnergyParams = cms.vdouble( 35.1773, 35.37, 35.7933, 36.4472, 37.3317, 38.4468, 39.7925, 41.3688, 43.1757, 45.2132, 47.4813, 49.98, 52.7093 ), - shortETParams = cms.vdouble( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), - long_optimumSlope = cms.vdouble( -99999, 0.0164905, 0.0238698, 0.0321383, 0.041296, 0.0513428, 0.0622789, 0.0741041, 0.0868186, 0.100422, 0.135313, 0.136289, 0.0589927 ), - # Long energy cut is 162.4-10.9*abs(ieta)+0.21*ieta*ieta - longEnergyParams = cms.vdouble( 43.5, 45.7, 48.32, 51.36, 54.82, 58.7, 63.0, 67.72, 72.86, 78.42, 84.4, 90.8, 97.62 ), - longETParams = cms.vdouble( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), - HcalAcceptSeverityLevel = cms.int32(9), # allow hits with severity up to AND INCLUDING 9 - isS8S1 = cms.bool(False), - ), - - # Parameters for the S8S1 test. Sets the HFS8S1Ratio Bit (bit 3). - # - # energy and ET params are coefficients for - # energy/ET thresholds, parameterized in ieta - # - S8S1stat = cms.PSet( - # ieta=29 is a special case - short_optimumSlope = cms.vdouble( 0.30, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10 ), - # Short energy cut is 40 for ieta=29, 100 otherwise - shortEnergyParams = cms.vdouble( 40, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100 ), - shortETParams = cms.vdouble( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), - # ieta=29 is a special case - long_optimumSlope = cms.vdouble( 0.30, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10, 0.10 ), - # Long energy cut is 40 for ieta=29, 100 otherwise - longEnergyParams = cms.vdouble( 40, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100 ), - longETParams = cms.vdouble( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), - HcalAcceptSeverityLevel = cms.int32(9), # allow hits with severity up to AND INCLUDING 9 - isS8S1 = cms.bool(True), - ), - - # Parameters for the Parameterized Energy Threshold (PET) test. - # - # short_R, long_R are coefficients of R threshold, - # parameterized in *ENERGY*: R_thresh = [0]+[1]*energy+[2]*energy^2+... - # - # As of March 2010, the R threshold is a simple fixed value: - # R>0.98, with separate params for |ieta|=29 - # - # Energy and ET params are energy and ET cuts for each |ieta| 29 -> 41 - # - PETstat = cms.PSet( - short_R = cms.vdouble( 0.8 ), # new default ratio cut: R>0.8 - short_R_29 = cms.vdouble( 0.8 ), - # Short energy cut is 129.9 - 6.61*|ieta|+0.1153*|ieta|^2 - shortEnergyParams = cms.vdouble( 35.1773, 35.37, 35.7933, 36.4472, 37.3317, 38.4468, 39.7925, 41.3688, 43.1757, 45.2132, 47.4813, 49.98, 52.7093 ), - shortETParams = cms.vdouble( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), - long_R = cms.vdouble( 0.98 ), # default ratio cut: R>0.98 - long_R_29 = cms.vdouble( 0.8 ), # should move from 0.98 to 0.8? - # Long energy cut is 162.4-10.9*abs(ieta)+0.21*ieta*ieta - longEnergyParams = cms.vdouble( 43.5, 45.7, 48.32, 51.36,54.82, 58.7, 63.0, 67.72, 72.86, 78.42, 84.4, 90.8, 97.62 ), - longETParams = cms.vdouble( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), - HcalAcceptSeverityLevel = cms.int32(9), # allow hits with severity up to AND INCLUDING 9 - ) - ) - - # add the hltHfprereco module before the hltHfreco in any Sequence, Paths or EndPath that contains the latter - insert_modules_before(process, process.hltHfreco, process.hltHfprereco) - - return process - - -# attach `customizeHLTforHFforPhaseI' to the `run2_HF_2017' era -def modifyHLTforHFforPhaseI(process): - run2_HF_2017.toModify(process, customizeHLTforHFforPhaseI) - diff --git a/HLTrigger/Configuration/python/customizeHLTforHighPU.py b/HLTrigger/Configuration/python/customizeHLTforHighPU.py deleted file mode 100644 index a601011bfde5a..0000000000000 --- a/HLTrigger/Configuration/python/customizeHLTforHighPU.py +++ /dev/null @@ -1,30 +0,0 @@ -import FWCore.ParameterSet.Config as cms -from HLTrigger.Configuration.common import * - -# CMSSW version specific customizations -def customizeHLTforHighPU(process): - for module in producers_by_type(process,"SiPixelClusterProducer"): - if hasattr(module, "maxNumberOfClusters"): - module.maxNumberOfClusters = cms.int32( 80000 ) # default: 20000 - - for module in producers_by_type(process,"SeedGeneratorFromRegionHitsEDProducer"): - if hasattr(module,"OrderedHitsFactoryPSet"): - OrderedHitsFactory_pset = module.OrderedHitsFactoryPSet - if hasattr(OrderedHitsFactory_pset,"GeneratorPSet"): - Generator_pset = OrderedHitsFactory_pset.GeneratorPSet - if hasattr(Generator_pset,"maxElement"): -# if getattr(Generator_pset,"maxElement") != 100000: -# print module, Generator_pset.maxElement - Generator_pset.maxElement = 100000 # default 100000 for pp modules, 1000000 for PA modules - - if hasattr(module,"ClusterCheckPSet"): - ClusterCheck_pset = module.ClusterCheckPSet - if hasattr(ClusterCheck_pset,"MaxNumberOfCosmicClusters"): -# if getattr(ClusterCheck_pset,"MaxNumberOfCosmicClusters") != 800000: -# print module,ClusterCheck_pset.MaxNumberOfCosmicClusters - ClusterCheck_pset.MaxNumberOfCosmicClusters = 800000 # default 50000 for pp modules, 400000 for PA modules - if hasattr(ClusterCheck_pset,"MaxNumberOfPixelClusters"): -# if getattr(ClusterCheck_pset,"MaxNumberOfPixelClusters") != 80000: -# print module,ClusterCheck_pset.MaxNumberOfPixelClusters - ClusterCheck_pset.MaxNumberOfPixelClusters = 80000 # default 10000 for pp modules, 40000 for PA modules - return process