Skip to content

MUON: added forward tracks post-processing - #2150

Merged
Barthelemy merged 2 commits into
AliceO2Group:masterfrom
AliceMCH:mch-add-tracks-postprocessing
Mar 7, 2024
Merged

MUON: added forward tracks post-processing#2150
Barthelemy merged 2 commits into
AliceO2Group:masterfrom
AliceMCH:mch-add-tracks-postprocessing

Conversation

@aferrero2707

Copy link
Copy Markdown
Contributor

The post-processing is used to compute the matching efficiency for different MFT/MCH/MID combinations.
The Modules/MUON/Readme.md file contains more details on the task output, configuration and associated checkers.

@aferrero2707
aferrero2707 force-pushed the mch-add-tracks-postprocessing branch 2 times, most recently from 37a4710 to 70fcef3 Compare February 22, 2024 10:59
The post-processing is used to compute the matching efficiency for
different MFT/MCH/MID combinations.
See Readme.md file for more details.
@aferrero2707
aferrero2707 force-pushed the mch-add-tracks-postprocessing branch from 70fcef3 to 4f52d64 Compare February 22, 2024 14:28
@Barthelemy

Copy link
Copy Markdown
Collaborator

Hi,
The error in macOS-arm seems legit.

@knopers8 knopers8 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aferrero2707 ! I would have some suggestions for you to consider.

Comment thread Modules/MUON/Common/include/MUONCommon/MatchingEfficiencyCheck.h Outdated
Comment thread Modules/MUON/Common/include/MUONCommon/MatchingEfficiencyCheck.h Outdated

using namespace o2::quality_control_modules::common;

using MuonCutFunc = std::function<bool(const o2::quality_control_modules::muon::MuonTrack&)>;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please explicitely include <functional> since std::function is used

Comment thread Modules/MUON/Common/include/MUONCommon/TracksPostProcessing.h Outdated
Comment thread Modules/MUON/Common/src/MatchingEfficiencyCheck.cxx Outdated
Comment thread Modules/MUON/Common/src/MatchingEfficiencyCheck.cxx
Comment thread Modules/MUON/Common/src/TracksPostProcessing.cxx Outdated
Comment on lines +195 to +197
void TracksPostProcessing::initialize(Trigger, framework::ServiceRegistryRef)
{
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you do not clear the plots here, I think the plots from the previous runs will be published at the 2nd START. I could be missing something though...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. To be on the safe side, I added code that un-publishes and destroys all objects before they are re-created and re-published.
On the first START there is simply nothing to un-publish or destroy, but the code handles this correctly.

Comment thread Modules/MUON/Common/src/TracksTask.cxx Outdated
@aferrero2707
aferrero2707 force-pushed the mch-add-tracks-postprocessing branch from 0286867 to 3d3bb46 Compare March 6, 2024 12:51
@aferrero2707

Copy link
Copy Markdown
Contributor Author

@knopers8 thanks a lot for the detailed review! I have prepared a new version that should integrate all your comments.

@aferrero2707

Copy link
Copy Markdown
Contributor Author

@Barthelemy @knopers8 the CI is green, apart from one failure that seems to be unrelated.
Is there a chance to have this PR included in the SW upgrade next week?
Thanks!

@Barthelemy

Copy link
Copy Markdown
Collaborator

@aferrero2707 indeed the errors seem unrelated, I am merging it.

@Barthelemy
Barthelemy merged commit 54542b3 into AliceO2Group:master Mar 7, 2024
@aferrero2707

Copy link
Copy Markdown
Contributor Author

Thanks!

@aferrero2707
aferrero2707 deleted the mch-add-tracks-postprocessing branch March 7, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants