TPC PID Skim Tree Creation#1002
Conversation
|
Hi,
|
|
Thanks for the commit! I had a couple of comments on the changes to the TPC response - having the NumberOfSigmas return -999 in case of an invalid signal is good, but i think returning -999 on the resolution could have unintended effects if it's not then checked for by the other functions that use it |
njacazio
left a comment
There was a problem hiding this comment.
Hi @AnnalenaKa this looks super nice indeed! I have just some minor comments/suggestions.
Did you estimate the compression factor of the skimmed data WRT the original AODs?
Also I'm wondering if you are interested into carrying out some down-sampling at some point.
|
Hi, |
|
Thanks a lot @AnnalenaKa very nice, all good from me |
wiechula
left a comment
There was a problem hiding this comment.
Some more extremely minor suggestions.
Also I would prefer to explicitly use the std:: math functions:
pow,TMath::Power -> std::pow
abs,TMath::Abs -> std::abs
sqrt -> std::sqrt
etc.
|
All looks good to me, thanks for the updates! |
mfaggin
left a comment
There was a problem hiding this comment.
I see that this PR was hugely discussed already, green light from my side then.
|
I would just wait #1025 to be merged |
wiechula
left a comment
There was a problem hiding this comment.
Thanks a lot @AnnalenaKa looks good!
c5ec853 to
42b26fc
Compare
|
I fixed a conflict brought in by a recent PR merge that prevented the merge |
ddobrigk
left a comment
There was a problem hiding this comment.
Stalled PR, looks ok and reviewed, approved
This pull request will add a check in the TPC PID Response class whether a tpc signal was present and the default values are changed to -999 for the resolution and number of sigma and to 0 for the expected signal.
In addition, a column with the expected signal is added to the TPC pid table, which is produced by the pid-tpc-full task.
Furthermore, the task DPG/Tasks/TPC/tpcSkimsTableCreator.cxx will allow to create a table, which will be used to train the neural network that is used for the multidimensional correction of the TPC response. The task is based on V0 and gamma decays plus TPC and TOF track selections at low momentum.