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_*_*',] +
25 TICL_RECO.outputCommands.extend(TICL_AOD.outputCommands)
29 outputCommands = cms.untracked.vstring(
30 'keep *_ticlSimTracksters_*_*',
31 'keep *_ticlSimTrackstersFromCP_*_*',
34 TICL_FEVT.outputCommands.extend(TICL_RECO.outputCommands)
37 def cleanOutputAndSet(outputModule, ticl_outputCommads):
38 outputModule.outputCommands = [
'drop *_*_*_*']
39 outputModule.outputCommands.extend(ticl_outputCommads)
40 outputModule.outputCommands.extend([
'keep *_HGCalRecHit_*_*',
41 'keep *_hgcalMergeLayerClusters_*_*',
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)
def customiseHGCalOnlyEventContent(process)