1 import FWCore.ParameterSet.Config
as cms
5 trackstersIters = [
'keep *_ticlTracksters'+iteration+
'_*_*' for iteration
in ticlIterLabelsMerge]
9 outputCommands = cms.untracked.vstring()
14 outputCommands = cms.untracked.vstring(
16 [
'keep *_ticlTrackstersHFNoseTrkEM_*_*',
17 'keep *_ticlTrackstersHFNoseEM_*_*',
18 'keep *_ticlTrackstersHFNoseTrk_*_*',
19 'keep *_ticlTrackstersHFNoseMIP_*_*',
20 'keep *_ticlTrackstersHFNoseHAD_*_*',
21 'keep *_ticlTrackstersHFNoseMerge_*_*',] +
22 [
'keep *_pfTICL_*_*'] +
23 [
'keep CaloParticles_mix_*_*',
'keep SimClusters_mix_*_*'] +
24 [
'keep *_layerClusterSimClusterAssociationProducer_*_*',
'keep *_layerClusterCaloParticleAssociationProducer_*_*',
'keep *_layerClusterSimTracksterAssociationProducer_*_*'] +
25 [
'keep *_tracksterSimTracksterAssociationLinking_*_*' ,
'keep *_tracksterSimTracksterAssociationPR_*_*'] +
26 [
'keep *_tracksterSimTracksterAssociationLinkingPU_*_*' ,
'keep *_tracksterSimTracksterAssociationPRPU_*_*'] +
27 [
'keep *_tracksterSimTracksterAssociationLinkingbyCLUE3D_*_*',
'keep *_tracksterSimTracksterAssociationPRbyCLUE3D_*_*']
30 TICL_RECO.outputCommands.extend(TICL_AOD.outputCommands)
34 outputCommands = cms.untracked.vstring(
35 'keep *_ticlSimTracksters_*_*',
36 'keep *_ticlSimTICLCandidates_*_*',
37 'keep *_ticlSimTrackstersFromCP_*_*',
40 TICL_FEVT.outputCommands.extend(TICL_RECO.outputCommands)
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)
def customiseHGCalOnlyEventContent(process)