@@ -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