/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DQMOffline/ParticleFlow/python/runMini_cff.py
106 строк
5 KB
jroloff
Fixing up DQM configurations
27 фев 2026, 22:07
27 фев 2026, 22:07
4610ac8
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer from DQMOffline.ParticleFlow.pfAnalyzer_cfi import pfAnalyzer PFAnalyzerMiniAOD = DQMEDAnalyzer("PFAnalyzer", # For Mini pfCandidates = cms.InputTag("packedPFCandidates"), pfJetCollection = cms.InputTag("slimmedJets"), isMiniAOD = cms.bool(True), PVCollection = cms.InputTag("offlinePrimaryVertices"), TriggerResultsLabel = cms.InputTag("TriggerResults::HLT"), TriggerNames = cms.vstring(""), eventSelection = cms.string("nocut"), pfAnalysis = cms.PSet( # We don't have a detailed breakdown of the PF candidate type for MiniAOD pfNames = cms.vstring("allPFC"), # Bins of NPV for plots #NPVBins = cms.vdouble(0, 25, 45, 100), NPVBins = cms.vdouble(0,200), # A list of observables for which plots should be made. # The format should be a list of semicolon-separated values. # The first is the observable name, corresponding to a key in m_funcMap # in PFAnalysis. The second is the TLatex string that serves as the x-axis # title (which must not include a semicolon). # The last values are the bins. If three values are given, then the values, # in order, are the number of bins, the lowest, and the highest values. # If any other number is given, this is just a list of bins for the histogram. observables = cms.vstring('pt;p_{T,PFC};50.;0.;350.', 'eta;#eta;50;-5;5', 'phi;#phi;30;-3.14;3.14', ), # A list of event- or jet-wide observables for which plots should be made. # The format should be a list of semicolon-separated values. # The first is the observable name, corresponding to a key in m_funcMap # in PFAnalysis. The second is the TLatex string that serves as the x-axis # title (which must not include a semicolon). # The last values are the bins. If three values are given, then the values, # in order, are the number of bins, the lowest, and the highest values. # If any other number is given, this is just a list of bins for the histogram. # Since the binning may be very different for events and jets, the first list # of bins is for the event histograms, and the second set is for the jets eventObservables = cms.vstring( 'NPFC;N_{PFC};500;0;10000;100;0;100', ), pfInJetObservables = cms.vstring( 'PFSpectrum;E_{PF}/E_{jet};50;0;1', ), # This is a list of multidimensional cuts that are applied for the plots. # In the case of multiple bins, every combination of bin is tested. # The format should be a list of semicolon-separated values. # The first is the observable name, corresponding to a key in m_funcMap # in PFAnalysis. The last values are the bins, following the same # conventions as the observables. binList2D = cms.vstring( '[eta;30;-5;5][phi;30;-3.14;3.14]', ), # This is a list of multidimensional cuts that are applied for the plots. # In the case of multiple bins, every combination of bin is tested. # The format should be a list of semicolon-separated values. # The first is the observable name, corresponding to a key in m_funcMap # in PFAnalysis. The last values are the bins, following the same # conventions as the observables. # # Since we may want to test multiple sets of cuts simultaneously, # these are separated by '[' # For example, for # cutList = cms.vstring('[pt;1;0;10000]'), # there is one histogram made for PFCs with 0 < pT < 10000. # Similarly, for cutList = cms.vstring('[pt;1;0;10000]', '[pt;1;05;10000][eta;1;-5;5]'), # there is one histogram made for PFCs with 0 < pT < 10000, # and one histogram made for PFCs with 5 < pT < 10000 and -5 < eta < 5. cutList = cms.vstring( '[pt;1;0;10000]', '[abseta;0;1;2;2.5;2.73;3.5;4.0;4.5]', ), # This is a list of multidimensional cuts on the jets that are applied for the plots. # The format should be a list of semicolon-separated values. # The first is the observable name, corresponding to a key in m_jetFuncMap # in PFAnalysis. The last values are the bins, following the same # conventions as the observables. # # Just like for cutList, multiple sets of cuts can be applied, using the same formulation. jetCutList = cms.vstring( '[pt;20;100;10000]', ), ) )