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

Update and fix of DQM plots for PPS timing detectors #44835

Merged
merged 5 commits into from
May 3, 2024

Conversation

grzanka
Copy link
Contributor

@grzanka grzanka commented Apr 24, 2024

PR description:

This PR provides fix for the wrongly produced plot of correlation between tracks in PPS timing detectors (for 220cyl and 220nr_hr). Fixed plot looks like this:
image

Previous code contained bug related to assignment of a track to given pot.

The code as well includes several cosmetic adjustment of the plot binning and titles.

Moreover leading and trailing edge plots were added to "per place" plot group.

PR validation:

Manually running script which produced DQM plot from the PromptReco ZeroBias files sample /store/data/Run2024B/ZeroBias/AOD/PromptReco-v1 for run for run 379154 :

from Configuration.Eras.Era_Run3_cff import Run3

process = cms.Process('RECODQM', Run3)

# command  line options
import FWCore.ParameterSet.VarParsing as VarParsing
options = VarParsing.VarParsing ('analysis')
options.inputFiles= 'file:input.root'
options.maxEvents = -1 
options.parseArguments()

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(options.maxEvents)
)

process.verbosity = cms.untracked.PSet( input = cms.untracked.int32(-1) )

# minimum of logs
process.MessageLogger = cms.Service("MessageLogger",
    cerr = cms.untracked.PSet(
        threshold = cms.untracked.string('INFO')
    )
)

# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')

# load DQM framework
process.load("DQM.Integration.config.environment_cfi")
process.dqmEnv.subSystemFolder = "CTPPS"
process.dqmEnv.eventInfoFolder = "EventInfo"
process.dqmSaver.path = ""
process.dqmSaver.tag = "CTPPS"

# raw data source
process.source = cms.Source("PoolSource",
    fileNames = cms.untracked.vstring(cms.untracked.vstring(options.inputFiles)),
)

from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run3_data', '')

# local RP reconstruction chain with standard settings
process.load("RecoPPS.Configuration.recoCTPPS_cff")

process.load("DQM.Integration.config.FrontierCondition_GT_cfi")

# CTPPS DQM modules
process.load("DQM.CTPPS.ctppsDQM_cff")
process.ctppsDiamondDQMSource.excludeMultipleHits = cms.bool(True)
process.ctppsDiamondDQMSource.plotOnline = cms.untracked.bool(True)
process.ctppsDiamondDQMSource.plotOffline = cms.untracked.bool(True)
process.path = cms.Path(
    process.ctppsDQMCalibrationSource*
    process.ctppsDQMCalibrationHarvest
)

process.end_path = cms.EndPath(
    process.dqmEnv +
    process.dqmSaver
)

process.schedule = cms.Schedule(
    process.path,
    process.end_path
)

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 24, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44835/40078

  • This PR adds an extra 24KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44835/40080

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @grzanka for master.

It involves the following packages:

  • DQM/CTPPS (dqm)

@rvenditti, @antoniovagnerini, @syuvivida, @tjavaid, @nothingface0, @cmsbuild can you please review it and eventually sign? Thanks.
@fabferro this is something you requested to watch as well.
@antoniovilela, @sextonkennedy, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor

mmusich commented Apr 25, 2024

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a2bdc6/39089/summary.html
COMMIT: fad0cf1
CMSSW: CMSSW_14_1_X_2024-04-24-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44835/39089/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
25088.203 step 3
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Summary:

  • You potentially added 61 lines to the logs
  • Reco comparison results: 46 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3326929
  • DQMHistoTests: Total failures: 15
  • DQMHistoTests: Total nulls: 110
  • DQMHistoTests: Total successes: 3326784
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1007.936 KiB( 47 files compared)
  • DQMHistoSizes: changed ( 10224.0,... ): 34.812 KiB CTPPS/TimingDiamond
  • DQMHistoSizes: changed ( 11634.0,... ): 69.500 KiB CTPPS/TimingDiamond
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@grzanka
Copy link
Contributor Author

grzanka commented Apr 26, 2024

I've created a backport to 14_0_X here #44856

@mmusich
Copy link
Contributor

mmusich commented Apr 26, 2024

type ctpps, bugfix

@antoniovilela
Copy link
Contributor

@cms-sw/dqm-l2
Please sign the master PR before the backport.

@antoniovilela
Copy link
Contributor

@cms-sw/dqm-l2
Please sign the master PR before the backport.

ping @cms-sw/dqm-l2

@tjavaid
Copy link

tjavaid commented May 3, 2024

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 3, 2024

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 919ae75 into cms-sw:master May 3, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants