Skip to content
Merged
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
4 changes: 2 additions & 2 deletions ALICE3/Core/FlatTrackSmearer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <TRandom.h>

#include <string>
##include <vector>
##include<vector>
#include <cmath>
#include <cstddef>
#include <cstdint>
Expand All @@ -30,7 +30,7 @@
#include <span>
#include <string>

namespace o2::delphes
namespace o2::delphes
{
int TrackSmearer::getIndexPDG(int pdg)
{
Expand Down Expand Up @@ -87,7 +87,7 @@
void TrackSmearer::setWhatEfficiency(int val)
{
// FIXME: this really should be an enum
if (val > 2) {

Check failure on line 90 in ALICE3/Core/FlatTrackSmearer.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
throw framework::runtime_error_f("getLUTEntry: unknown efficiency type %d", mWhatEfficiency);
}
mWhatEfficiency = val;
Expand Down
Loading