-
Notifications
You must be signed in to change notification settings - Fork 526
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
[PWGJE] Add hadron-photon correlation analysis task #8727
base: master
Are you sure you want to change the base?
[PWGJE] Add hadron-photon correlation analysis task #8727
Conversation
6c3aa72
to
175fc64
Compare
Service<o2::framework::O2DatabasePDG> pdg; | ||
|
||
// Constrain azimuthal angle and project it to range [lower_phi, lower_phi + pi/2] | ||
float constrainAngle(float phi, float lower_phi) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should use the function in recodecay for this
bool initTrack(const T& track, bool checkIsGlobalTrack = true) | ||
{ | ||
|
||
if (checkIsGlobalTrack && !track.isGlobalTrack()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is isGlobalTrack? is this part of the track selection? If so you can use the format in the jetderiveddata to check this
|
||
/********************************************** DATA ***********************************************/ | ||
|
||
void processTrigsReco(Join<Collisions, EvSels>::iterator const& collision, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for not using the JE derived format?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this applies to all the process functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was mainly because I wasn't sure how to use the jetderiveddata together with PCM and with TPC Pid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have now changed it to use jetderiveddata
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edit: *now, not *no
thanks for making the PR! I have left some general comments above |
047b644
to
c52573a
Compare
There is an issue in |
The error message indicates that you are mixing up a std:: vector of type unsigned long and one of type unsigned long long. Please check:
Since you didn't change the code there I assume that there might have been an update on the arm side and it's more strict or something. |
I am not sure where this could be mixed up. I only use two vectors in my task (of type double for histogram binning, unrelated to eventselection-qa). For the event selection, I use the general event selection for jet derived data:
@nzardosh Were there any major changes with the jet event selection or anything else I did not consider? |
I think its not your fault, its just that your build is compiling that header since its included in your task. You should contact the people responsible for that task to fix it |
cf614cb
to
2ac6884
Compare
Changed the pt axes to be configurable |
2ac6884
to
1c67576
Compare
Fixed issue where all V0s where taken, not just from the respective collision |
Error while checking build/O2Physics/o2 for 1c67576 at 2024-12-12 15:28:
Full log here. |
Analysis task for angular correlations between trigger hadrons (as proxy for jets) and photons
@fjonasALICE @nzardosh