37 def cleanOutputAndSet(outputModule, ticl_outputCommads):
38 outputModule.outputCommands = [
'drop *_*_*_*']
39 outputModule.outputCommands.extend(ticl_outputCommads)
40 outputModule.outputCommands.extend([
'keep *_HGCalRecHit_*_*',
41 'keep *_hgcalLayerClusters_*_*',
42 'keep CaloParticles_mix_*_*',
43 'keep SimClusters_mix_*_*',
44 'keep recoTracks_generalTracks_*_*',
45 'keep recoTrackExtras_generalTracks_*_*',
46 'keep SimTracks_g4SimHits_*_*',
47 'keep SimVertexs_g4SimHits_*_*',
48 'keep *_layerClusterSimClusterAssociationProducer_*_*',
49 'keep *_layerClusterCaloParticleAssociationProducer_*_*',
50 'keep *_randomEngineStateProducer_*_*',
53 if hasattr(process,
'FEVTDEBUGEventContent'):
54 cleanOutputAndSet(process.FEVTDEBUGEventContent, TICL_FEVT.outputCommands)
55 if hasattr(process,
'FEVTDEBUGHLToutput'):
56 cleanOutputAndSet(process.FEVTDEBUGHLToutput, TICL_FEVT.outputCommands)
59 def customiseHGCalOnlyEventContent(process)