Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drop type specs in Validation/RecoParticleFlow
- Loading branch information
1 parent
47df2fa
commit e47f41e
Showing
10 changed files
with
155 additions
and
155 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
Validation/RecoParticleFlow/python/PFClusterValidation_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
from Validation.RecoParticleFlow.pfClusterValidation_cfi import pfClusterValidation | ||
|
||
pfClusterValidationSequence = cms.Sequence( pfClusterValidation ) | ||
|
||
pfClusterCaloOnlyValidation = pfClusterValidation.clone( | ||
pflowClusterHCAL = 'particleFlowClusterHCALOnly', | ||
pflowClusterHCAL = 'particleFlowClusterHCALOnly' | ||
) | ||
|
||
pfClusterCaloOnlyValidationSequence = cms.Sequence( pfClusterCaloOnlyValidation ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
Validation/RecoParticleFlow/python/PFJetValidation_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
|
||
from DQMOffline.PFTau.PFJetDQMAnalyzer_cfi import pfJetDQMAnalyzer | ||
|
||
pfJetValidation1 = pfJetDQMAnalyzer.clone() | ||
pfJetValidation1.InputCollection = cms.InputTag('ak4PFJets') | ||
pfJetValidation1.MatchCollection = cms.InputTag('ak4GenJets') | ||
pfJetValidation1.BenchmarkLabel = cms.string('PFJetValidation/CompWithGenJet') | ||
pfJetValidation1 = pfJetDQMAnalyzer.clone( | ||
InputCollection = 'ak4PFJets', | ||
MatchCollection = 'ak4GenJets', | ||
BenchmarkLabel = 'PFJetValidation/CompWithGenJet' | ||
) | ||
|
||
pfJetValidation2 = pfJetDQMAnalyzer.clone() | ||
pfJetValidation2.InputCollection = cms.InputTag('ak4PFJets') | ||
pfJetValidation2.MatchCollection = cms.InputTag('ak4CaloJets') | ||
pfJetValidation2.BenchmarkLabel = cms.string('PFJetValidation/CompWithCaloJet') | ||
pfJetValidation2 = pfJetDQMAnalyzer.clone( | ||
InputCollection = 'ak4PFJets', | ||
MatchCollection = 'ak4CaloJets', | ||
BenchmarkLabel = 'PFJetValidation/CompWithCaloJet' | ||
) | ||
|
||
pfJetValidationSequence = cms.Sequence( pfJetValidation1 * pfJetValidation2 ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
|
||
from DQMOffline.PFTau.PFMETDQMAnalyzer_cfi import pfMETDQMAnalyzer | ||
|
||
pfMETValidation1 = pfMETDQMAnalyzer.clone() | ||
pfMETValidation1.InputCollection = cms.InputTag('pfMet') | ||
pfMETValidation1.MatchCollection = cms.InputTag('genMetTrue') | ||
pfMETValidation1.BenchmarkLabel = cms.string('PFMETValidation/CompWithGenMET') | ||
pfMETValidation1 = pfMETDQMAnalyzer.clone( | ||
InputCollection = 'pfMet', | ||
MatchCollection = 'genMetTrue', | ||
BenchmarkLabel = 'PFMETValidation/CompWithGenMET' | ||
) | ||
|
||
pfMETValidation2 = pfMETDQMAnalyzer.clone() | ||
pfMETValidation2.InputCollection = cms.InputTag('pfMet') | ||
pfMETValidation2.MatchCollection = cms.InputTag('caloMet') | ||
pfMETValidation2.BenchmarkLabel = cms.string('PFMETValidation/CompWithCaloMET') | ||
pfMETValidation2 = pfMETDQMAnalyzer.clone( | ||
InputCollection = 'pfMet', | ||
MatchCollection = 'caloMet', | ||
BenchmarkLabel = 'PFMETValidation/CompWithCaloMET' | ||
) | ||
|
||
pfMETValidationSequence = cms.Sequence( pfMETValidation1 * pfMETValidation2 ) |
23 changes: 11 additions & 12 deletions
23
Validation/RecoParticleFlow/python/PFMuonValidation_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
|
||
from DQMOffline.Muon.muonPFAnalyzer_cfi import muonPFsequence | ||
|
||
muonPFsequenceMC = muonPFsequence.clone() | ||
muonPFsequenceMC.inputTagMuonReco = cms.InputTag("muons") | ||
muonPFsequenceMC.inputTagGenParticles = cms.InputTag("genParticles") | ||
muonPFsequenceMC.inputTagVertex = cms.InputTag("offlinePrimaryVertices") | ||
muonPFsequenceMC.inputTagBeamSpot = cms.InputTag("offlineBeamSpot") | ||
muonPFsequenceMC.runOnMC = cms.bool(True) | ||
muonPFsequenceMC.folder = cms.string("ParticleFlow/PFMuonValidation/") | ||
muonPFsequenceMC.recoGenDeltaR = cms.double(0.1) | ||
muonPFsequenceMC.relCombIsoCut = cms.double(0.15) | ||
muonPFsequenceMC.highPtThreshold = cms.double(200.) | ||
muonPFsequenceMC = muonPFsequence.clone( | ||
inputTagMuonReco = "muons", | ||
inputTagGenParticles = "genParticles", | ||
inputTagVertex = "offlinePrimaryVertices", | ||
inputTagBeamSpot = "offlineBeamSpot", | ||
runOnMC = True, | ||
folder = 'ParticleFlow/PFMuonValidation/', | ||
recoGenDeltaR = 0.1, | ||
relCombIsoCut = 0.15, | ||
highPtThreshold = 200. | ||
) | ||
|
||
pfMuonValidationSequence = cms.Sequence( muonPFsequenceMC ) | ||
|
63 changes: 31 additions & 32 deletions
63
Validation/RecoParticleFlow/python/PFValidationClient_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
#from DQMOffline.PFTau.PFClient_cfi import pfClient | ||
from DQMOffline.PFTau.PFClient_cfi import * | ||
|
||
pfJetClient = pfClient.clone() | ||
pfJetClient.FolderNames = cms.vstring("PFJetValidation/CompWithGenJet") | ||
pfJetClient.HistogramNames = cms.vstring( "delta_et_Over_et_VS_et_") | ||
pfJetClient.CreateProfilePlots = cms.bool(True) | ||
pfJetClient.HistogramNamesForProfilePlots = cms.vstring("delta_et_Over_et_VS_et_","delta_et_VS_et_","delta_eta_VS_et_","delta_phi_VS_et_") | ||
|
||
pfMETClient = pfClient.clone() | ||
pfMETClient.FolderNames = cms.vstring("PFMETValidation/CompWithGenMET") | ||
pfMETClient.HistogramNames = cms.vstring( "delta_et_Over_et_VS_et_") | ||
pfMETClient.CreateProfilePlots = cms.bool(True) | ||
pfMETClient.HistogramNamesForProfilePlots = cms.vstring("delta_et_Over_et_VS_et_","delta_et_VS_et_","delta_eta_VS_et_","delta_phi_VS_et_") | ||
|
||
pfJetResClient = pfClientJetRes.clone() | ||
pfJetResClient.FolderNames = cms.vstring("ElectronValidation/JetPtRes") | ||
pfJetResClient.HistogramNames = cms.vstring("delta_et_Over_et_VS_et_", "BRdelta_et_Over_et_VS_et_", "ERdelta_et_Over_et_VS_et_") | ||
#pfJetResClient.HistogramNames = cms.vstring("") # use this if slicingOn is true in PFJetResDQMAnalyzer | ||
pfJetResClient.CreateEfficiencyPlots = cms.bool(False) | ||
pfJetResClient.HistogramNamesForEfficiencyPlots = cms.vstring("pt_", "eta_", "phi_") | ||
|
||
pfElectronClient = pfClient.clone() | ||
pfElectronClient.FolderNames = cms.vstring("PFElectronValidation/CompWithGenElectron") | ||
#pfElectronClient.HistogramNames = cms.vstring("delta_et_Over_et_VS_et_") | ||
pfElectronClient.HistogramNames = cms.vstring("") | ||
pfElectronClient.CreateEfficiencyPlots = cms.bool(True) | ||
pfElectronClient.HistogramNamesForEfficiencyPlots = cms.vstring("pt_", "eta_", "phi_") | ||
|
||
pfElectronClient.HistogramNamesForProjectionPlots = cms.vstring("delta_et_Over_et_VS_et_","delta_et_VS_et_","delta_eta_VS_et_","delta_phi_VS_et_") | ||
|
||
|
||
from DQMOffline.PFTau.PFClient_cfi import pfClient, pfClientJetRes | ||
#from DQMOffline.PFTau.PFClient_cfi import * | ||
|
||
pfJetClient = pfClient.clone( | ||
FolderNames = ['PFJetValidation/CompWithGenJet'], | ||
HistogramNames = ['delta_et_Over_et_VS_et_'], | ||
CreateProfilePlots = True, | ||
HistogramNamesForProfilePlots = ['delta_et_Over_et_VS_et_','delta_et_VS_et_','delta_eta_VS_et_','delta_phi_VS_et_'] | ||
) | ||
|
||
pfMETClient = pfClient.clone( | ||
FolderNames = ['PFMETValidation/CompWithGenMET'], | ||
HistogramNames = ['delta_et_Over_et_VS_et_'], | ||
CreateProfilePlots = True, | ||
HistogramNamesForProfilePlots = ['delta_et_Over_et_VS_et_','delta_et_VS_et_','delta_eta_VS_et_','delta_phi_VS_et_'] | ||
) | ||
|
||
pfJetResClient = pfClientJetRes.clone( | ||
FolderNames = ['PFJetResValidation/JetPtRes'], | ||
HistogramNames = ['delta_et_Over_et_VS_et_', 'BRdelta_et_Over_et_VS_et_', 'ERdelta_et_Over_et_VS_et_'], | ||
CreateEfficiencyPlots = False, | ||
HistogramNamesForEfficiencyPlots = ['pt_', 'eta_', 'phi_'] | ||
) | ||
|
||
pfElectronClient = pfClient.clone( | ||
FolderNames = ['PFElectronValidation/CompWithGenElectron'], | ||
HistogramNames = [''], | ||
CreateEfficiencyPlots = True, | ||
HistogramNamesForEfficiencyPlots = ['pt_', 'eta_', 'phi_'], | ||
HistogramNamesForProjectionPlots = ['delta_et_Over_et_VS_et_','delta_et_VS_et_','delta_eta_VS_et_','delta_phi_VS_et_'] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.