-
Notifications
You must be signed in to change notification settings - Fork 613
[PWGJE] Adding Ds and Xic to jet framework #12640
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
Conversation
|
O2 linter results: ❌ 505 errors, |
alibuild
left a comment
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.
Auto-approving on behalf of @nzardosh.
vkucera
left a comment
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.
Thanks @nzardosh .
Please always compile headers alone to check that they are self-sufficient.
| namespace bkgds | ||
| { | ||
| DECLARE_SOA_INDEX_COLUMN_FULL(Candidate, candidate, int, HfDsBases, "_0"); | ||
| } // namespace bkgds | ||
|
|
||
| namespace bkgdsmc | ||
| { | ||
| DECLARE_SOA_INDEX_COLUMN_FULL(Candidate, candidate, int, HfDsPBases, "_0"); | ||
| } // namespace bkgdsmc |
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.
Why do you need two columns and not one?
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.
Because they are pointing to different tables
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.
Indeed, sorry, I overlooked the P.
| o2physics_add_dpl_workflow(jet-finder-ds-mcd-charged | ||
| SOURCES jetFinderDsMCDCharged.cxx |
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.
The capitalisation should be fixed at some point.
| PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::PWGJECore O2Physics::AnalysisCore O2::FrameworkPhysicsSupport | ||
| COMPONENT_NAME Analysis) | ||
|
|
||
| o2physics_add_dpl_workflow(jet-finder-xictoxipipi-data-charged |
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.
| o2physics_add_dpl_workflow(jet-finder-xictoxipipi-data-charged | |
| o2physics_add_dpl_workflow(jet-finder-xic-to-xi-pi-pi-data-charged |
| // granted to it by virtue of its status as an Intergovernmental Organization | ||
| // or submit itself to any jurisdiction. | ||
|
|
||
| // jet finder D+ mcp charged task |
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.
Wrong
| PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::PWGJECore O2Physics::AnalysisCore O2::FrameworkPhysicsSupport | ||
| COMPONENT_NAME Analysis) | ||
|
|
||
| o2physics_add_dpl_workflow(jet-matching-mc-xictoxipipi-ch |
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.
Fix the hyphenation everywhere.
| // | ||
| /// \author Nima Zardoshti <nima.zardoshti@cern.ch> | ||
|
|
||
| #include "PWGJE/TableProducer/Matching/Substructure/jetSubstructureMatching.cxx" |
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.
Use header files for reusable code and source files for compilation units.
Never ever include source files.
|
|
||
| #include <vector> | ||
|
|
||
| using DsChargedJetSubstructureMatchingMC = JetSubstructureMatching<soa::Join<aod::DsChargedMCDetectorLevelJets, aod::DsChargedMCDetectorLevelJetConstituents, aod::DsChargedMCDetectorLevelJetsMatchedToDsChargedMCParticleLevelJets>, |
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.
The task name does not match the file name.
|
|
||
| tasks.emplace_back( | ||
| adaptAnalysisTask<DsChargedMCJetsEventWeight>(cfgc, | ||
| SetDefaultProcesses{}, TaskName{"jet-ds-eventweight-mcp-charged"})); |
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.
| SetDefaultProcesses{}, TaskName{"jet-ds-eventweight-mcp-charged"})); | |
| SetDefaultProcesses{}, TaskName{"jet-ds-event-weight-mcp-charged"})); |
eventweight is not a word.
alibuild
left a comment
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.
Auto-approving on behalf of @nzardosh.
No description provided.