Skip to content

Commit

Permalink
update eventcontent structure in RecoHI packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongeun committed Apr 28, 2020
1 parent d81cdd1 commit 6b9c94e
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 117 deletions.
31 changes: 15 additions & 16 deletions RecoHI/Configuration/python/RecoHI_EventContent_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@
from RecoHI.HiEvtPlaneAlgos.RecoHiEvtPlane_EventContent_cff import *
from RecoHI.HiMuonAlgos.RecoHiMuon_EventContent_cff import *


# combine RECO, AOD, FEVT content from all RecoHI packages
# RecoHI event contents to be included by Configuration.EventContent.EventContentHeavyIons_cff

RecoHIRECO = cms.PSet(
outputCommands = cms.untracked.vstring()
)

# AOD content
RecoHIAOD = cms.PSet(
outputCommands = cms.untracked.vstring()
)
)
RecoHIAOD.outputCommands.extend(RecoHiTrackerAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiJetsAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiEgammaAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiEvtPlaneAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiCentralityAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiMuonAOD.outputCommands)

RecoHIFEVT = cms.PSet(
# RECO content
RecoHIRECO = cms.PSet(
outputCommands = cms.untracked.vstring()
)

)
RecoHIRECO.outputCommands.extend(RecoHiTrackerRECO.outputCommands)
RecoHIRECO.outputCommands.extend(RecoHiTrackerLocalRECO.outputCommands)
RecoHIRECO.outputCommands.extend(RecoHiJetsRECO.outputCommands)
Expand All @@ -32,13 +34,10 @@
RecoHIRECO.outputCommands.extend(RecoHiCentralityRECO.outputCommands)
RecoHIRECO.outputCommands.extend(RecoHiMuonRECO.outputCommands)

RecoHIAOD.outputCommands.extend(RecoHiTrackerAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiJetsAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiEgammaAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiEvtPlaneAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiCentralityAOD.outputCommands)
RecoHIAOD.outputCommands.extend(RecoHiMuonAOD.outputCommands)

# FEVT content
RecoHIFEVT = cms.PSet(
outputCommands = cms.untracked.vstring()
)
RecoHIFEVT.outputCommands.extend(RecoHiTrackerFEVT.outputCommands)
RecoHIFEVT.outputCommands.extend(RecoHiTrackerLocalFEVT.outputCommands)
RecoHIFEVT.outputCommands.extend(RecoHiJetsFEVT.outputCommands)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
import FWCore.ParameterSet.Config as cms
# AOD content
RecoHiCentralityAOD = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep recoCentrality*_hiCentrality_*_*',
'keep *_centralityBin_*_*',
'keep recoClusterCompatibility*_hiClusterCompatibility_*_*')
)

RecoHiCentralityFEVT = cms.PSet(
outputCommands = cms.untracked.vstring('keep recoCentrality*_hiCentrality_*_*',
'keep *_centralityBin_*_*',
'keep recoClusterCompatibility*_hiClusterCompatibility_*_*')
)
# RECO content
RecoHiCentralityRECO = cms.PSet(
outputCommands = cms.untracked.vstring('keep recoCentrality*_hiCentrality_*_*',
'keep *_centralityBin_*_*',
'keep recoClusterCompatibility*_hiClusterCompatibility_*_*')
)
RecoHiCentralityAOD = cms.PSet(
outputCommands = cms.untracked.vstring('keep recoCentrality*_hiCentrality_*_*',
'keep *_centralityBin_*_*',
'keep recoClusterCompatibility*_hiClusterCompatibility_*_*')
)
outputCommands = cms.untracked.vstring()
)
RecoHiCentralityRECO.outputCommands.extend(RecoHiCentralityAOD.outputCommands)

# FEVT content
RecoHiCentralityFEVT = cms.PSet(
outputCommands = cms.untracked.vstring()
)
RecoHiCentralityFEVT.outputCommands.extend(RecoHiCentralityRECO.outputCommands)
29 changes: 17 additions & 12 deletions RecoHI/HiEvtPlaneAlgos/python/RecoHiEvtPlane_EventContent_cff.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
import FWCore.ParameterSet.Config as cms

RecoHiEvtPlaneFEVT = cms.PSet(
outputCommands = cms.untracked.vstring('keep recoEvtPlanes_hiEvtPlane_*_*')
)
# AOD content
RecoHiEvtPlaneAOD = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep recoEvtPlanes_hiEvtPlane_*_*',
'keep ZDCRecHitsSorted_zdcreco_*_*',
'keep ZDCDataFramesSorted_hcalDigis_*_*',
'keep HFRecHitsSorted_hfreco_*_*')
)

# RECO content
RecoHiEvtPlaneRECO = cms.PSet(
outputCommands = cms.untracked.vstring('keep recoEvtPlanes_hiEvtPlane_*_*')
)
outputCommands = cms.untracked.vstring()
)
RecoHiEvtPlaneRECO.outputCommands.extend(RecoHiEvtPlaneAOD.outputCommands)

RecoHiEvtPlaneAOD = cms.PSet(
outputCommands = cms.untracked.vstring('keep recoEvtPlanes_hiEvtPlane_*_*',
'keep ZDCRecHitsSorted_zdcreco_*_*',
'keep ZDCDataFramesSorted_hcalDigis_*_*',
'keep HFRecHitsSorted_hfreco_*_*'
)
)
# FEVT content
RecoHiEvtPlaneFEVT = cms.PSet(
outputCommands = cms.untracked.vstring()
)
RecoHiEvtPlaneFEVT.outputCommands.extend(RecoHiEvtPlaneRECO.outputCommands)
70 changes: 34 additions & 36 deletions RecoHI/HiMuonAlgos/python/RecoHiMuon_EventContent_cff.py
Original file line number Diff line number Diff line change
@@ -1,54 +1,52 @@
import FWCore.ParameterSet.Config as cms

#Full Event content
RecoHiMuonFEVT = cms.PSet(
outputCommands = cms.untracked.vstring()
)

#RECO content
RecoHiMuonRECO = cms.PSet(
outputCommands = cms.untracked.vstring()
)

#AOD content
RecoHiMuonAOD = cms.PSet(
outputCommands = cms.untracked.vstring()
)

#Add Isolation
from RecoMuon.MuonIsolationProducers.muIsolation_EventContent_cff import *
# AOD content for re-muons
reRecoMuonAOD = cms.PSet(
outputCommands = cms.untracked.vstring('keep *_remuons_*_*',
'keep *_*_remuons_*',
# Tracks known by the Muon obj
'keep recoTracks_standAloneMuons_*_*',
'keep recoTrackExtras_standAloneMuons_*_*',
'keep TrackingRecHitsOwned_standAloneMuons_*_*',
'keep recoTracks_reglobalMuons_*_*',
'keep recoTrackExtras_reglobalMuons_*_*',
'keep recoTracks_retevMuons_*_*',
'keep recoTrackExtras_retevMuons_*_*',
'keep recoTracksToOnerecoTracksAssociation_retevMuons_*_*'
)
outputCommands = cms.untracked.vstring(
'keep *_remuons_*_*',
'keep *_*_remuons_*',
# Tracks known by the Muon obj
'keep recoTracks_standAloneMuons_*_*',
'keep recoTrackExtras_standAloneMuons_*_*',
'keep TrackingRecHitsOwned_standAloneMuons_*_*',
'keep recoTracks_reglobalMuons_*_*',
'keep recoTrackExtras_reglobalMuons_*_*',
'keep recoTracks_retevMuons_*_*',
'keep recoTrackExtras_retevMuons_*_*',
'keep recoTracksToOnerecoTracksAssociation_retevMuons_*_*')
)
# RECO content
RecoHiMuonAOD.outputCommands.extend(reRecoMuonAOD.outputCommands)

#RECO content
RecoHiMuonRECO = cms.PSet(
outputCommands = cms.untracked.vstring()
)

reRecoMuonRECO = cms.PSet(
outputCommands = cms.untracked.vstring('keep *_MuonSeed_*_*',
'keep *_ancientMuonSeed_*_*',
'keep *_mergedStandAloneMuonSeeds_*_*',
'keep TrackingRecHitsOwned_reglobalMuons_*_*',
'keep TrackingRecHitsOwned_retevMuons_*_*',
'keep recoCaloMuons_recalomuons_*_*')
outputCommands = cms.untracked.vstring(
'keep *_MuonSeed_*_*',
'keep *_ancientMuonSeed_*_*',
'keep *_mergedStandAloneMuonSeeds_*_*',
'keep TrackingRecHitsOwned_reglobalMuons_*_*',
'keep TrackingRecHitsOwned_retevMuons_*_*',
'keep recoCaloMuons_recalomuons_*_*')
)
# Full Event content
reRecoMuonRECO.outputCommands.extend(reRecoMuonAOD.outputCommands)
RecoHiMuonRECO.outputCommands.extend(reRecoMuonRECO.outputCommands)

#Full Event content
RecoHiMuonFEVT = cms.PSet(
outputCommands = cms.untracked.vstring()
)

reRecoMuonFEVT = cms.PSet(
outputCommands = cms.untracked.vstring()
)
reRecoMuonRECO.outputCommands.extend(reRecoMuonAOD.outputCommands)
reRecoMuonFEVT.outputCommands.extend(reRecoMuonRECO.outputCommands)

RecoHiMuonAOD.outputCommands.extend(reRecoMuonAOD.outputCommands)
RecoHiMuonRECO.outputCommands.extend(reRecoMuonRECO.outputCommands)
RecoHiMuonFEVT.outputCommands.extend(reRecoMuonFEVT.outputCommands)

67 changes: 28 additions & 39 deletions RecoHI/HiTracking/python/RecoHiTracker_EventContent_cff.py
Original file line number Diff line number Diff line change
@@ -1,54 +1,43 @@
import FWCore.ParameterSet.Config as cms

#Full Event content
RecoHiTrackerFEVT = cms.PSet(
#AOD content
RecoHiTrackerAOD = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_hiGeneralTracks_*_*',
'keep *_hiGeneralAndPixelTracks_*_*',
'keep *_hiPixel3PrimTracks_*_*',
'keep *_hiPixel3ProtoTracks_*_*',
'keep *_hiSelectedProtoTracks_*_*',
'keep recoVertexs_hiPixelMedianVertex_*_*',
'keep recoVertexs_hiPixelAdaptiveVertex_*_*',
'keep recoVertexs_hiSelectedVertex_*_*',
'keep recoVertexs_hiSelectedPixelVertex_*_*',
'keep recoVertexs_hiPixelClusterVertex_*_*'
)
)

RecoHiTrackerLocalFEVT = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_*_APVCM_*',
'keep *_siStripZeroSuppression_BADAPVBASELINE_*',
'keep SiStripRawDigiedmDetSetVector_siStripZeroSuppression_VirginRaw_*'
)
'keep recoTracks_hiGeneralTracks_*_*',
'keep recoTracks_hiGeneralAndPixelTracks_*_*',
'keep recoVertexs_hiSelectedVertex_*_*')
)

#RECO content
RecoHiTrackerRECO = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_hiGeneralTracks_*_*',
'keep *_hiGeneralAndPixelTracks_*_*',
'keep recoVertexs_hiPixelMedianVertex_*_*',
'keep recoVertexs_hiPixelAdaptiveVertex_*_*',
'keep recoVertexs_hiSelectedVertex_*_*',
'keep recoVertexs_hiSelectedPixelVertex_*_*',
'keep recoVertexs_hiPixelClusterVertex_*_*'
)
'keep *_hiGeneralTracks_*_*',
'keep *_hiGeneralAndPixelTracks_*_*',
'keep recoVertexs_hiPixelMedianVertex_*_*',
'keep recoVertexs_hiPixelAdaptiveVertex_*_*',
'keep recoVertexs_hiSelectedPixelVertex_*_*',
'keep recoVertexs_hiPixelClusterVertex_*_*')
)
RecoHiTrackerRECO.outputCommands.extend(RecoHiTrackerAOD.outputCommands)

RecoHiTrackerLocalRECO = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_*_APVCM_*'
#'keep *_siStripZeroSuppression_BADAPVBASELINE_*',
#'keep SiStripRawDigiedmDetSetVector_siStripZeroSuppression_VirginRaw_*'
)
'keep *_*_APVCM_*')
)

#AOD content
RecoHiTrackerAOD = cms.PSet(
outputCommands = cms.untracked.vstring('keep recoTracks_hiGeneralTracks_*_*',
'keep recoTracks_hiGeneralAndPixelTracks_*_*',
'keep recoVertexs_hiSelectedVertex_*_*',
)
#Full Event content
RecoHiTrackerFEVT = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_hiPixel3PrimTracks_*_*',
'keep *_hiPixel3ProtoTracks_*_*',
'keep *_hiSelectedProtoTracks_*_*',
'keep recoVertexs_hiSelectedVertex_*_*')
)
RecoHiTrackerFEVT.outputCommands.extend(RecoHiTrackerRECO.outputCommands)

RecoHiTrackerLocalFEVT = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_siStripZeroSuppression_BADAPVBASELINE_*',
'keep SiStripRawDigiedmDetSetVector_siStripZeroSuppression_VirginRaw_*')
)
RecoHiTrackerLocalFEVT.outputCommands.extend(RecoHiTrackerLocalRECO.outputCommands)

0 comments on commit 6b9c94e

Please sign in to comment.