@@ -89,6 +89,7 @@ struct HfTaskSingleElectron {
8989 Configurable<float > tpcNSigmaMin{" tpcNSigmaMin" , -1 ., " min of tpc nsigma" };
9090 Configurable<float > tpcNSigmaMax{" tpcNSigmaMax" , 3 ., " max of tpc nsigma" };
9191
92+ Configurable<int > nBinsP{" nBinsP" , 1500 , " number of bins of particle momentum" };
9293 Configurable<int > nBinsPt{" nBinsPt" , 100 , " N bins in pT histo" };
9394
9495 // SliceCache
@@ -112,6 +113,7 @@ struct HfTaskSingleElectron {
112113 const AxisSpec axisNCont{100 , 0 ., 100 ., " nCont" };
113114 const AxisSpec axisPosZ{600 , -30 ., 30 ., " Z_{pos}" };
114115 const AxisSpec axisEta{30 , -1.5 , +1.5 , " #eta" };
116+ const AxisSpec axisP{nBinsP, 0 ., 15 ., " p_{T}" };
115117 const AxisSpec axisPt{nBinsPt, 0 ., 15 ., " p_{T}" };
116118 const AxisSpec axisNsig{800 , -20 ., 20 .};
117119 const AxisSpec axisTrackIp{4000 , -0.2 , 0.2 , " dca" };
@@ -139,7 +141,9 @@ struct HfTaskSingleElectron {
139141 // pid
140142 histos.add (" tofNSigPt" , " " , kTH2D , {{axisPtEl}, {axisNsig}});
141143 histos.add (" tofNSigPtQA" , " " , kTH2D , {{axisPtEl}, {axisNsig}});
144+ histos.add (" tpcNSigP" , " " , kTH2D , {{axisP}, {axisNsig}});
142145 histos.add (" tpcNSigPt" , " " , kTH2D , {{axisPtEl}, {axisNsig}});
146+ histos.add (" tpcNSigPAfterTofCut" , " " , kTH2D , {{axisP}, {axisNsig}});
143147 histos.add (" tpcNSigPtAfterTofCut" , " " , kTH2D , {{axisPtEl}, {axisNsig}});
144148 histos.add (" tpcNSigPtQA" , " " , kTH2D , {{axisPtEl}, {axisNsig}});
145149
@@ -430,12 +434,14 @@ struct HfTaskSingleElectron {
430434 histos.fill (HIST (" dcaZTrack" ), track.dcaZ ());
431435
432436 histos.fill (HIST (" tofNSigPt" ), track.pt (), track.tofNSigmaEl ());
437+ histos.fill (HIST (" tpcNSigP" ), track.p (), track.tpcNSigmaEl ());
433438 histos.fill (HIST (" tpcNSigPt" ), track.pt (), track.tpcNSigmaEl ());
434439
435440 if (std::abs (track.tofNSigmaEl ()) > tofNSigmaMax) {
436441 continue ;
437442 }
438443 histos.fill (HIST (" tofNSigPtQA" ), track.pt (), track.tofNSigmaEl ());
444+ histos.fill (HIST (" tpcNSigPAfterTofCut" ), track.p (), track.tpcNSigmaEl ());
439445 histos.fill (HIST (" tpcNSigPtAfterTofCut" ), track.pt (), track.tpcNSigmaEl ());
440446
441447 if (track.tpcNSigmaEl () < tpcNSigmaMin || track.tpcNSigmaEl () > tpcNSigmaMax) {
0 commit comments