Skip to content

Commit

Permalink
add SiPixelTemplateStoreESProducer so several unit tests related conf…
Browse files Browse the repository at this point in the history
…iguration files
  • Loading branch information
mmusich committed Aug 17, 2023
1 parent 057d046 commit d8dda07
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,5 @@
process.OverlapAssoMapCTF *
process.NewStatsCTF)

process.p2 = cms.Path(process.seqALCARECOTkAlMinBiasSkimmed)
process.load("RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi")
process.p2 = cms.Path(process.seqALCARECOTkAlMinBiasSkimmed, cms.Task(process.SiPixelTemplateStoreESProducer))
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@ def alterTriggersForUnitTest(process):
if(options.unitTest):
alterTriggersForUnitTest(process)

process.TkCalPath_StdBunch = cms.Path(process.TkCalSeq_StdBunch*process.shallowEventRun*process.EventInfo)
process.TkCalPath_StdBunch0T = cms.Path(process.TkCalSeq_StdBunch0T*process.shallowEventRun*process.EventInfo)
process.TkCalPath_IsoMuon = cms.Path(process.TkCalSeq_IsoMuon*process.shallowEventRun*process.EventInfo)
process.TkCalPath_IsoMuon0T = cms.Path(process.TkCalSeq_IsoMuon0T*process.shallowEventRun*process.EventInfo)
process.TkCalPath_AagBunch = cms.Path(process.TkCalSeq_AagBunch*process.shallowEventRun*process.EventInfo)
process.TkCalPath_AagBunch0T = cms.Path(process.TkCalSeq_AagBunch0T*process.shallowEventRun*process.EventInfo)
process.load("RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi")
process.TkCalPath_StdBunch = cms.Path(process.TkCalSeq_StdBunch*process.shallowEventRun*process.EventInfo, cms.Task(process.SiPixelTemplateStoreESProducer))
process.TkCalPath_StdBunch0T = cms.Path(process.TkCalSeq_StdBunch0T*process.shallowEventRun*process.EventInfo, cms.Task(process.SiPixelTemplateStoreESProducer))
process.TkCalPath_IsoMuon = cms.Path(process.TkCalSeq_IsoMuon*process.shallowEventRun*process.EventInfo, cms.Task(process.SiPixelTemplateStoreESProducer))
process.TkCalPath_IsoMuon0T = cms.Path(process.TkCalSeq_IsoMuon0T*process.shallowEventRun*process.EventInfo, cms.Task(process.SiPixelTemplateStoreESProducer))
process.TkCalPath_AagBunch = cms.Path(process.TkCalSeq_AagBunch*process.shallowEventRun*process.EventInfo, cms.Task(process.SiPixelTemplateStoreESProducer))
process.TkCalPath_AagBunch0T = cms.Path(process.TkCalSeq_AagBunch0T*process.shallowEventRun*process.EventInfo, cms.Task(process.SiPixelTemplateStoreESProducer))

process.schedule = cms.Schedule( process.TkCalPath_StdBunch,
process.TkCalPath_StdBunch0T,
Expand Down
4 changes: 3 additions & 1 deletion CalibTracker/SiStripCommon/test/test_all_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
)
)

process.load("RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi")
process.p = cms.Path(
process.MeasurementTrackerEvent*
process.tracksRefit*
Expand All @@ -56,5 +57,6 @@
process.shallowClusters*
process.shallowRechitClusters*
#tree dumping
process.testTree
process.testTree,
cms.Task(process.SiPixelTemplateStoreESProducer)
)
5 changes: 3 additions & 2 deletions CalibTracker/SiStripHitEfficiency/test/testHitEffWorker.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@
## END OLD HITEFF

## TODO double-check in main CalibTree config if hiteff also takes refitted tracks
process.load("RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi")
process.allPath = cms.Path(process.MeasurementTrackerEvent*process.offlineBeamSpot*process.refitTracks
*process.anEff*process.shallowEventRun*process.eventInfo
*process.hiteff)
*process.anEff*process.shallowEventRun*process.eventInfo
*process.hiteff,cms.Task(process.SiPixelTemplateStoreESProducer))

# save the DQM plots in the DQMIO format
process.dqmOutput = cms.OutputModule("DQMRootOutputModule",
Expand Down
3 changes: 2 additions & 1 deletion CalibTracker/SiStripHitResolution/test/CPEanconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@
fileName = cms.string('histodemo.root'))

### Finally, put together the sequence
process.p = cms.Path(process.offlineBeamSpot*process.mytkselector+process.myRefittedTracks+process.SiStripCPEAnalyzer)
process.load("RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi")
process.p = cms.Path(process.offlineBeamSpot*process.mytkselector+process.myRefittedTracks+process.SiStripCPEAnalyzer,cms.Task(process.SiPixelTemplateStoreESProducer))
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@
fileName = cms.string(OutputRootFile)
)

process.allPath = cms.Path(process.MeasurementTrackerEvent*process.offlineBeamSpot*process.refitTracks*process.hitresol)
process.load("RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi")
process.allPath = cms.Path(process.MeasurementTrackerEvent*process.offlineBeamSpot*process.refitTracks*process.hitresol,
cms.Task(process.SiPixelTemplateStoreESProducer))
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@

# refit and BS can be dropped if done together with RECO.
# track filter can be moved in acalreco if no otehr users
from RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi import SiPixelTemplateStoreESProducer
ALCARECOTrackFilterRefit = cms.Sequence(ALCARECOCalibrationTracks +
offlineBeamSpot +
ALCARECOCalibrationTracksRefit )
ALCARECOCalibrationTracksRefit,
cms.Task(SiPixelTemplateStoreESProducer) )

# ------------------------------------------------------------------------------
# This is the module actually doing the calibration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
)
#-------------------------------------------

process.load("RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi")

#-----------------------
# Reconstruction Modules
#-----------------------
Expand Down Expand Up @@ -298,7 +300,8 @@
process.SiStripSources_LocalReco*
process.RecoForDQM_TrkReco_cosmic*
process.SiStripSources_TrkReco_cosmic*
process.TrackingClient
process.TrackingClient,
cms.Task(process.SiPixelTemplateStoreESProducer)
)


Expand Down Expand Up @@ -416,7 +419,8 @@
process.hltHighLevel*
process.RecoForDQM_TrkReco*
process.SiStripSources_TrkReco*
process.TrackingClient
process.TrackingClient,
cms.Task(process.SiPixelTemplateStoreESProducer)
)

#--------------------------------------------------
Expand Down Expand Up @@ -509,7 +513,8 @@
process.eventFilter*
process.RecoForDQM_TrkReco*
process.SiStripSources_TrkReco*
process.TrackingClient
process.TrackingClient,
cms.Task(process.SiPixelTemplateStoreESProducer)
)

process.castorDigis.InputLabel = "rawDataCollector"
Expand Down Expand Up @@ -665,7 +670,8 @@
process.hltHighLevel*
process.RecoForDQM_TrkReco*
process.SiStripSources_TrkReco*
process.TrackingClient
process.TrackingClient,
cms.Task(process.SiPixelTemplateStoreESProducer)
)

# append the approximate clusters monitoring for the HI run case
Expand Down
3 changes: 2 additions & 1 deletion TrackPropagation/Geant4e/test/Geant4e_example_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
process.load("TrackPropagation.Geant4e.geantRefit_cff")
process.Geant4eTrackRefitter.src = cms.InputTag("generalTracks")
process.Geant4eTrackRefitter.usePropagatorForPCA = cms.bool(True)
process.g4RefitPath = cms.Path( process.MeasurementTrackerEvent * process.geant4eTrackRefit )
process.load("RecoLocalTracker.SiPixelRecHits.SiPixelTemplateStoreESProducer_cfi")
process.g4RefitPath = cms.Path( process.MeasurementTrackerEvent * process.geant4eTrackRefit, cms.Task(process.SiPixelTemplateStoreESProducer) )

process.out = cms.OutputModule( "PoolOutputModule",
outputCommands = cms.untracked.vstring(
Expand Down

0 comments on commit d8dda07

Please sign in to comment.