CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ntuple_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
7 OfflineChannelGainOutputCommands = [
8  'keep *_shallowEventRun_*_*',
9  'keep *_shallowTracks_trackchi2ndof_*',
10  'keep *_shallowTracks_trackmomentum_*',
11  'keep *_shallowTracks_trackpt_*',
12  'keep *_shallowTracks_tracketa_*',
13  'keep *_shallowTracks_trackphi_*',
14  'keep *_shallowTracks_trackhitsvalid_*',
15  'keep *_shallowGainCalibration_*_*'
16  ]
17 
18 gainCalibrationTree = cms.EDAnalyzer("ShallowTree", outputCommands = cms.untracked.vstring('drop *'))
19 gainCalibrationTree.outputCommands += OfflineChannelGainOutputCommands
20 
21 OfflineGainNtuple = cms.Sequence( (shallowEventRun+
22  shallowTracks +
23  shallowGainCalibration) *
24  gainCalibrationTree
25  )