Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #! /bin/env cmsRun
0002 
0003 from CalibTracker.SiStripCommon.shallowTree_test_template import *
0004 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(3) )
0005 process.TFileService.fileName = 'test_all.root'
0006 
0007 process.load('CalibTracker.SiStripCommon.ShallowGainCalibration_cfi')
0008 process.load('CalibTracker.SiStripCommon.ShallowDigisProducer_cfi')
0009 process.load('CalibTracker.SiStripCommon.ShallowTracksProducer_cfi')
0010 process.load('CalibTracker.SiStripCommon.ShallowEventDataProducer_cfi')
0011 process.load('CalibTracker.SiStripCommon.ShallowTrackClustersProducer_cfi')
0012 process.load('CalibTracker.SiStripCommon.ShallowSimTracksProducer_cfi')
0013 process.load('CalibTracker.SiStripCommon.ShallowSimhitClustersProducer_cfi')
0014 process.load('CalibTracker.SiStripCommon.ShallowClustersProducer_cfi')
0015 process.load('CalibTracker.SiStripCommon.ShallowRechitClustersProducer_cfi')
0016 
0017 process.load('RecoTracker.TrackProducer.TrackRefitters_cff')
0018 process.load('SimGeneral.TrackingAnalysis.simHitTPAssociation_cfi')
0019 process.load("SimTracker.TrackAssociatorProducers.trackAssociatorByHits_cfi")
0020 #add_rawRelVals(process)
0021 
0022 process.tracksRefit = process.TrackRefitter.clone()
0023 process.shallowGainCalibration.Tracks = 'tracksRefit'
0024 process.shallowTrackClusters.Tracks = 'tracksRefit'
0025 
0026 process.testTree = cms.EDAnalyzer(
0027    "ShallowTree",
0028    outputCommands = cms.untracked.vstring(
0029       'drop *',
0030       'keep *_shallowGainCalibration_*_*',
0031       'keep *_shallowDigis_*_*',
0032       'keep *_shallowTracks_*_*',
0033       'keep *_shallowEventRun_*_*',
0034       'keep *_shallowTrackClusters_*_*',
0035       'keep *_shallowSimTracks_*_*',
0036       'keep *_shallowSimhitClusters_*_*',
0037       'keep *_shallowClusters_*_*',
0038       'keep *_shallowRechitClusters_*_*',
0039       )
0040    )
0041 
0042 process.p = cms.Path(
0043    process.MeasurementTrackerEvent*
0044    process.tracksRefit*
0045    #process.simHitTPAssocProducer*
0046    #process.trackAssociatorByHits*
0047    process.siStripMatchedRecHits*
0048    # Shallow stuff
0049    process.shallowEventRun*
0050    #process.shallowSimTracks*
0051    process.shallowTrackClusters*
0052    process.shallowGainCalibration*
0053    process.shallowDigis*
0054    process.shallowTracks*
0055    #process.shallowSimhitClusters*
0056    process.shallowClusters*
0057    process.shallowRechitClusters*
0058    #tree dumping
0059    process.testTree
0060 )