Skip to content

Conversation

@vbarbaso
Copy link
Contributor

  • Adding histograms for calculation of normalization factors
  • Optimalization of Rotational BG

Signed-off-by: Veronika Barbasova <vernika.barbasova@cern.ch>
@github-actions
Copy link

github-actions bot commented Oct 17, 2025

O2 linter results: ❌ 0 errors, ⚠️ 0 warnings, 🔕 0 disabled

Veronika Barbasova added 2 commits October 17, 2025 17:09
Signed-off-by: Veronika Barbasova <vernika.barbasova@cern.ch>
Signed-off-by: Veronika Barbasova <vernika.barbasova@cern.ch>
@dmallick2 dmallick2 merged commit f6fc7eb into AliceO2Group:master Oct 18, 2025
12 of 13 checks passed
float py2new = track2.px() * std::sin(angle * TMath::DegToRad()) + track2.py() * std::cos(angle * TMath::DegToRad());
// compute rotation angle in radians using o2::constants::math::PI
float angleDeg = i * (360.0f / (static_cast<int>(numberofRotations) + 1));
float angleRad = angleDeg * (o2::constants::math::PI / 180.0f);
Copy link
Collaborator

Choose a reason for hiding this comment

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

There are constants for these conversions. Use them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Of course. I'll rewrite it in next PR. Thanks for the comment.

ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
…iceO2Group#13440)

Signed-off-by: Veronika Barbasova <vernika.barbasova@cern.ch>
Co-authored-by: Veronika Barbasova <vernika.barbasova@cern.ch>
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
…iceO2Group#13440)

Signed-off-by: Veronika Barbasova <vernika.barbasova@cern.ch>
Co-authored-by: Veronika Barbasova <vernika.barbasova@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants