Skip to content

Commit

Permalink
Backport: add ECAL-only and HCAL-only workflows for MC and data (cms-…
Browse files Browse the repository at this point in the history
…sw#30350)

Backport cms-sw#30105: add ECAL-only workflows for data.
Backport cms-sw#30136: add HCAL-only workflows for MC and data.
  • Loading branch information
mariadalfonso authored and fwyzard committed Dec 29, 2020
1 parent cde024d commit 3293f60
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Configuration/StandardSequences/python/RawToDigi_cff.py
Expand Up @@ -69,6 +69,9 @@
RawToDigiTask_ecalOnly = cms.Task(ecalDigisTask, ecalPreshowerDigis, scalersRawToDigi)
RawToDigi_ecalOnly = cms.Sequence(RawToDigiTask_ecalOnly)

RawToDigiTask_hcalOnly = cms.Task(hcalDigis)
RawToDigi_hcalOnly = cms.Sequence(RawToDigiTask_hcalOnly)

scalersRawToDigi.scalersInputTag = 'rawDataCollector'
siPixelDigis.cpu.InputLabel = 'rawDataCollector'
#false by default anyways ecalDigis.DoRegional = False
Expand Down
14 changes: 14 additions & 0 deletions Validation/Configuration/python/globalValidation_cff.py
Expand Up @@ -173,6 +173,13 @@
# HCAL local reconstruction
globalPrevalidationHCAL = cms.Sequence()

globalPrevalidationHCALOnly = cms.Sequence(
baseCommonPreValidation
+ globalPrevalidationHCAL
)

hcalRecHitsOnlyValidationSequence = hcalRecHitsValidationSequence.copyAndExclude([NoiseRatesValidation])

globalValidationHCAL = cms.Sequence(
hcalSimHitsValidationSequence
+ hcaldigisValidationSequence
Expand All @@ -181,6 +188,13 @@
+ calotowersValidationSequence
)

globalValidationHCALOnly = cms.Sequence(
hcalSimHitsValidationSequence
+ hcaldigisValidationSequence
+ hcalSimHitStudy
+ hcalRecHitsOnlyValidationSequence
)

globalValidationHGCal = cms.Sequence(hgcalValidation)

globalValidationMTD = cms.Sequence()
Expand Down

0 comments on commit 3293f60

Please sign in to comment.