Uh oh!
There was an error while loading. Please reload this page.
PWGHF: Expression columns to compute combined PID variables - #3503
Conversation
| auto trackNeg = candidate.prong1_as<TracksSel>(); // negative daughter (positive for the antiparticles) | ||
| auto trackPos2 = candidate.prong2_as<TracksSel>(); // positive daughter (negative for the antiparticles) | ||
| LOG(info) << "Combined PID = " << trackPos1.tpctofNSigmaPi(); |
There was a problem hiding this comment.
I just noticed I forgot to remove this, I will do it when I push the next commit with the PR comments.
vkucera
commented
Sep 25, 2023
Hi @AlexBigO , thanks for your work. Spawning and consuming a table within the same struct is possible with |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi @vkucera ! Thanks for the comments. Actually, I tried but could not find the right syntax for what I want to do. When using |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
vkucera
commented
Sep 28, 2023
Thanks @AlexBigO , it looks good to me. I just have a curious question on the templated return type. Otherwise am happy with merging unless others have further comments. |
Hi @vkucera !
In the end I defined a new
structbefore the main one in the selector, toSpawnsthe PID tables. I aim at using these tables inprong0_as()command, and I don't know if there is a way to bothSpawnsand consume a table in astruct(as I understand it, it is not possible), so spawning them a priori in a differentstructis the only solution I found for the moment.I added the columns and tables definitions in
CandidateReconstructionTables.h, and put the possibility to compute combined PID variables also for the tiny/non-full versions of the PID tables.