Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PFCluster validation to ECAL-only and HCAL-only workflows #30636

Merged
merged 1 commit into from
Jul 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@
process.load("Validation.CaloTowers.CaloTowersParam_cfi")
process.calotowersAnalyzer.outputFile = cms.untracked.string('CaloTowersValidationRelVal.root')


process.load("Validation.RecoParticleFlow.PFCluster_cfi")
process.pfclusterAnalyzer.outputFile = cms.untracked.string('PFcluster.root')
process.load("Validation.RecoParticleFlow.pfClusterValidation_cfi")

#------------- CUSTOMIZATION - replace hbhereco with hbheprereco
delattr(process,"hbhereco")
Expand Down Expand Up @@ -98,7 +96,7 @@
process.HcalSimHitsAnalyser *
process.hcaldigisAnalyzer *
process.calotowersAnalyzer *
process.pfclusterAnalyzer *
process.pfClusterValidation *
process.hcalRecoAnalyzer *
#
process.MEtoEDMConverter
Expand Down
2 changes: 2 additions & 0 deletions Validation/Configuration/python/globalValidation_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
ecalSimHitsValidationSequence
+ ecalDigisValidationSequence
+ ecalRecHitsValidationSequence
+ pfClusterCaloOnlyValidationSequence
)

# HCAL local reconstruction
Expand All @@ -191,6 +192,7 @@
+ hcaldigisValidationSequence
+ hcalSimHitStudy
+ hcalRecHitsOnlyValidationSequence
+ pfClusterCaloOnlyValidationSequence
)

globalValidationHGCal = cms.Sequence(hgcalValidation)
Expand Down
10 changes: 8 additions & 2 deletions Validation/RecoParticleFlow/python/PFClusterValidation_cff.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import FWCore.ParameterSet.Config as cms
from Validation.RecoParticleFlow.PFCluster_cfi import pfclusterAnalyzer
from Validation.RecoParticleFlow.pfClusterValidation_cfi import pfClusterValidation

pfClusterValidationSequence = cms.Sequence( pfclusterAnalyzer )
pfClusterValidationSequence = cms.Sequence( pfClusterValidation )

pfClusterCaloOnlyValidation = pfClusterValidation.clone(
pflowClusterHCAL = 'particleFlowClusterHCALOnly',
)

pfClusterCaloOnlyValidationSequence = cms.Sequence( pfClusterCaloOnlyValidation )
15 changes: 0 additions & 15 deletions Validation/RecoParticleFlow/python/PFCluster_cfi.py

This file was deleted.

10 changes: 10 additions & 0 deletions Validation/RecoParticleFlow/python/pfClusterValidation_cfi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import FWCore.ParameterSet.Config as cms

from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer

pfClusterValidation = DQMEDAnalyzer('PFClusterValidation',
pflowClusterECAL = cms.untracked.InputTag('particleFlowClusterECAL'),
pflowClusterHCAL = cms.untracked.InputTag('particleFlowClusterHCAL'),
pflowClusterHO = cms.untracked.InputTag('particleFlowClusterHO'),
pflowClusterHF = cms.untracked.InputTag('particleFlowClusterHF'),
)