Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:15:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ##### event content for heavy-ion analysis objects
0004 from Configuration.EventContent.EventContentHeavyIons_cff import *
0005 from RecoHI.HiMuonAlgos.RecoHiMuon_EventContent_cff import *
0006 
0007 #jets
0008 jetContent = cms.PSet(
0009     outputCommands = cms.untracked.vstring(
0010     'keep double*_*CaloJets_*_*',
0011     'drop recoCaloJets_*_*_*',
0012     'keep recoGenJets_*_*_*',
0013     'keep patJets_*_*_*'
0014     )
0015   )
0016 
0017 jetContentExtended = jetContent.clone()
0018 jetContentExtended.outputCommands.extend(cms.untracked.vstring('keep *_towerMaker_*_*'))
0019 
0020 #tracks
0021 trkContent = cms.PSet(
0022     outputCommands = cms.untracked.vstring(
0023       'keep *_offlineBeamSpot_*_*',
0024       'keep recoTracks_hiSelectedTracks_*_*',
0025       'keep recoTracks_hiPixel3PrimTracks_*_*' # low-fake selection to lower pt?
0026       )
0027     )
0028 
0029 lightTrackContent = cms.PSet(
0030     outputCommands = cms.untracked.vstring(
0031     'keep *_offlineBeamSpot_*_*',
0032     'keep *_allTracks_*_*' # Selected Charged Candidates
0033     )
0034     )
0035 
0036 #muons
0037 muonContent = cms.PSet(
0038     outputCommands = cms.untracked.vstring(
0039       'keep patMuons_*_*_*'
0040       )
0041     )
0042 
0043 muonContentExtended = muonContent.clone()
0044 muonContentExtended.outputCommands.extend(RecoMuonAOD.outputCommands)
0045 muonContentExtended.outputCommands.extend(RecoHiMuonAOD.outputCommands)
0046 
0047 #photons
0048 photonContent = cms.PSet(
0049     outputCommands = cms.untracked.vstring(
0050       'keep patPhotons_selected*_*_*'
0051       )
0052     )
0053 
0054 photonContentExtended = photonContent.clone()
0055 photonContentExtended.outputCommands.extend(RecoEgammaAOD.outputCommands)
0056 
0057 #correlations
0058 corrContent = cms.PSet(
0059     outputCommands = cms.untracked.vstring( 
0060       'keep recoRecoChargedCandidates_allTracks_*_*',
0061       'keep recoRecoChargedCandidates_allPxltracks_*_*'
0062       )
0063     )
0064 
0065 #common
0066 hiCommon = cms.PSet(
0067     outputCommands = cms.untracked.vstring('drop *',
0068       'keep *_TriggerResults_*_HLT',
0069       'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0070       'keep recoVertexs_hiSelectedVertex_*_*',                              
0071       'keep *_heavyIon_*_*',
0072       'keep *_hiCentrality_*_*',
0073       'keep *_hiEvtPlane_*_*'
0074     )
0075 )
0076 
0077 #mc content
0078 hiContentMC =  cms.PSet(
0079     outputCommands = cms.untracked.vstring(
0080       'keep *_generator_*_*',
0081       'keep *_hiSignal_*_*',
0082       'keep *_genParticles_*_*',
0083       'keep *_hiGenParticles_*_*'
0084     )
0085 )
0086 
0087 ##### combinations for specific skims
0088 
0089 # HI PAG skim
0090 hiAnalysisSkimContent = hiCommon.clone()
0091 hiAnalysisSkimContent.outputCommands.extend(jetContentExtended.outputCommands)
0092 hiAnalysisSkimContent.outputCommands.extend(trkContent.outputCommands)
0093 hiAnalysisSkimContent.outputCommands.extend(muonContent.outputCommands)
0094 hiAnalysisSkimContent.outputCommands.extend(photonContent.outputCommands)
0095 hiAnalysisSkimContent.outputCommands.extend(corrContent.outputCommands)
0096 
0097 # [highpt] skim
0098 jetTrkSkimContent = hiCommon.clone()
0099 jetTrkSkimContent.outputCommands.extend(jetContentExtended.outputCommands)
0100 jetTrkSkimContent.outputCommands.extend(lightTrackContent.outputCommands)
0101 
0102 # [highpt] MC skim
0103 jetTrkSkimContentMC = jetTrkSkimContent.clone()
0104 jetTrkSkimContentMC.outputCommands.extend(hiContentMC.outputCommands)
0105 
0106 # [dilepton] skim 0
0107 muonSkimContent = hiCommon.clone()
0108 muonSkimContent.outputCommands.extend(cms.untracked.vstring('keep patMuons_*_*_*'))
0109 muonSkimContent.outputCommands.extend(RecoMuonRECO.outputCommands)
0110 muonSkimContent.outputCommands.extend(RecoHiTrackerRECO.outputCommands)
0111 
0112 # [dilepton] skim MC
0113 muonSkimContentMC = muonSkimContent.clone()
0114 muonSkimContentMC.outputCommands.extend(hiContentMC.outputCommands)
0115 
0116 # [dilepton] skim 1
0117 muonTrkSkimContent = hiCommon.clone()  # trigger, L!, vertex,centrality, etc
0118 muonTrkSkimContent.outputCommands.extend(muonContentExtended.outputCommands) # muon AOD
0119 muonTrkSkimContent.outputCommands.extend(trkContent.outputCommands)