44 def cleanOutputAndSet(outputModule, ticl_outputCommads):
45 outputModule.outputCommands = [
'drop *_*_*_*']
46 outputModule.outputCommands.extend(ticl_outputCommads)
47 outputModule.outputCommands.extend([
'keep *_HGCalRecHit_*_*',
48 'keep *_hgcalMergeLayerClusters_*_*',
49 'keep CaloParticles_mix_*_*',
50 'keep SimClusters_mix_*_*',
51 'keep recoTracks_generalTracks_*_*',
52 'keep recoTrackExtras_generalTracks_*_*',
53 'keep SimTracks_g4SimHits_*_*',
54 'keep SimVertexs_g4SimHits_*_*',
55 'keep *_layerClusterSimClusterAssociationProducer_*_*',
56 'keep *_layerClusterCaloParticleAssociationProducer_*_*',
57 'keep *_randomEngineStateProducer_*_*',
58 'keep *_layerClusterSimTracksterAssociationProducer_*_*',
59 'keep *_tracksterSimTracksterAssociationLinking_*_*',
60 'keep *_tracksterSimTracksterAssociationPR_*_*',
61 'keep *_tracksterSimTracksterAssociationLinkingPU_*_*',
62 'keep *_tracksterSimTracksterAssociationPRPU_*_*',
63 'keep *_tracksterSimTracksterAssociationLinkingbyCLUE3D_*_*',
64 'keep *_tracksterSimTracksterAssociationPRbyCLUE3D_*_*',
67 if hasattr(process,
'FEVTDEBUGEventContent'):
68 cleanOutputAndSet(process.FEVTDEBUGEventContent, TICL_FEVT.outputCommands)
69 if hasattr(process,
'FEVTDEBUGHLToutput'):
70 cleanOutputAndSet(process.FEVTDEBUGHLToutput, TICL_FEVT.outputCommands)
73 def customiseHGCalOnlyEventContent(process)