Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:47

0001 from CalibTracker.SiStripCommon.shallowTree_test_template import *
0002 process.TFileService.fileName = 'test_shallowGainCalibration.root'
0003 
0004 process.load('CalibTracker.SiStripCommon.ShallowGainCalibration_cfi')
0005 from RecoTracker.TrackProducer.TrackRefitter_cfi import TrackRefitter
0006 
0007 process.load('RecoTracker.TrackProducer.TrackRefitters_cff')
0008 process.tracksRefit = TrackRefitter.clone()
0009 process.shallowGainCalibration.Tracks = 'tracksRefit'
0010 
0011 process.testTree = cms.EDAnalyzer(
0012    "ShallowTree",
0013    outputCommands = cms.untracked.vstring(
0014       'drop *',
0015       'keep *_shallowGainCalibration_*_*',
0016       )
0017    )
0018 
0019 process.out = cms.OutputModule(
0020    "PoolOutputModule",
0021    fileName = cms.untracked.string('test_shallowGainCalibration_edm.root'),
0022    dropMetaData = cms.untracked.string("DROPPED"),
0023    outputCommands = cms.untracked.vstring(
0024       'drop *',
0025       'keep *_shallowGainCalibration_*_*'
0026       ),
0027 )
0028 
0029 process.p = cms.Path(process.MeasurementTrackerEvent*process.tracksRefit*process.shallowGainCalibration*process.testTree)
0030 process.end = cms.EndPath(process.out)
0031 process.s = cms.Schedule(process.p, process.end)