[PWGCF] Efficiency Correction Added using CCDB Histograms - #17533
rahulverma012 wants to merge 10 commits into
Conversation
Code now contains parts related to efficiency correction implement using the Histograms stored in CCDB
|
O2 linter results: ❌ 0 errors, |
Updated function signatures to use const references for string parameters and vector parameters.
|
Error while checking build/O2Physics/staging for 6b682ec at 2026-08-21 08:23: Full log here. |
Comment out unused constants and arrays for clarity.
|
Error while checking build/O2Physics/code-check for ab1a41e at 2026-08-31 21:24: Full log here. |
|
Dear @rahulverma012 , could you please fix the code-check failure errors in your code and update the PR? I can approve it after that. |
| kPrimTrkPhi1020 = 0, | ||
| kPrimTrkJPsiToEE, | ||
| kPrimTrkJPsiToMuMu, | ||
| kPrimTrkKStar892, | ||
| kPrimTrkKStar892Bar, | ||
| kPrimTrkRho770, | ||
| primVtxTrkEnumSize |
There was a problem hiding this comment.
Follow naming conventions, i.e. UpperCamelCase and no k prefix.
|
Error while checking build/O2Physics/code-check for 01f01cc at 2026-09-10 09:43: Full log here. |
|
Dear @SwatiSaha-1997 and @vkucera, I have removed all the errors and warnings. Best Regards, |
|
|
||
| namespace o2::aod | ||
| { | ||
| using Collision = aod::Collisions::iterator; |
There was a problem hiding this comment.
This is wrong. Collision is already defined in the main data model.
| static constexpr std::array<double, 19> DoublePowersOf10 = { | ||
| 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, | ||
| 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18}; |
Code now contains parts related to efficiency correction implemented using the Histograms stored in CCDB.