CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/HeavyIonsAnalysis/Configuration/python/analysisEventContent_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ##### event content for heavy-ion analysis objects
00004 from Configuration.EventContent.EventContentHeavyIons_cff import *
00005 from RecoHI.HiMuonAlgos.RecoHiMuon_EventContent_cff import *
00006 
00007 #jets
00008 jetContent = cms.PSet(
00009     outputCommands = cms.untracked.vstring(
00010     'keep double*_*CaloJets_*_*',
00011     'drop recoCaloJets_*_*_*',
00012     'keep recoGenJets_*_*_*',
00013     'keep patJets_*_*_*'
00014     )
00015   )
00016 
00017 jetContentExtended = jetContent.clone()
00018 jetContentExtended.outputCommands.extend(cms.untracked.vstring('keep *_towerMaker_*_*'))
00019 
00020 #tracks
00021 trkContent = cms.PSet(
00022     outputCommands = cms.untracked.vstring(
00023       'keep *_offlineBeamSpot_*_*',
00024       'keep recoTracks_hiSelectedTracks_*_*',
00025       'keep recoTracks_hiPixel3PrimTracks_*_*' # low-fake selection to lower pt?
00026       )
00027     )
00028 
00029 lightTrackContent = cms.PSet(
00030     outputCommands = cms.untracked.vstring(
00031     'keep *_offlineBeamSpot_*_*',
00032     'keep *_allTracks_*_*' # Selected Charged Candidates
00033     )
00034     )
00035 
00036 #muons
00037 muonContent = cms.PSet(
00038     outputCommands = cms.untracked.vstring(
00039       'keep patMuons_*_*_*'
00040       )
00041     )
00042 
00043 muonContentExtended = muonContent.clone()
00044 muonContentExtended.outputCommands.extend(RecoMuonAOD.outputCommands)
00045 muonContentExtended.outputCommands.extend(RecoHiMuonAOD.outputCommands)
00046 
00047 #photons
00048 photonContent = cms.PSet(
00049     outputCommands = cms.untracked.vstring(
00050       'keep patPhotons_selected*_*_*'
00051       )
00052     )
00053 
00054 photonContentExtended = photonContent.clone()
00055 photonContentExtended.outputCommands.extend(RecoEgammaAOD.outputCommands)
00056 
00057 #correlations
00058 corrContent = cms.PSet(
00059     outputCommands = cms.untracked.vstring( 
00060       'keep recoRecoChargedCandidates_allTracks_*_*',
00061       'keep recoRecoChargedCandidates_allPxltracks_*_*'
00062       )
00063     )
00064 
00065 #common
00066 hiCommon = cms.PSet(
00067     outputCommands = cms.untracked.vstring('drop *',
00068       'keep *_TriggerResults_*_HLT',
00069       'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
00070       'keep recoVertexs_hiSelectedVertex_*_*',                              
00071       'keep *_heavyIon_*_*',
00072       'keep *_hiCentrality_*_*',
00073       'keep *_hiEvtPlane_*_*'
00074     )
00075 )
00076 
00077 #mc content
00078 hiContentMC =  cms.PSet(
00079     outputCommands = cms.untracked.vstring(
00080       'keep *_generator_*_*',
00081       'keep *_hiSignal_*_*',
00082       'keep *_genParticles_*_*',
00083       'keep *_hiGenParticles_*_*'
00084     )
00085 )
00086 
00087 ##### combinations for specific skims
00088 
00089 # HI PAG skim
00090 hiAnalysisSkimContent = hiCommon.clone()
00091 hiAnalysisSkimContent.outputCommands.extend(jetContentExtended.outputCommands)
00092 hiAnalysisSkimContent.outputCommands.extend(trkContent.outputCommands)
00093 hiAnalysisSkimContent.outputCommands.extend(muonContent.outputCommands)
00094 hiAnalysisSkimContent.outputCommands.extend(photonContent.outputCommands)
00095 hiAnalysisSkimContent.outputCommands.extend(corrContent.outputCommands)
00096 
00097 # [highpt] skim
00098 jetTrkSkimContent = hiCommon.clone()
00099 jetTrkSkimContent.outputCommands.extend(jetContentExtended.outputCommands)
00100 jetTrkSkimContent.outputCommands.extend(lightTrackContent.outputCommands)
00101 
00102 # [highpt] MC skim
00103 jetTrkSkimContentMC = jetTrkSkimContent.clone()
00104 jetTrkSkimContentMC.outputCommands.extend(hiContentMC.outputCommands)
00105 
00106 # [dilepton] skim 0
00107 muonSkimContent = hiCommon.clone()
00108 muonSkimContent.outputCommands.extend(cms.untracked.vstring('keep patMuons_*_*_*'))
00109 muonSkimContent.outputCommands.extend(RecoMuonRECO.outputCommands)
00110 muonSkimContent.outputCommands.extend(RecoHiTrackerRECO.outputCommands)
00111 
00112 # [dilepton] skim MC
00113 muonSkimContentMC = muonSkimContent.clone()
00114 muonSkimContentMC.outputCommands.extend(hiContentMC.outputCommands)
00115 
00116 # [dilepton] skim 1
00117 muonTrkSkimContent = hiCommon.clone()  # trigger, L!, vertex,centrality, etc
00118 muonTrkSkimContent.outputCommands.extend(muonContentExtended.outputCommands) # muon AOD
00119 muonTrkSkimContent.outputCommands.extend(trkContent.outputCommands)