1 import FWCore.ParameterSet.Config
as cms
6 process.load(
'Configuration.EventContent.EventContent_cff')
9 process.RecoEgammaFEVT.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
10 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*'
14 process.RECOEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
15 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
16 'keep recoCaloClusters_islandBasicClusters_*_*'
19 process.FEVTEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
20 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
21 'keep recoCaloClusters_islandBasicClusters_*_*'
23 process.FEVTSIMEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
24 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
25 'keep recoCaloClusters_islandBasicClusters_*_*'
28 process.RAWRECOEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
29 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
30 'keep recoCaloClusters_islandBasicClusters_*_*'
33 process.RECOSIMEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
34 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
35 'keep recoCaloClusters_islandBasicClusters_*_*'
38 process.RAWRECOSIMHLTEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
39 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
40 'keep recoCaloClusters_islandBasicClusters_*_*'
43 process.RAWRECODEBUGHLTEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
44 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
45 'keep recoCaloClusters_islandBasicClusters_*_*'
48 process.FEVTHLTALLEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
49 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
50 'keep recoCaloClusters_islandBasicClusters_*_*'
53 process.FEVTDEBUGEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
54 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*',
55 'keep recoCaloClusters_islandBasicClusters_*_*'
59 process.AODEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
60 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*'
63 process.AODSIMEventContent.outputCommands.extend([
'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerppGED_*_*',
64 'keep recoHIPhotonIsolationedmValueMap_photonIsolationHIProducerpp_*_*'
68 process.load(
'RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi')
69 process.load(
'RecoEcal.EgammaClusterProducers.islandBasicClusters_cfi')
71 process.photonIsolationHISequencePP = cms.Sequence(process.islandBasicClusters
72 * process.photonIsolationHIProducerpp
73 * process.photonIsolationHIProducerppGED)
75 process.reconstruction *= process.photonIsolationHISequencePP
83 hiClusterCut = cms.string(
"strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)")
85 if hasattr(process,
'initialStepSeedsPreSplitting'): process.initialStepSeedsPreSplitting.ClusterCheckPSet.cut = hiClusterCut
86 if hasattr(process,
'initialStepSeeds'): process.initialStepSeeds.ClusterCheckPSet.cut = hiClusterCut
87 if hasattr(process,
'lowPtTripletStepSeeds'): process.lowPtTripletStepSeeds.ClusterCheckPSet.cut = hiClusterCut
88 if hasattr(process,
'globalSeedsFromTriplets'): process.globalSeedsFromTriplets.ClusterCheckPSet.cut = hiClusterCut
89 if hasattr(process,
'detachedTripletStepSeeds'): process.detachedTripletStepSeeds.ClusterCheckPSet.cut = hiClusterCut
90 if hasattr(process,
'mixedTripletStepSeedsA'): process.mixedTripletStepSeedsA.ClusterCheckPSet.cut = hiClusterCut
91 if hasattr(process,
'mixedTripletStepSeedsB'): process.mixedTripletStepSeedsB.ClusterCheckPSet.cut = hiClusterCut
92 if hasattr(process,
'globalMixedSeeds'): process.globalMixedSeeds.ClusterCheckPSet.cut = hiClusterCut
93 if hasattr(process,
'pixelLessStepSeeds'): process.pixelLessStepSeeds.ClusterCheckPSet.cut = hiClusterCut
94 if hasattr(process,
'globalPixelLessSeeds'): process.globalPixelLessSeeds.ClusterCheckPSet.cut = hiClusterCut
95 if hasattr(process,
'globalPixelSeeds'): process.globalPixelSeeds.ClusterCheckPSet.cut = hiClusterCut
96 if hasattr(process,
'pixelPairStepSeeds'): process.pixelPairStepSeeds.ClusterCheckPSet.cut = hiClusterCut
97 if hasattr(process,
'globalSeedsFromPairsWithVertices'): process.globalSeedsFromPairsWithVertices.ClusterCheckPSet.cut = hiClusterCut
98 if hasattr(process,
'tobTecStepSeedsPair'): process.tobTecStepSeedsPair.ClusterCheckPSet.cut = hiClusterCut
99 if hasattr(process,
'tobTecStepSeedsTripl'): process.tobTecStepSeedsTripl.ClusterCheckPSet.cut = hiClusterCut
100 if hasattr(process,
'pixelPairElectronSeeds'): process.pixelPairElectronSeeds.ClusterCheckPSet.cut = hiClusterCut
101 if hasattr(process,
'regionalCosmicTrackerSeeds'): process.regionalCosmicTrackerSeeds.ClusterCheckPSet.cut = hiClusterCut
102 if hasattr(process,
'stripPairElectronSeeds'): process.stripPairElectronSeeds.ClusterCheckPSet.cut = hiClusterCut
103 if hasattr(process,
'photonConvTrajSeedFromSingleLeg'): process.photonConvTrajSeedFromSingleLeg.ClusterCheckPSet.cut = hiClusterCut
104 if hasattr(process,
'photonConvTrajSeedFromQuadruplets'): process.photonConvTrajSeedFromQuadruplets.ClusterCheckPSet.cut = hiClusterCut
105 if hasattr(process,
'tripletElectronSeeds'): process.tripletElectronSeeds.ClusterCheckPSet.cut = hiClusterCut
106 if hasattr(process,
'jetCoreRegionalStepSeeds'): process.jetCoreRegionalStepSeeds.ClusterCheckPSet.cut = hiClusterCut
109 maxElement = cms.uint32(1000000)
111 if hasattr(process,
'initialStepSeedsPreSplitting'): process.initialStepSeedsPreSplitting.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = maxElement
112 if hasattr(process,
'initialStepSeeds'): process.initialStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = maxElement
113 if hasattr(process,
'lowPtTripletStepSeeds'): process.lowPtTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = maxElement
114 if hasattr(process,
'mixedTripletStepSeedsA'): process.mixedTripletStepSeedsA.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = maxElement
115 if hasattr(process,
'mixedTripletStepSeedsB'): process.mixedTripletStepSeedsB.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = maxElement
116 if hasattr(process,
'detachedTripletStepSeeds'): process.detachedTripletStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = maxElement
117 if hasattr(process,
'pixelLessStepSeeds'): process.pixelLessStepSeeds.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = maxElement
118 if hasattr(process,
'tobTecStepSeedsTripl'): process.tobTecStepSeedsTripl.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = maxElement
119 if hasattr(process,
'tobTecStepSeedsPair'): process.tobTecStepSeedsPair.OrderedHitsFactoryPSet.maxElement = maxElement
120 if hasattr(process,
'pixelPairStepSeeds'): process.pixelPairStepSeeds.OrderedHitsFactoryPSet.maxElement = maxElement
121 if hasattr(process,
'jetCoreRegionalStepSeeds'): process.jetCoreRegionalStepSeeds.OrderedHitsFactoryPSet.maxElement = maxElement
129 process.load(
'Configuration.EventContent.EventContent_cff')
132 if hasattr(process,
'AODoutput'):
133 process.AODoutput.outputCommands.extend([
'keep *_towerMaker_*_*'])
135 if hasattr(process,
'AODSIMoutput'):
136 process.AODSIMoutput.outputCommands.extend([
'keep *_towerMaker_*_*'])
def customisePPrecoforPPb
def addHIIsolationProducer
def customisePPrecoForPeripheralPbPb