Skip to content

Commit 7f161ec

Browse files
committed
fix (and silence) linter errors
1 parent 9eabb7c commit 7f161ec

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

DPG/Tasks/AOTTrack/PID/TPC/treeCreatorPidTpcQa.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
/// \file treeCreatorPidTpcQa.cxx
12+
/// \file TreeCreatorPidTpcQa.cxx
1313
/// \brief Task to produce table with clean selections for TPC PID calibration
1414
///
1515
/// \author Ana Marin <ana.marin@cern.ch>
@@ -57,7 +57,7 @@ using namespace o2::dpg_tpcskimstablecreator;
5757
MACRO_ARG(He, Helium3) \
5858
MACRO_ARG(Al, Alpha)
5959

60-
struct treeCreatorPidTpcQa {
60+
struct TreeCreatorPidTpcQa {
6161
Produces<o2::aod::QaPidTpc> rowPidTpcQa;
6262

6363
Configurable<int> applyEvSel{"applyEvSel", 2, "Flag to apply event selection: 0 -> no event selection, 1 -> Run 2 event selection, 2 -> Run 3 event selection"};
@@ -71,10 +71,10 @@ struct treeCreatorPidTpcQa {
7171
// Configurable for the path of CCDB General Run Parameters LHC Interface information
7272
Configurable<std::string> ccdbPathGrpLhcIf{"ccdbPathGrpLhcIf", "GLO/Config/GRPLHCIF", "Path on the CCDB for the GRPLHCIF object"};
7373

74-
#define DECLARE_PARTICLE_WISE_CONFIGURABLES(ParticleNameShort, ParticleNameLong) \
75-
Configurable<float> cutTpcInnerParameterMin##ParticleNameLong{"cutTpcInnerParameterMin" #ParticleNameLong, -1., "Lower-value cut on tpcInnerParam for " #ParticleNameLong}; \
76-
Configurable<float> cutTpcInnerParameterMax##ParticleNameLong{"cutTpcInnerParameterMax" #ParticleNameLong, -1., "Upper-value cut on tpcInnerParam for " #ParticleNameLong}; \
77-
Configurable<float> cutNSigmaTpcAbs##ParticleNameLong{"cutNSigmaTpcAbs" #ParticleNameLong, -1., "Cut on absolute value of nSigmaTpc for " #ParticleNameLong};
74+
#define DECLARE_PARTICLE_WISE_CONFIGURABLES(ParticleNameShort, ParticleNameLong) \
75+
Configurable<float> cutTpcInnerParameterMin##ParticleNameLong{"cutTpcInnerParameterMin" #ParticleNameLong, -1., "Lower-value cut on tpcInnerParam for " #ParticleNameLong}; /* o2-linter: disable=name/configurable (Configurable defined in macro)*/ \
76+
Configurable<float> cutTpcInnerParameterMax##ParticleNameLong{"cutTpcInnerParameterMax" #ParticleNameLong, -1., "Upper-value cut on tpcInnerParam for " #ParticleNameLong}; /* o2-linter: disable=name/configurable (Configurable defined in macro)*/ \
77+
Configurable<float> cutNSigmaTpcAbs##ParticleNameLong{"cutNSigmaTpcAbs" #ParticleNameLong, -1., "Cut on absolute value of nSigmaTpc for " #ParticleNameLong}; // o2-linter: disable=name/configurable (Configurable defined in macro)
7878

7979
PARTICLE_LIST(DECLARE_PARTICLE_WISE_CONFIGURABLES)
8080
#undef DECLARE_PARTICLE_WISE_CONFIGURABLES
@@ -212,7 +212,7 @@ struct treeCreatorPidTpcQa {
212212
{ \
213213
processSingleParticle<PID::ParticleNameLong, false, false>(collisions, tracks); \
214214
} \
215-
PROCESS_SWITCH(treeCreatorPidTpcQa, process##ParticleNameLong, Form("Process for the %s hypothesis for TPC NSigma QA ", #ParticleNameLong), false);
215+
PROCESS_SWITCH(TreeCreatorPidTpcQa, process##ParticleNameLong, Form("Process for the %s hypothesis for TPC NSigma QA", #ParticleNameLong), false);
216216

217217
PARTICLE_LIST(MAKE_PROCESS_FUNCTION)
218218
#undef MAKE_PROCESS_FUNCTION
@@ -225,7 +225,7 @@ struct treeCreatorPidTpcQa {
225225
{ \
226226
processSingleParticle<PID::ParticleNameLong, true, false>(collisions, tracks); \
227227
} \
228-
PROCESS_SWITCH(treeCreatorPidTpcQa, processFull##ParticleNameLong, Form("Process for the %s hypothesis for full TPC PID QA ", #ParticleNameLong), false);
228+
PROCESS_SWITCH(TreeCreatorPidTpcQa, processFull##ParticleNameLong, Form("Process for the %s hypothesis for full TPC PID QA", #ParticleNameLong), false);
229229

230230
PARTICLE_LIST(MAKE_PROCESS_FUNCTION)
231231
#undef MAKE_PROCESS_FUNCTION
@@ -238,14 +238,14 @@ struct treeCreatorPidTpcQa {
238238
{ \
239239
processSingleParticle<PID::ParticleNameLong, true, true>(collisions, tracks); \
240240
} \
241-
PROCESS_SWITCH(treeCreatorPidTpcQa, processFullWithTOF##ParticleNameLong, Form("Process for the %s hypothesis for full TPC PID QA with the TOF info added ", #ParticleNameLong), false);
241+
PROCESS_SWITCH(TreeCreatorPidTpcQa, processFullWithTOF##ParticleNameLong, Form("Process for the %s hypothesis for full TPC PID QA with the TOF info added", #ParticleNameLong), false);
242242

243243
PARTICLE_LIST(MAKE_PROCESS_FUNCTION)
244244
#undef MAKE_PROCESS_FUNCTION
245245
};
246246

247247
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
248248
{
249-
return WorkflowSpec{adaptAnalysisTask<treeCreatorPidTpcQa>(cfgc)};
249+
return WorkflowSpec{adaptAnalysisTask<TreeCreatorPidTpcQa>(cfgc)};
250250
}
251251
#undef PARTICLE_LIST

DPG/Tasks/AOTTrack/PID/TPC/treeCreatorPidTpcQa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace o2::aod
2727
namespace dpg_tpcpidqa
2828
{
2929
DECLARE_SOA_COLUMN(NSigmaTpc, nSigmaTpc, float);
30-
DECLARE_SOA_COLUMN(DedxExpected, dedxTpc, float);
30+
DECLARE_SOA_COLUMN(DedxExpected, dedxExpected, float);
3131
DECLARE_SOA_COLUMN(DedxDiff, dedxDiff, float);
3232
DECLARE_SOA_COLUMN(ExpSigma, expSigma, float);
3333
DECLARE_SOA_COLUMN(NSigmaTof, nSigmaTof, float);

0 commit comments

Comments
 (0)