CMS 3D CMS Logo

dimuonsOutputModule_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 dimuonsEventContent = cms.PSet(
6  outputCommands = cms.untracked.vstring(
7  'keep *_selectedPatMuonsTriggerMatch_*_*',
8  'keep *_selectedPatTracks_*_*',
9  'keep *_dimuons_*_*',
10  'keep *_dimuonsOneTrack_*_*',
11  'keep *_dimuonsGlobal_*_*',
12  'keep *_dimuonsOneStandAloneMuon_*_*',
13  'keep *_muonMatch_*_*',
14  'keep *_trackMuMatch_*_*',
15  'keep *_allDimuonsMCMatch_*_*',
16  )
17 )
18 dimuonsEventSelection = cms.PSet(
19  SelectEvents = cms.untracked.PSet(
20  SelectEvents = cms.vstring(
21  'dimuonsPath',
22  'dimuonsOneTrackPath')
23  )
24 )
25 
26 AODSIMDimuonEventContent = cms.PSet(
27  outputCommands = cms.untracked.vstring()
28 )
29 AODSIMDimuonEventContent.outputCommands.extend(AODSIMEventContent.outputCommands)
30 AODSIMDimuonEventContent.outputCommands.extend(dimuonsEventContent.outputCommands)
31 
32 dimuonsOutputModule = cms.OutputModule("PoolOutputModule",
33  AODSIMDimuonEventContent,
34  dimuonsEventSelection,
35  dataset = cms.untracked.PSet(
36  filterName = cms.untracked.string('dimuon'),
37  dataTier = cms.untracked.string('USER')
38  ),
39  fileName = cms.untracked.string('dimuons.root')
40 )
41