Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import FWCore.ParameterSet.Config as cms

from CalibTracker.SiStripCommon.ShallowClustersProducer_cfi import *
from CalibTracker.SiStripCommon.ShallowTrackClustersProducer_cfi import *

LorentzAngleOutputCommands =  [ 'keep *_shallowClusters_clusterdetid_*',
                                'keep *_shallowClusters_clusterwidth_*',
                                'keep *_shallowClusters_clustervariance_*',
                                'keep *_shallowTrackClusters_tsostrackmulti_*',
                                'keep *_shallowTrackClusters_tsosdriftx_*',
                                'keep *_shallowTrackClusters_tsosdriftz_*',
                                'keep *_shallowTrackClusters_tsoslocaltheta_*',
                                'keep *_shallowTrackClusters_tsoslocalphi_*',
                                'keep *_shallowTrackClusters_tsosBdotY_*',
                                #'keep *_shallowTrackClusters_tsoslocaly_*',
                                'keep *_shallowTrackClusters_tsosglobalZofunitlocalY_*']

laCalibrationTree = cms.EDAnalyzer("ShallowTree", outputCommands = cms.untracked.vstring('drop *'))
laCalibrationTree.outputCommands += LorentzAngleOutputCommands

LorentzAngleNtuple = cms.Sequence( (shallowClusters +
                                    shallowTrackClusters) *
                                   laCalibrationTree
                                   )