Skip to content

[PWGDQ,PWGEM] Tune MC TPC PID response to data#16146

Open
JinjooSeo wants to merge 2 commits intoAliceO2Group:masterfrom
JinjooSeo:MCPIDtune
Open

[PWGDQ,PWGEM] Tune MC TPC PID response to data#16146
JinjooSeo wants to merge 2 commits intoAliceO2Group:masterfrom
JinjooSeo:MCPIDtune

Conversation

@JinjooSeo
Copy link
Copy Markdown
Contributor

  • (nSigma - meanMC) * (sigmaMC / sigmaData) + meanData for MC PID calibration
  • Rename calibration variables to explicit MC / Data naming

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

O2 linter results: ❌ 1561 errors, ⚠️ 1131 warnings, 🔕 0 disabled

@JinjooSeo JinjooSeo changed the title [PWGDQ] Tune MC TPC PID response to data [PWGDQ, PWGEM] Tune MC TPC PID response to data May 7, 2026
@github-actions github-actions Bot changed the title [PWGDQ, PWGEM] Tune MC TPC PID response to data [PWGDQ,PWGEM] Tune MC TPC PID response to data May 7, 2026
@alibuild
Copy link
Copy Markdown
Collaborator

alibuild commented May 7, 2026

Error while checking build/O2Physics/staging for 4f5dfad at 2026-05-07 13:18:

## sw/BUILD/O2Physics-latest/log
CMake Error at /sw/slc9_x86-64/CMake/v4.1.4-2/share/cmake-4.1/Modules/CMakeTestCCompiler.cmake:67 (message):
    2026-05-07T13:18:42.244+0200 [69:140642926804608] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8085: Failed to connect to remote host: Connection refused]
    2026-05-07T13:18:42.244+0200 [69:140642926804608] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8085": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8085: Failed to connect to remote host: Connection refused
    2026-05-07T13:18:42.245+0200 [69:140642926804608] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8085: Failed to connect to remote host: Connection refused]
    2026-05-07T13:18:42.245+0200 [69:140642926804608] [executioncontext.cpp:908] [ERROR] Error while uploading resources to CAS at "http://localhost:8085": 14: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:8085: Failed to connect to remote host: Connection refused
    ninja: build stopped: subcommand failed.

Full log here.

@iarsene iarsene enabled auto-merge (squash) May 7, 2026 13:06
@JinjooSeo
Copy link
Copy Markdown
Contributor Author

Dear @dsekihat, @feisenhu, @hscheid, @jokonig, @mikesas, @rbailhac
Could you please check this PR and merge it if everything looks fine?
Thanks in advance!

Comment thread PWGDQ/Core/VarManager.cxx
Comment on lines +379 to +385
switch (species) {
case 0:
calibMeanSim = kTPCElectronMeanMC;
calibSigmaSim = kTPCElectronSigmaMC;
calibMeanData = kTPCElectronMeanData;
calibSigmaData = kTPCElectronSigmaData;
break;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These hard-coded case numbers are meaningless.

@alibuild
Copy link
Copy Markdown
Collaborator

alibuild commented May 8, 2026

Error while checking build/O2Physics/o2 for 4f5dfad at 2026-05-08 07:47:

No log files found

Full log here.

Comment thread PWGDQ/Core/VarManager.cxx
Comment on lines +409 to +412
TH2* calibMeanSimHist = reinterpret_cast<TH2*>(fgCalibs[calibMeanSim]);
TH2* calibSigmaSimHist = reinterpret_cast<TH2*>(fgCalibs[calibSigmaSim]);
TH2* calibMeanDataHist = reinterpret_cast<TH2*>(fgCalibs[calibMeanData]);
TH2* calibSigmaDataHist = reinterpret_cast<TH2*>(fgCalibs[calibSigmaData]);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use reinterpret_cast. Use dynamic_cast instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants