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
8 changes: 5 additions & 3 deletions PWGLF/Tasks/Nuspex/antinucleiInJets.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ struct AntinucleiInJets {
static std::mt19937 gen(rd());
static std::uniform_int_distribution<> dis(0, 99);
int randomNumber = dis(gen);
if(randomNumber <= rejectionPercentage) {
if (randomNumber <= rejectionPercentage) {
return false;
}
return true;
Expand All @@ -458,7 +458,8 @@ struct AntinucleiInJets {
// Process Data
void processData(SelectedCollisions::iterator const& collision, FullNucleiTracks const& tracks)
{
if(rejectEvents && shouldRejectEvent()) return;
if (rejectEvents && shouldRejectEvent())
return;

// event counter: before event selection
registryData.fill(HIST("number_of_events_data"), 0.5);
Expand Down Expand Up @@ -1215,7 +1216,8 @@ struct AntinucleiInJets {
// Process Systematics
void processSystematicsData(SelectedCollisions::iterator const& collision, FullNucleiTracks const& tracks)
{
if(rejectEvents && shouldRejectEvent()) return;
if (rejectEvents && shouldRejectEvent())
return;

const int nSystematics = 10;
int itsNclustersSyst[nSystematics] = {5, 6, 5, 4, 5, 3, 5, 6, 3, 4};
Expand Down
Loading