Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 def customiseCommon(process):
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 process.newSeedFromTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
00014 process.newSeedFromPairs.ClusterCheckPSet.MaxNumberOfCosmicClusters=10000
00015 process.secTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
00016 process.fifthSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters = 10000
00017 process.fourthPLSeeds.ClusterCheckPSet.MaxNumberOfCosmicClusters=10000
00018
00019
00020
00021
00022 process.pixelVertices.useBeamConstraint = False
00023
00024
00025
00026 process.pixelTracks.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.06)
00027
00028
00029
00030 process.newSeedFromTriplets.RegionFactoryPSet.ComponentName = 'GlobalRegionProducerFromBeamSpot'
00031
00032 process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.06)
00033 process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.beamSpot = cms.InputTag("offlineBeamSpot")
00034
00035
00036
00037 process.secTriplets.RegionFactoryPSet.ComponentName = 'GlobalRegionProducerFromBeamSpot'
00038
00039 process.secTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.47)
00040 process.secTriplets.RegionFactoryPSet.RegionPSet.beamSpot = cms.InputTag("offlineBeamSpot")
00041
00042
00043 process.offlinePrimaryVerticesWithBS.PVSelParameters.maxDistanceToBeam = 2
00044 process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxNormalizedChi2 = 20
00045 process.offlinePrimaryVerticesWithBS.TkFilterParameters.minSiliconHits = 6
00046 process.offlinePrimaryVerticesWithBS.TkFilterParameters.maxD0Significance = 100
00047 process.offlinePrimaryVerticesWithBS.TkFilterParameters.minPixelHits = 1
00048 process.offlinePrimaryVerticesWithBS.TkClusParameters.zSeparation = 1
00049 process.offlinePrimaryVertices.PVSelParameters.maxDistanceToBeam = 2
00050 process.offlinePrimaryVertices.TkFilterParameters.maxNormalizedChi2 = 20
00051 process.offlinePrimaryVertices.TkFilterParameters.minSiliconHits = 6
00052 process.offlinePrimaryVertices.TkFilterParameters.maxD0Significance = 100
00053 process.offlinePrimaryVertices.TkFilterParameters.minPixelHits = 1
00054 process.offlinePrimaryVertices.TkClusParameters.zSeparation = 1
00055
00056
00057 process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
00058
00059
00060 process.hfreco.samplesToAdd = 4
00061
00062
00063 process.gsfElectrons.applyPreselection = cms.bool(False)
00064 process.photons.minSCEtBarrel = 2.
00065 process.photons.minSCEtEndcap =2.
00066 process.photonCore.minSCEt = 2.
00067 process.conversionTrackCandidates.minSCEt =1.
00068 process.conversions.minSCEt =1.
00069 process.trackerOnlyConversions.AllowTrackBC = cms.bool(False)
00070 process.trackerOnlyConversions.AllowRightBC = cms.bool(False)
00071 process.trackerOnlyConversions.MinApproach = cms.double(-.25)
00072 process.trackerOnlyConversions.DeltaCotTheta = cms.double(.07)
00073 process.trackerOnlyConversions.DeltaPhi = cms.double(.2)
00074
00075
00076
00077
00078
00079
00080 return (process)
00081
00082
00083
00084 def customisePPData(process):
00085 process= customiseCommon(process)
00086 process.hfreco.firstSample=3
00087
00088 process.ecalPreshowerRecHit.ESBaseline = 0
00089
00090
00091 process.ecalPreshowerRecHit.ESRecoAlgo = cms.untracked.int32(1)
00092
00093 return process
00094
00095
00096
00097 def customisePPMC(process):
00098 process=customiseCommon(process)
00099 process.hfreco.firstSample=1
00100
00101 return process
00102
00103
00104 def customiseCosmicData(process):
00105 process.ecalPreshowerRecHit.ESBaseline = cms.int32(0)
00106 process.ecalPreshowerRecHit.ESRecoAlgo = cms.untracked.int32(1)
00107
00108 return process
00109
00110
00111 def customiseCosmicMC(process):
00112
00113 return process
00114
00115
00116
00117 def customiseExpress(process):
00118 process= customisePPData(process)
00119
00120 return process