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