Skip to content

Commit 49e8d35

Browse files
committed
Minor change to getter name
1 parent 63f4400 commit 49e8d35

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PWGLF/DataModel/LFStrangenessPIDTables.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(TofXiCompatibility, tofXiCompatibility, //! compatibi
221221
return compatible;
222222
});
223223

224-
DECLARE_SOA_DYNAMIC_COLUMN(TofOmCompatibility, tofOmCompatibility, //! compatibility with being lambda, checked only if TOF present. Argument: number of sigmas
224+
DECLARE_SOA_DYNAMIC_COLUMN(TofOmegaCompatibility, tofOmegaCompatibility, //! compatibility with being lambda, checked only if TOF present. Argument: number of sigmas
225225
[](float tofNSigmaOmLaPr, float tofNSigmaOmLaPi, float tofNSigmaOmKa, float nsigma) -> float {
226226
bool compatible = true;
227227
if(std::abs(tofNSigmaOmLaPr-kNoTOFValue)>kEpsilon && std::abs(tofNSigmaOmLaPr)>nsigma){
@@ -258,7 +258,7 @@ DECLARE_SOA_TABLE(CascTOFNSigmas, "AOD", "CascTOFNSigmas", // Nsigmas for cascad
258258
cascdata::TOFNSigmaXiLaPi, cascdata::TOFNSigmaXiLaPr, cascdata::TOFNSigmaXiPi,
259259
cascdata::TOFNSigmaOmLaPi, cascdata::TOFNSigmaOmLaPr, cascdata::TOFNSigmaOmKa,
260260
cascdata::TofXiCompatibility<cascdata::TOFNSigmaXiLaPr, cascdata::TOFNSigmaXiLaPi, cascdata::TOFNSigmaXiPi>,
261-
cascdata::TofOmCompatibility<cascdata::TOFNSigmaOmLaPr, cascdata::TOFNSigmaOmLaPi, cascdata::TOFNSigmaOmKa>);
261+
cascdata::TofOmegaCompatibility<cascdata::TOFNSigmaOmLaPr, cascdata::TOFNSigmaOmLaPi, cascdata::TOFNSigmaOmKa>);
262262
} // namespace o2::aod
263263

264264
#endif // PWGLF_DATAMODEL_LFSTRANGENESSPIDTABLES_H_

PWGLF/Tasks/QC/strangepidqa.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ struct strangepidqa {
474474
if (TMath::Abs(posExtra.tpcNSigmaPr()) < tpcNsigmaProton && TMath::Abs(negExtra.tpcNSigmaPi()) < tpcNsigmaPion && TMath::Abs(bachExtra.tpcNSigmaKa()) < tpcNsigmaBachelor) {
475475
histos.fill(HIST("h3dMassOmegaMinus"), col.centFT0C(), casc.pt(), casc.mOmega());
476476
histos.fill(HIST("h1dMassOmegaMinus"), casc.mOmega());
477-
if(casc.tofOmCompatibility(tofNsigmaCompatibilityCascades.value)){
477+
if(casc.tofOmegaCompatibility(tofNsigmaCompatibilityCascades.value)){
478478
histos.fill(HIST("h3dMassCompatibleOmegaMinus"), col.centFT0C(), casc.pt(), casc.mOmega());
479479
histos.fill(HIST("h1dMassCompatibleOmegaMinus"), casc.mOmega());
480480
}
@@ -492,7 +492,7 @@ struct strangepidqa {
492492
if (TMath::Abs(posExtra.tpcNSigmaPi()) < tpcNsigmaPion && TMath::Abs(negExtra.tpcNSigmaPr()) < tpcNsigmaProton && TMath::Abs(bachExtra.tpcNSigmaKa()) < tpcNsigmaBachelor) {
493493
histos.fill(HIST("h3dMassOmegaPlus"), col.centFT0C(), casc.pt(), casc.mOmega());
494494
histos.fill(HIST("h1dMassOmegaPlus"), casc.mOmega());
495-
if(casc.tofOmCompatibility(tofNsigmaCompatibilityCascades.value)){
495+
if(casc.tofOmegaCompatibility(tofNsigmaCompatibilityCascades.value)){
496496
histos.fill(HIST("h3dMassCompatibleOmegaPlus"), col.centFT0C(), casc.pt(), casc.mOmega());
497497
histos.fill(HIST("h1dMassCompatibleOmegaPlus"), casc.mOmega());
498498
}

0 commit comments

Comments
 (0)