Skip to content

Commit bd8e9b2

Browse files
committed
PWGEM/Photon: remove unused nsigma pi from v0leg table
1 parent 7ca8e13 commit bd8e9b2

9 files changed

Lines changed: 25 additions & 25 deletions

File tree

PWGEM/PhotonMeson/Core/V0PhotonCut.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ void V0PhotonCut::SetTPCNsigmaElRange(float min, float max)
113113
mMaxTPCNsigmaEl = max;
114114
LOG(info) << "V0 Photon selection, set TPC n sigma El range: " << mMinTPCNsigmaEl << " - " << mMaxTPCNsigmaEl;
115115
}
116-
void V0PhotonCut::SetTPCNsigmaPiRange(float min, float max)
117-
{
118-
mMinTPCNsigmaPi = min;
119-
mMaxTPCNsigmaPi = max;
120-
LOG(info) << "V0 Photon selection, set TPC n sigma Pi range: " << mMinTPCNsigmaPi << " - " << mMaxTPCNsigmaPi;
121-
}
116+
// void V0PhotonCut::SetTPCNsigmaPiRange(float min, float max)
117+
// {
118+
// mMinTPCNsigmaPi = min;
119+
// mMaxTPCNsigmaPi = max;
120+
// LOG(info) << "V0 Photon selection, set TPC n sigma Pi range: " << mMinTPCNsigmaPi << " - " << mMaxTPCNsigmaPi;
121+
// }
122122
void V0PhotonCut::SetTrackPtRange(float minPt, float maxPt)
123123
{
124124
mMinTrackPt = minPt;

PWGEM/PhotonMeson/Core/V0PhotonCut.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class V0PhotonCut : public TNamed
6060
kTPCFracSharedClusters,
6161
kTPCChi2NDF,
6262
kTPCNsigmaEl,
63-
kTPCNsigmaPi,
63+
// kTPCNsigmaPi,
6464
kDCAxy,
6565
kDCAz,
6666
kITSNCls,
@@ -235,9 +235,9 @@ class V0PhotonCut : public TNamed
235235
if (!IsSelectedTrack(track, V0PhotonCuts::kTPCNsigmaEl)) {
236236
return false;
237237
}
238-
if (!IsSelectedTrack(track, V0PhotonCuts::kTPCNsigmaPi)) {
239-
return false;
240-
}
238+
// if (!IsSelectedTrack(track, V0PhotonCuts::kTPCNsigmaPi)) {
239+
// return false;
240+
// }
241241
return true;
242242
}
243243

@@ -359,8 +359,8 @@ class V0PhotonCut : public TNamed
359359
case V0PhotonCuts::kTPCNsigmaEl:
360360
return track.tpcNSigmaEl() > mMinTPCNsigmaEl && track.tpcNSigmaEl() < mMaxTPCNsigmaEl;
361361

362-
case V0PhotonCuts::kTPCNsigmaPi:
363-
return track.tpcNSigmaPi() > mMinTPCNsigmaPi && track.tpcNSigmaPi() < mMaxTPCNsigmaPi;
362+
// case V0PhotonCuts::kTPCNsigmaPi:
363+
// return track.tpcNSigmaPi() > mMinTPCNsigmaPi && track.tpcNSigmaPi() < mMaxTPCNsigmaPi;
364364

365365
case V0PhotonCuts::kDCAxy:
366366
return std::fabs(track.dcaXY()) < ((mMaxDcaXYPtDep) ? mMaxDcaXYPtDep(track.pt()) : mMaxDcaXY);
@@ -430,7 +430,7 @@ class V0PhotonCut : public TNamed
430430
void SetMeanClusterSizeITSob(float min, float max);
431431

432432
void SetTPCNsigmaElRange(float min = -3, float max = +3);
433-
void SetTPCNsigmaPiRange(float min = -1e+10, float max = 1e+10);
433+
// void SetTPCNsigmaPiRange(float min = -1e+10, float max = 1e+10);
434434

435435
void SetMaxDcaXY(float maxDcaXY);
436436
void SetMaxDcaZ(float maxDcaZ);
@@ -467,7 +467,7 @@ class V0PhotonCut : public TNamed
467467

468468
// pid cuts
469469
float mMinTPCNsigmaEl{-5}, mMaxTPCNsigmaEl{+5};
470-
float mMinTPCNsigmaPi{-1e+10}, mMaxTPCNsigmaPi{+1e+10};
470+
// float mMinTPCNsigmaPi{-1e+10}, mMaxTPCNsigmaPi{+1e+10};
471471

472472
// kinematic cuts
473473
float mMinTrackPt{0.f}, mMaxTrackPt{1e10f}; // range in pT

PWGEM/PhotonMeson/DataModel/gammaTables.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ DECLARE_SOA_TABLE_VERSIONED(V0Legs_001, "AOD", "V0LEG", 1, //!
207207
track::DcaXY, track::DcaZ,
208208
track::TPCNClsFindable, track::TPCNClsFindableMinusFound, track::TPCNClsFindableMinusCrossedRows, track::TPCNClsShared,
209209
track::TPCChi2NCl, track::TPCInnerParam,
210-
track::TPCSignal, pidtpc::TPCNSigmaEl, pidtpc::TPCNSigmaPi,
210+
track::TPCSignal, pidtpc::TPCNSigmaEl, /*pidtpc::TPCNSigmaPi,*/
211211
track::ITSClusterSizes, track::ITSChi2NCl, track::DetectorMap,
212212

213213
// dynamic column

PWGEM/PhotonMeson/TableProducer/photonconversionbuilder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ struct PhotonConversionBuilder {
373373
kfp.GetPx(), kfp.GetPy(), kfp.GetPz(), dcaXY, dcaZ,
374374
track.tpcNClsFindable(), track.tpcNClsFindableMinusFound(), track.tpcNClsFindableMinusCrossedRows(), track.tpcNClsShared(),
375375
track.tpcChi2NCl(), track.tpcInnerParam(), track.tpcSignal(),
376-
track.tpcNSigmaEl(), track.tpcNSigmaPi(),
376+
track.tpcNSigmaEl(), /*track.tpcNSigmaPi(),*/
377377
track.itsClusterSizes(), track.itsChi2NCl(), track.detectorMap());
378378

379379
v0legsXYZ(shiftedtrack.getX(), shiftedtrack.getY(), shiftedtrack.getZ());

PWGEM/PhotonMeson/TableProducer/skimmerGammaConversion.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ struct skimmerGammaConversion {
187187
kfp.GetPx(), kfp.GetPy(), kfp.GetPz(), theTrack.dcaXY(), theTrack.dcaZ(),
188188
theTrack.tpcNClsFindable(), theTrack.tpcNClsFindableMinusFound(), theTrack.tpcNClsFindableMinusCrossedRows(), theTrack.tpcNClsShared(),
189189
theTrack.tpcChi2NCl(), theTrack.tpcInnerParam(), theTrack.tpcSignal(),
190-
theTrack.tpcNSigmaEl(), theTrack.tpcNSigmaPi(),
190+
theTrack.tpcNSigmaEl(), /*theTrack.tpcNSigmaPi(),*/
191191
theTrack.itsClusterSizes(), theTrack.itsChi2NCl(), theTrack.detectorMap());
192192
}
193193

PWGEM/PhotonMeson/Tasks/Converters/pcmConverter1.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct pcmConverter1 {
7474
v0leg.tpcInnerParam(),
7575
v0leg.tpcSignal(),
7676
v0leg.tpcNSigmaEl(),
77-
v0leg.tpcNSigmaPi(),
77+
// v0leg.tpcNSigmaPi(),
7878
v0leg.itsClusterSizes(),
7979
v0leg.itsChi2NCl(),
8080
v0leg.detectorMap());

PWGEM/PhotonMeson/Tasks/gammaConversions.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ struct GammaConversions {
723723
fillTH1(theContainer, "hTPCFoundOverFindableCls", theTrack.tpcFoundOverFindableCls());
724724
fillTH1(theContainer, "hTPCCrossedRowsOverFindableCls", theTrack.tpcCrossedRowsOverFindableCls());
725725
fillTH2(theContainer, "hTPCdEdxSigEl", theTrack.p(), theTrack.tpcNSigmaEl());
726-
fillTH2(theContainer, "hTPCdEdxSigPi", theTrack.p(), theTrack.tpcNSigmaPi());
726+
// fillTH2(theContainer, "hTPCdEdxSigPi", theTrack.p(), theTrack.tpcNSigmaPi());
727727
fillTH2(theContainer, "hTPCdEdx", theTrack.p(), theTrack.tpcSignal());
728728
}
729729

@@ -895,13 +895,13 @@ struct GammaConversions {
895895
if (theTrack.p() > fPIDPionRejectionPMin) {
896896
// low pt Pion rej
897897
if (theTrack.p() < fPIDPionRejectionPBoarder) {
898-
if (theTrack.tpcNSigmaEl() > fPIDnSigmaElectronMin && theTrack.tpcNSigmaEl() < fPIDnSigmaElectronMax && theTrack.tpcNSigmaPi() < fPIDnSigmaAbovePionLineLowPMin) {
898+
if (theTrack.tpcNSigmaEl() > fPIDnSigmaElectronMin && theTrack.tpcNSigmaEl() < fPIDnSigmaElectronMax /*&& theTrack.tpcNSigmaPi() < fPIDnSigmaAbovePionLineLowPMin*/) {
899899
fillV0SelectionHisto(ePhotonCuts::kPionRejLowMom);
900900
return kFALSE;
901901
}
902902
// High Pt Pion rej
903903
} else {
904-
if (theTrack.tpcNSigmaEl() > fPIDnSigmaElectronMin && theTrack.tpcNSigmaEl() < fPIDnSigmaElectronMax && theTrack.tpcNSigmaPi() < fPIDnSigmaAbovePionLineHighPMin) {
904+
if (theTrack.tpcNSigmaEl() > fPIDnSigmaElectronMin && theTrack.tpcNSigmaEl() < fPIDnSigmaElectronMax /*&& theTrack.tpcNSigmaPi() < fPIDnSigmaAbovePionLineHighPMin*/) {
905905
fillV0SelectionHisto(ePhotonCuts::kPionRejHighMom);
906906
return kFALSE;
907907
}

PWGEM/PhotonMeson/Tasks/pcmQC.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ struct PCMQC {
163163
fRegistry.add("V0Leg/hChi2TPC", "chi2/number of TPC clusters", kTH1F, {{100, 0, 10}}, false);
164164
fRegistry.add("V0Leg/hTPCdEdx", "TPC dE/dx;p_{in} (GeV/c);TPC dE/dx (a.u.)", kTH2F, {{1000, 0, 10}, {200, 0, 200}}, false);
165165
fRegistry.add("V0Leg/hTPCNsigmaEl", "TPC n sigma el;p_{in} (GeV/c);n #sigma_{e}^{TPC}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
166-
fRegistry.add("V0Leg/hTPCNsigmaPi", "TPC n sigma pi;p_{in} (GeV/c);n #sigma_{#pi}^{TPC}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
166+
// fRegistry.add("V0Leg/hTPCNsigmaPi", "TPC n sigma pi;p_{in} (GeV/c);n #sigma_{#pi}^{TPC}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
167167
fRegistry.add("V0Leg/hTPCNcr2Nf", "TPC Ncr/Nfindable", kTH1F, {{200, 0, 2}}, false);
168168
fRegistry.add("V0Leg/hTPCNcls2Nf", "TPC Ncls/Nfindable", kTH1F, {{200, 0, 2}}, false);
169169
fRegistry.add("V0Leg/hTPCNclsShared", "TPC Ncls shared/Ncls;p_{T} (GeV/c);N_{cls}^{shared}/N_{cls} in TPC", kTH2F, {{1000, 0, 10}, {100, 0, 1}}, false);
@@ -313,7 +313,7 @@ struct PCMQC {
313313
}
314314
fRegistry.fill(HIST("V0Leg/hTPCdEdx"), leg.tpcInnerParam(), leg.tpcSignal());
315315
fRegistry.fill(HIST("V0Leg/hTPCNsigmaEl"), leg.tpcInnerParam(), leg.tpcNSigmaEl());
316-
fRegistry.fill(HIST("V0Leg/hTPCNsigmaPi"), leg.tpcInnerParam(), leg.tpcNSigmaPi());
316+
// fRegistry.fill(HIST("V0Leg/hTPCNsigmaPi"), leg.tpcInnerParam(), leg.tpcNSigmaPi());
317317
// fRegistry.fill(HIST("V0Leg/hXY"), leg.x(), leg.y());
318318
// fRegistry.fill(HIST("V0Leg/hZX"), leg.z(), leg.x());
319319
// fRegistry.fill(HIST("V0Leg/hZY"), leg.z(), leg.y());

PWGEM/PhotonMeson/Tasks/pcmQCMC.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ struct PCMQCMC {
225225
fRegistry.add("V0Leg/primary/hChi2TPC", "chi2/number of TPC clusters", kTH1F, {{100, 0, 10}}, false);
226226
fRegistry.add("V0Leg/primary/hTPCdEdx", "TPC dE/dx;p_{in} (GeV/c);TPC dE/dx (a.u.)", kTH2F, {{1000, 0, 10}, {200, 0, 200}}, false);
227227
fRegistry.add("V0Leg/primary/hTPCNsigmaEl", "TPC n sigma el;p_{in} (GeV/c);n #sigma_{e}^{TPC}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
228-
fRegistry.add("V0Leg/primary/hTPCNsigmaPi", "TPC n sigma pi;p_{in} (GeV/c);n #sigma_{#pi}^{TPC}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
228+
// fRegistry.add("V0Leg/primary/hTPCNsigmaPi", "TPC n sigma pi;p_{in} (GeV/c);n #sigma_{#pi}^{TPC}", kTH2F, {{1000, 0, 10}, {100, -5, +5}}, false);
229229
fRegistry.add("V0Leg/primary/hTPCNcr2Nf", "TPC Ncr/Nfindable", kTH1F, {{200, 0, 2}}, false);
230230
fRegistry.add("V0Leg/primary/hTPCNcls2Nf", "TPC Ncls/Nfindable", kTH1F, {{200, 0, 2}}, false);
231231
fRegistry.add("V0Leg/primary/hTPCNclsShared", "TPC Ncls shared/Ncls;p_{T} (GeV/c);N_{cls}^{shared}/N_{cls} in TPC", kTH2F, {{1000, 0, 10}, {100, 0, 1}}, false);
@@ -403,7 +403,7 @@ struct PCMQCMC {
403403
}
404404
fRegistry.fill(HIST("V0Leg/") + HIST(mcphoton_types[mctype]) + HIST("hTPCdEdx"), leg.tpcInnerParam(), leg.tpcSignal());
405405
fRegistry.fill(HIST("V0Leg/") + HIST(mcphoton_types[mctype]) + HIST("hTPCNsigmaEl"), leg.tpcInnerParam(), leg.tpcNSigmaEl());
406-
fRegistry.fill(HIST("V0Leg/") + HIST(mcphoton_types[mctype]) + HIST("hTPCNsigmaPi"), leg.tpcInnerParam(), leg.tpcNSigmaPi());
406+
// fRegistry.fill(HIST("V0Leg/") + HIST(mcphoton_types[mctype]) + HIST("hTPCNsigmaPi"), leg.tpcInnerParam(), leg.tpcNSigmaPi());
407407
// fRegistry.fill(HIST("V0Leg/") + HIST(mcphoton_types[mctype]) + HIST("hXY"), leg.x(), leg.y());
408408
// fRegistry.fill(HIST("V0Leg/") + HIST(mcphoton_types[mctype]) + HIST("hZX"), leg.z(), leg.x());
409409
// fRegistry.fill(HIST("V0Leg/") + HIST(mcphoton_types[mctype]) + HIST("hZY"), leg.z(), leg.y());

0 commit comments

Comments
 (0)