Skip to content

Commit 670d426

Browse files
committed
Remove unused includes, change int type
1 parent 502cc26 commit 670d426

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

PWGDQ/Tasks/taskJPsiMu.cxx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
/// @author Kaare Endrup Iversen
1212
// Contact: iarsene@cern.ch, i.c.arsene@fys.uio.no
1313
//
14-
#include "PWGDQ/Core/AnalysisCompositeCut.h"
15-
#include "PWGDQ/Core/AnalysisCut.h"
1614
#include "PWGDQ/Core/VarManager.h"
1715
#include "PWGDQ/DataModel/ReducedInfoTables.h"
1816

@@ -21,22 +19,15 @@
2119
#include <Framework/AnalysisDataModel.h>
2220
#include <Framework/AnalysisHelpers.h>
2321
#include <Framework/AnalysisTask.h>
24-
#include <Framework/BinningPolicy.h>
2522
#include <Framework/Configurable.h>
2623
#include <Framework/HistogramRegistry.h>
2724
#include <Framework/HistogramSpec.h>
2825
#include <Framework/InitContext.h>
29-
#include <Framework/StringHelpers.h>
3026
#include <Framework/runDataProcessing.h>
3127

32-
#include <sys/types.h>
33-
34-
#include <RtypesCore.h>
35-
3628
#include <chrono>
3729
#include <cmath>
3830
#include <cstdint>
39-
#include <memory>
4031
#include <string>
4132
#include <vector>
4233

@@ -269,7 +260,7 @@ double getWeight(const double pT, const std::vector<double>& pT_bins, const std:
269260
{
270261

271262
int eff_bin = -1;
272-
for (size_t b = 0; b < pT_bins.size() - 1; ++b) {
263+
for (uint8_t b = 0; b < pT_bins.size() - 1; ++b) {
273264
// Shift pT index by one to account for the VARIABLE_WIDTH entry in the axis configuration
274265
if (pT >= pT_bins[b + 1] && pT < pT_bins[b + 2]) {
275266
eff_bin = b;

0 commit comments

Comments
 (0)