File indexing completed on 2024-04-06 12:03:38
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def customiseCommon(process):
0004
0005
0006
0007
0008
0009
0010
0011
0012 process.newSeedFromTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
0013 process.newSeedFromPairs.ClusterCheckPSet.MaxNumberOfStripClusters=20000
0014 process.secTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
0015 process.fifthSeeds.ClusterCheckPSet.MaxNumberOfStripClusters = 20000
0016 process.fourthPLSeeds.ClusterCheckPSet.MaxNumberOfStripClusters=20000
0017 process.thTripletsA.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
0018 process.thTripletsB.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
0019
0020
0021
0022
0023 process.pixelVertices.useBeamConstraint = False
0024
0025
0026
0027 process.pixelTracks.RegionFactoryPSet.RegionPSet.nSigmaZ = 4.06
0028 process.pixelTracks.RegionFactoryPSet.RegionPSet.originHalfLength = cms.double(40.6)
0029
0030
0031
0032 process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.06)
0033 process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 40.6
0034
0035
0036
0037 process.secTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.47)
0038 process.secTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 44.7
0039
0040
0041 process.offlinePrimaryVerticesWithBS.PVSelParameters.maxDistanceToBeam = 2
0042 process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxNormalizedChi2 = 20
0043 process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxD0Significance = 100
0044 process.offlinePrimaryVerticesWithBS.TkFilterParameters.minPixelLayersWithHits = 2
0045 process.offlinePrimaryVerticesWithBS.TkFilterParameters.minSiliconLayersWithHits = 5
0046 process.offlinePrimaryVerticesWithBS.TkClusParameters.TkGapClusParameters.zSeparation = 1
0047 process.offlinePrimaryVertices.PVSelParameters.maxDistanceToBeam = 2
0048 process.offlinePrimaryVertices.TkFilterParameters.maxNormalizedChi2 = 20
0049 process.offlinePrimaryVertices.TkFilterParameters.maxD0Significance = 100
0050 process.offlinePrimaryVertices.TkFilterParameters.minPixelLayersWithHits = 2
0051 process.offlinePrimaryVertices.TkFilterParameters.minSiliconLayersWithHits = 5
0052 process.offlinePrimaryVertices.TkClusParameters.TkGapClusParameters.zSeparation = 1
0053
0054
0055 process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
0056
0057
0058
0059 process.hfreco.samplesToAdd = 4
0060
0061
0062 process.photons.minSCEtBarrel = 5.
0063 process.photons.minSCEtEndcap =5.
0064 process.photonCore.minSCEt = 5.
0065 process.conversionTrackCandidates.minSCEt =5.
0066 process.conversions.minSCEt =5.
0067 process.trackerOnlyConversions.rCut = 2.
0068 process.trackerOnlyConversions.vtxChi2 = 0.0005
0069
0070
0071
0072
0073
0074
0075 return (process)
0076
0077
0078
0079 def customisePPData(process):
0080 process= customiseCommon(process)
0081 process.hfreco.firstSample=3
0082
0083
0084 process.OutOfTime.TOBlateBP=0.071
0085 process.OutOfTime.TIBlateBP=0.036
0086
0087
0088 process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
0089 process.particleFlowRecHitHCAL.ApplyPulseDPG = True
0090
0091
0092 process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
0093 process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
0094
0095 return process
0096
0097
0098
0099 def customisePPMC(process):
0100 process=customiseCommon(process)
0101 process.hfreco.firstSample=1
0102 process.CSCHaloData.ExpectedBX = cms.int32(6)
0103
0104 return process
0105
0106
0107 def customiseCosmicData(process):
0108
0109 return process
0110
0111
0112 def customiseCosmicMC(process):
0113
0114 return process
0115
0116
0117
0118 def customiseExpress(process):
0119 process= customisePPData(process)
0120
0121 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0122 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0123
0124 return process
0125
0126
0127 def customisePrompt(process):
0128 process= customisePPData(process)
0129
0130 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0131 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0132
0133 return process