Skip to content
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

ITS: NCluster plot moved to Double #2369

Merged

Conversation

IsakovAD
Copy link
Collaborator

@IsakovAD IsakovAD commented Jul 9, 2024

Changed type of the nClustersPerTrack histogram from float to double.

This change should fix problem for a-QC where we have overflow of float limits

@IsakovAD IsakovAD requested a review from iravasen as a code owner July 9, 2024 10:14
@IsakovAD
Copy link
Collaborator Author

IsakovAD commented Jul 9, 2024

Hello @iravasen

Could you please approve this request? This is trivial solution to a-QC problem

Copy link
Collaborator

@iravasen iravasen left a comment

Choose a reason for hiding this comment

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

@IsakovAD thanks, you need also to modify the checkers. Example, this line:

auto* h = dynamic_cast<TH1F*>(iter->second->getObject());

@iravasen
Copy link
Collaborator

iravasen commented Jul 10, 2024

No wait sorry you did it! I did not see it.

Then I think you can also modify the cluster task. In particular the 1D cluster size distributions. And more in general I think that at this point any TH1F or TH2F which is filled with "counts" need to be moved to TH1D or TH2D

@@ -453,7 +453,7 @@ void ITSTrackTask::createAllHistos()
formatAxes(hAngularDistribution.get(), "#eta", "#phi", 1, 1.10);
hAngularDistribution->SetStats(0);

hNClusters = std::make_unique<TH1FRatio>("NClusters", "NClusters", 15, -0.5, 14.5, true);
hNClusters = std::make_unique<TH1DRatio>("NClusters", "NClusters", 15, -0.5, 14.5, true);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Modify also the binning as Matteo suggested

@iravasen iravasen dismissed their stale review July 10, 2024 07:16

done already

@IsakovAD
Copy link
Collaborator Author

Hello @iravasen

I moved all the plots in Cluster/Track tasks to the Double. FEE task and Decoding error are already fine;

Copy link
Collaborator

@iravasen iravasen left a comment

Choose a reason for hiding this comment

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

Thanks a lot! Approving

@IsakovAD IsakovAD merged commit ce4331d into AliceO2Group:master Jul 11, 2024
7 checks passed
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.

2 participants