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)
def customiseHGCalOnlyEventContent(process)