Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions PWGCF/Femto/Core/collisionBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ class CollisionBuilder
}

[[nodiscard]] int64_t collisionIndex() const { return mCurrentCollisionIndex; }
[[nodiscard]] int magneticField() const { return mMagField; } // nominal L3 field of the current run (kG)

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.

mMagField is a float, so we have an implicit cast here to int. Is there a specific reason why to return it as an integer. If not, please change the retrun type to float

void reset()
{
mCollisionAlreadyFilled = false;
Expand Down
Loading
Loading