Skip to content

Commit 67bae13

Browse files
authored
Fix o2 linter error
1 parent 2f82db8 commit 67bae13

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ struct LongrangeMaker {
185185
SGSelector sgSelector;
186186
// Create instance of cut holder class to contain the user defined cuts
187187
SGCutParHolder cfgSgCuts = SGCutParHolder();
188-
Configurable<SGCutParHolder> SGCuts{"SGCuts", {}, "SG event cuts"};
188+
Configurable<SGCutParHolder> sgCuts{"sgCuts", {}, "SG event cuts"};
189+
Configurable<int> cfgGapSide{"cfgGapSide", 2, "cut on UPC events"};
189190

190191
void init(InitContext&)
191192
{
@@ -229,7 +230,7 @@ struct LongrangeMaker {
229230
itsNsigmaCut = itsNsigmaPidCut;
230231
tpcNsigmaCut = tpcNsigmaPidCut;
231232

232-
cfgSgCuts = (SGCutParHolder)SGCuts;
233+
cfgSgCuts = (SGCutParHolder)sgCuts;
233234
}
234235

235236
Produces<aod::CollLRTables> collisionLRTable;
@@ -242,7 +243,7 @@ struct LongrangeMaker {
242243

243244
Produces<aod::UpcCollLRTables> outupccol;
244245
Produces<aod::UpcSgCollLRTables> outsgupccol;
245-
Produces<aod::zdcLRTables> outzdctable;
246+
Produces<aod::ZdcLRTables> outzdctable;
246247

247248
Filter fTracksEta = nabs(aod::track::eta) < cfgtrksel.cfgEtaCut;
248249
Filter fTracksPt = (aod::track::pt > cfgtrksel.cfgPtCutMin) && (aod::track::pt < cfgtrksel.cfgPtCutMax);
@@ -381,7 +382,7 @@ struct LongrangeMaker {
381382
int issgevent = isSGEvent.value;
382383
histos.fill(HIST("hSelectionResult"), isSGEvent.value);
383384

384-
if (issgevent <= 2) {
385+
if (issgevent <= cfgGapSide) {
385386
if (cfgSgCuts.minRgtrwTOF()) {
386387
if (udhelpers::rPVtrwTOF<true>(tracks, col.numContrib()) < cfgSgCuts.minRgtrwTOF())
387388
return;

0 commit comments

Comments
 (0)