Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
import FWCore.ParameterSet.Config as cms

#  Heavy Ions Event Content including:
#    1) common event content from standard file (EventContent_cff)
#    2) heavy-ion specific content from other subsystems (e.g. HiMixing)
#    3) heavy-ion specific reconstruction content from RecoHI

# Common Subsystems
from Configuration.EventContent.EventContent_cff import *

# Heavy-Ion Specific Event Content
from SimGeneral.Configuration.SimGeneral_HiMixing_EventContent_cff import * # heavy ion signal mixing
from RecoHI.Configuration.RecoHI_EventContent_cff import *       # heavy ion reconstruction


#RAW
RecoHIRAWOutput=cms.untracked.vstring(
	'keep FEDRawDataCollection_rawDataRepacker_*_*',
        'keep FEDRawDataCollection_hybridRawDataRepacker_*_*',
        'keep FEDRawDataCollection_virginRawDataRepacker_*_*')
RAWEventContent.outputCommands.extend(RecoHIRAWOutput)

#RECO
RECOEventContent.outputCommands.extend(RecoHIRECO.outputCommands)

#AOD
AODEventContent.outputCommands.extend(RecoHIAOD.outputCommands)

#RAWSIM
RAWSIMEventContent.outputCommands.extend(RecoHIRAWOutput)
RAWSIMEventContent.outputCommands.extend(HiMixRAW.outputCommands)

#RAWSIMHLT
RAWSIMHLTEventContent.outputCommands.extend(RecoHIRAWOutput)
RAWSIMHLTEventContent.outputCommands.extend(HiMixRAW.outputCommands)

#RECOSIM
RECOSIMEventContent.outputCommands.extend(RecoHIRECO.outputCommands)
RECOSIMEventContent.outputCommands.extend(HiMixRECO.outputCommands)

#AODSIM
AODSIMEventContent.outputCommands.extend(RecoHIAOD.outputCommands)
AODSIMEventContent.outputCommands.extend(HiMixAOD.outputCommands)

#FEVT (RAW + RECO)
FEVTEventContent.outputCommands.extend(RecoHIFEVT.outputCommands)
FEVTEventContent.outputCommands.extend(RecoHIRAWOutput)

#FEVTHLTALL (FEVT + all HLT)
FEVTHLTALLEventContent.outputCommands.extend(RecoHIFEVT.outputCommands)
FEVTHLTALLEventContent.outputCommands.extend(RecoHIRAWOutput)

#FEVTSIM (RAWSIM + RECOSIM)
FEVTSIMEventContent.outputCommands.extend(RecoHIFEVT.outputCommands)
FEVTSIMEventContent.outputCommands.extend(RecoHIRAWOutput)
FEVTSIMEventContent.outputCommands.extend(HiMixRAW.outputCommands)

#RAW DEBUG(e.g. mergedtruth from trackingParticles) 
RAWDEBUGEventContent.outputCommands.extend(RecoHIRAWOutput)
RAWDEBUGEventContent.outputCommands.extend(HiMixRAW.outputCommands)

#RAW HLT DEBUG 
RAWDEBUGHLTEventContent.outputCommands.extend(RecoHIRAWOutput)
RAWDEBUGHLTEventContent.outputCommands.extend(HiMixRAW.outputCommands)

#RECO DEBUG  
RECODEBUGEventContent.outputCommands.extend(RecoHIRECO.outputCommands)
RECODEBUGEventContent.outputCommands.extend(HiMixRAW.outputCommands)

#FEVT DEBUG 
FEVTDEBUGEventContent.outputCommands.extend(RecoHIFEVT.outputCommands)
FEVTDEBUGEventContent.outputCommands.extend(RecoHIRAWOutput)
FEVTDEBUGEventContent.outputCommands.extend(HiMixRAW.outputCommands)

#FEVT HLT DEBUG  
FEVTDEBUGHLTEventContent.outputCommands.extend(RecoHIFEVT.outputCommands)
FEVTDEBUGHLTEventContent.outputCommands.extend(RecoHIRAWOutput)
FEVTDEBUGHLTEventContent.outputCommands.extend(HiMixRAW.outputCommands)