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 
5 
6 LorentzAngleOutputCommands = [ 'keep *_shallowClusters_clusterdetid_*',
7  'keep *_shallowClusters_clusterwidth_*',
8  'keep *_shallowClusters_clustervariance_*',
9  'keep *_shallowTrackClusters_tsostrackmulti_*',
10  'keep *_shallowTrackClusters_tsosdriftx_*',
11  'keep *_shallowTrackClusters_tsosdriftz_*',
12  'keep *_shallowTrackClusters_tsoslocaltheta_*',
13  'keep *_shallowTrackClusters_tsoslocalphi_*',
14  'keep *_shallowTrackClusters_tsosBdotY_*',
15  #'keep *_shallowTrackClusters_tsoslocaly_*',
16  'keep *_shallowTrackClusters_tsosglobalZofunitlocalY_*']
17 
18 laCalibrationTree = cms.EDAnalyzer("ShallowTree", outputCommands = cms.untracked.vstring('drop *'))
19 laCalibrationTree.outputCommands += LorentzAngleOutputCommands
20 
21 LorentzAngleNtuple = cms.Sequence( (shallowClusters +
22  shallowTrackClusters) *
23  laCalibrationTree
24  )