@@ -242,8 +242,8 @@ struct LambdaTableProducer {
242242 Configurable<int > cCentEstimator{" cCentEstimator" , 1 , " Centrality Estimator : 0-FT0M, 1-FT0C" };
243243 Configurable<float > cMinZVtx{" cMinZVtx" , -7.0 , " Min VtxZ cut" };
244244 Configurable<float > cMaxZVtx{" cMaxZVtx" , 7.0 , " Max VtxZ cut" };
245- Configurable<float > cMinMult{ " cMinMult " , 0 ., " Minumum Multiplicity " };
246- Configurable<float > cMaxMult{ " cMaxMult " , 100.0 , " Maximum Multiplicity " };
245+ Configurable<float > cMinCent{ " cMinCent " , 0 ., " Minumum Centrality " };
246+ Configurable<float > cMaxCent{ " cMaxCent " , 100.0 , " Maximum Centrality " };
247247 Configurable<bool > cSel8Trig{" cSel8Trig" , true , " Sel8 (T0A + T0C) Selection Run3" };
248248 Configurable<bool > cInt7Trig{" cInt7Trig" , false , " kINT7 MB Trigger" };
249249 Configurable<bool > cSel7Trig{" cSel7Trig" , false , " Sel7 (V0A + V0C) Selection Run2" };
@@ -262,7 +262,6 @@ struct LambdaTableProducer {
262262 Configurable<int > cMinTpcCrossedRows{" cMinTpcCrossedRows" , 70 , " TPC Min Crossed Rows" };
263263 Configurable<double > cTpcNsigmaCut{" cTpcNsigmaCut" , 3.0 , " TPC NSigma Selection Cut" };
264264 Configurable<bool > cRemoveAmbiguousTracks{" cRemoveAmbiguousTracks" , false , " Remove Ambiguous Tracks" };
265- Configurable<bool > cMatchEfficiency{" cMatchEfficiency" , false , " Get Matching Efficiency" };
266265
267266 // V0s
268267 Configurable<double > cMinDcaProtonToPV{" cMinDcaProtonToPV" , 0.02 , " Minimum Proton DCAr to PV" };
@@ -293,8 +292,6 @@ struct LambdaTableProducer {
293292 Configurable<bool > cSelectTrueLambda{" cSelectTrueLambda" , false , " Select True Lambda" };
294293 Configurable<bool > cSelMCPSV0{" cSelMCPSV0" , false , " Select Primary/Secondary V0" };
295294 Configurable<bool > cCheckRecoDauFlag{" cCheckRecoDauFlag" , true , " Check for reco daughter PID" };
296- Configurable<bool > cGenPrimaryLambda{" cGenPrimaryLambda" , true , " Primary Generated Lambda" };
297- Configurable<bool > cGenSecondaryLambda{" cGenSecondaryLambda" , false , " Secondary Generated Lambda" };
298295 Configurable<bool > cGenDecayChannel{" cGenDecayChannel" , true , " Gen Level Decay Channel Flag" };
299296
300297 // Efficiency Correction
@@ -380,9 +377,6 @@ struct LambdaTableProducer {
380377 histos.add (" Tracks/h2f_armpod_after_sel" , " Armentros-Podolanski Plot" , kTH2F , {axisAlpha, axisQtarm});
381378 histos.add (" Tracks/h1f_lambda_pt_vs_invm" , " p_{T} vs M_{#Lambda}" , kTH2F , {axisV0Mass, axisV0Pt});
382379 histos.add (" Tracks/h1f_antilambda_pt_vs_invm" , " p_{T} vs M_{#bar{#Lambda}}" , kTH2F , {axisV0Mass, axisV0Pt});
383- histos.add (" Tracks/h2f_track_tpccrossedrows" , " Crossed rows TPC" , kTH2F , {axisTrackPt, {260 , 0 , 260 }});
384- histos.add (" Tracks/h2f_track_chisqperclusterits" , " #chi^{2}/cluster ITS" , kTH2F , {axisTrackPt, {200 , 0 , 50 }});
385- histos.add (" Tracks/h2f_track_chisqperclustertpc" , " #chi^{2}/cluster TPC" , kTH2F , {axisTrackPt, {200 , 0 , 50 }});
386380 histos.add (" Tracks/h2f_itstrack_centpt" , " h2f_itstrack_centpt" , kTH2F , {axisVarCent, axisITSTPCTrackPt});
387381 histos.add (" Tracks/h2f_itstpctrack_centpt" , " h2f_itstpctrack_centpt" , kTH2F , {axisVarCent, axisITSTPCTrackPt});
388382
@@ -519,7 +513,7 @@ struct LambdaTableProducer {
519513 }
520514 }
521515
522- if (cent <= cMinMult || cent >= cMaxMult ) { // select centrality percentile class
516+ if (cent <= cMinCent || cent >= cMaxCent ) { // select centrality percentile class
523517 return false ;
524518 }
525519
@@ -902,6 +896,7 @@ struct LambdaTableProducer {
902896 float posTrackMatchEff = histMatchEff->GetBinContent (histMatchEff->FindBin (cent, posTrack.pt ()));
903897 float negTrackMatchEff = histMatchEff->GetBinContent (histMatchEff->FindBin (cent, negTrack.pt ()));
904898 matchEffFact = posTrackMatchEff * negTrackMatchEff;
899+ delete histMatchEff;
905900 }
906901
907902 return primFrac * effCorrFact * matchEffFact;
@@ -1324,7 +1319,7 @@ struct LambdaTableProducer {
13241319 return ;
13251320 }
13261321 // Get Matching Efficiency
1327- getMatchEffHist<kData >(tracks);
1322+ getMatchEffHist<kMC >(tracks);
13281323 }
13291324
13301325 PROCESS_SWITCH (LambdaTableProducer, processMatchEffMCReco, " Process for Matching Efficieny Calculation at MC Reconstructed Level" , false );
0 commit comments