1 import FWCore.ParameterSet.Config
as cms
5 trackstersIters = [
'keep *_ticlTracksters'+iteration+
'_*_*' for iteration
in ticlIterLabelsMerge]
6 trackstersHLTIters = [
'keep *_hltTiclTracksters'+iteration+
'_*_*' for iteration
in ticlIterLabelsMerge]
10 outputCommands = cms.untracked.vstring()
15 outputCommands = cms.untracked.vstring(
18 'keep *_ticlTrackstersHFNoseTrkEM_*_*',
19 'keep *_ticlTrackstersHFNoseEM_*_*',
20 'keep *_ticlTrackstersHFNoseTrk_*_*',
21 'keep *_ticlTrackstersHFNoseMIP_*_*',
22 'keep *_ticlTrackstersHFNoseHAD_*_*',
23 'keep *_ticlTrackstersHFNoseMerge_*_*',] +
24 [
'keep *_pfTICL_*_*'] +
25 [
'keep CaloParticles_mix_*_*',
'keep SimClusters_mix_*_*'] +
26 [
'keep *_layerClusterSimClusterAssociationProducer_*_*',
'keep *_layerClusterCaloParticleAssociationProducer_*_*',
'keep *_layerClusterSimTracksterAssociationProducer_*_*'] +
27 [
'keep *_tracksterSimTracksterAssociationLinking_*_*' ,
'keep *_tracksterSimTracksterAssociationPR_*_*'] +
28 [
'keep *_tracksterSimTracksterAssociationLinkingPU_*_*' ,
'keep *_tracksterSimTracksterAssociationPRPU_*_*'] +
29 [
'keep *_tracksterSimTracksterAssociationLinkingbyCLUE3D_*_*',
'keep *_tracksterSimTracksterAssociationPRbyCLUE3D_*_*']
33 TICLv5_RECO = cms.PSet(
34 outputCommands = cms.untracked.vstring(
36 'drop *_ticlTracksters*_*_*',
37 'keep *_ticlTrackstersCLUE3DHigh_*_*',
38 'keep *_ticlTracksterLinks_*_*',
39 'keep *_ticlTracksterLinksSuperclustering*_*_*',
40 'keep *_ticlCandidate_*_*',
46 TICL_RECO.outputCommands.extend(TICL_AOD.outputCommands)
51 outputCommands = cms.untracked.vstring(
52 'keep *_ticlSimTracksters_*_*',
53 'keep *_ticlSimTICLCandidates_*_*',
54 'keep *_ticlSimTrackstersFromCP_*_*',
58 TICL_FEVT.outputCommands.extend(TICL_RECO.outputCommands)
59 TICLv5_FEVT = cms.PSet(
60 outputCommands = cms.untracked.vstring(
61 'keep *_ticlSimTracksters_*_*',
62 'keep *_ticlSimTICLCandidates_*_*',
63 'keep *_ticlSimTrackstersFromCP_*_*',
64 'keep *_tracksterSimTracksterAssociationLinkingSuperclustering_*_*',
65 'keep *_tracksterSimTracksterAssociationPRSuperclustering_*_*',
69 TICLv5_FEVT.outputCommands.extend(TICLv5_RECO.outputCommands)
71 TICL_FEVTHLT = cms.PSet(
72 outputCommands = cms.untracked.vstring(
74 [
'keep *_hltPfTICL_*_*']
78 TICL_FEVTHLT.outputCommands.extend(TICL_FEVT.outputCommands)
80 TICLv5_FEVTHLT = cms.PSet(
81 outputCommands = cms.untracked.vstring(
83 'drop *_hltTiclTracksters*_*_*',
84 'keep *_hltTiclTrackstersCLUE3D*_*_*',
85 'keep *_hltTiclTracksterLinks_*_*',
86 'keep *_hltTiclCandidate_*_*',
87 'keep *_hltPfTICL_*_*',
92 TICLv5_FEVTHLT.outputCommands.extend(TICLv5_FEVT.outputCommands)
95 def cleanOutputAndSet(outputModule, ticl_outputCommads):
96 outputModule.outputCommands = [
'drop *_*_*_*']
97 outputModule.outputCommands.extend(ticl_outputCommads)
98 outputModule.outputCommands.extend([
'keep *_HGCalRecHit_*_*',
99 'keep *_hgcalMergeLayerClusters_*_*',
100 'keep CaloParticles_mix_*_*',
101 'keep SimClusters_mix_*_*',
102 'keep recoTracks_generalTracks_*_*',
103 'keep recoTrackExtras_generalTracks_*_*',
104 'keep SimTracks_g4SimHits_*_*',
105 'keep SimVertexs_g4SimHits_*_*',
106 'keep *_layerClusterSimClusterAssociationProducer_*_*',
107 'keep *_layerClusterCaloParticleAssociationProducer_*_*',
108 'keep *_randomEngineStateProducer_*_*',
109 'keep *_layerClusterSimTracksterAssociationProducer_*_*',
110 'keep *_tracksterSimTracksterAssociationLinking_*_*',
111 'keep *_tracksterSimTracksterAssociationPR_*_*',
112 'keep *_tracksterSimTracksterAssociationLinkingPU_*_*',
113 'keep *_tracksterSimTracksterAssociationPRPU_*_*',
114 'keep *_tracksterSimTracksterAssociationLinkingbyCLUE3D_*_*',
115 'keep *_tracksterSimTracksterAssociationPRbyCLUE3D_*_*',
118 if hasattr(process,
'FEVTDEBUGEventContent'):
119 cleanOutputAndSet(process.FEVTDEBUGEventContent, TICL_FEVT.outputCommands)
120 if hasattr(process,
'FEVTDEBUGHLToutput'):
121 cleanOutputAndSet(process.FEVTDEBUGHLToutput, TICL_FEVTHLT.outputCommands)
128 def cleanOutputAndSet(outputModule, ticl_outputCommands):
129 outputModule.outputCommands.extend(ticl_outputCommands)
131 if hasattr(process,
'FEVTDEBUGEventContent'):
132 cleanOutputAndSet(process.FEVTDEBUGEventContent, TICLv5_FEVT.outputCommands)
133 if hasattr(process,
'FEVTDEBUGHLToutput'):
134 cleanOutputAndSet(process.FEVTDEBUGHLToutput, TICLv5_FEVTHLT.outputCommands)
135 if hasattr(process,
'FEVTEventContent'):
136 cleanOutputAndSet(process.FEVTEventContent, TICLv5_FEVT.outputCommands)
def customiseForTICLv5EventContent(process)
def customiseHGCalOnlyEventContent(process)