Skip to content

Commit

Permalink
clang and linter ixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeric-landou committed Jan 21, 2025
1 parent 74baa52 commit 87fcef8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions PWGJE/Core/JetDerivedDataUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ uint16_t setEventSelectionBit(T const& collision)
if (collision.sel8()) {
SETBIT(bit, JCollisionSel::sel8);

//old selection
// old selection
if (collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup) && collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) {
if (collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeStandard)) {
SETBIT(bit, JCollisionSel::sel8FullPbPbOld);
}
}
//new selection
// new selection
if (collision.selection_bit(o2::aod::evsel::kNoCollInTimeRangeStandard)) {
SETBIT(bit, JCollisionSel::sel8NoCollInTimeRangeStandard);
if (collision.selection_bit(o2::aod::evsel::kNoCollInRofStandard)) {
Expand Down
3 changes: 3 additions & 0 deletions PWGJE/TableProducer/luminosityCalculator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
///
/// \author Nima Zardoshti <nima.zardoshti@cern.ch>

#include <string>
#include <vector>

#include "Framework/AnalysisTask.h"
#include "Framework/AnalysisDataModel.h"
#include "Framework/ASoA.h"
Expand Down
3 changes: 3 additions & 0 deletions PWGJE/TableProducer/luminosityProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
///
/// \author Nima Zardoshti <nima.zardoshti@cern.ch>

#include <algorithm>
#include <vector>

#include "Framework/AnalysisTask.h"
#include "Framework/AnalysisDataModel.h"
#include "Framework/ASoA.h"
Expand Down
7 changes: 4 additions & 3 deletions PWGJE/Tasks/occupancyQA.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#include <cmath>
#include <TRandom3.h>
#include <string>

#include "Framework/ASoA.h"
#include "Framework/AnalysisDataModel.h"
Expand Down Expand Up @@ -42,7 +43,7 @@ using namespace o2;
using namespace o2::framework;
using namespace o2::framework::expressions;

struct occupancyQATask {
struct OccupancyQATask {

HistogramRegistry registry;

Expand Down Expand Up @@ -111,7 +112,7 @@ struct occupancyQATask {
registry.fill(HIST("h2_occupancy_ntracksselptetacuts_postsel8"), occupancy, nTracksInAcceptanceAndSelected);
}
}
PROCESS_SWITCH(occupancyQATask, processEventsJetData, "occupancy QA on jet derived data", true);
PROCESS_SWITCH(OccupancyQATask, processEventsJetData, "occupancy QA on jet derived data", true);
};

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) { return WorkflowSpec{adaptAnalysisTask<occupancyQATask>(cfgc, TaskName{"occupancy-qa"})}; }
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) { return WorkflowSpec{adaptAnalysisTask<OccupancyQATask>(cfgc, TaskName{"occupancy-qa"})}; }

0 comments on commit 87fcef8

Please sign in to comment.