@@ -81,16 +81,16 @@ struct HfTaskSingleElectron {
8181 Configurable<float > ptTrackMax{" ptTrackMax" , 10 ., " max pt cut" };
8282 Configurable<float > ptTrackMin{" ptTrackMin" , 0.5 , " min pt cut" };
8383 Configurable<float > etaTrackMax{" etaTrackMax" , 0.8 , " eta cut" };
84- Configurable<int > nCrossedRowTPCMin{ " nCrossedRowTPCMin " , 70 , " max of TPC n cluster crossed rows" };
84+ Configurable<int > nCrossedRowTpcMin{ " nCrossedRowTpcMin " , 70 , " min # of TPC n cluster crossed rows" };
8585 Configurable<float > nClsFoundOverFindableTpcMin{" nClsFoundOverFindableTpcMin" , 0.8 , " min # of TPC found/findable clusters" };
86- Configurable<float > Chi2pernClTpcMax{ " Chi2pernClTpcMax " , 4 ., " min # of tpc chi2 per clusters" };
87- Configurable<int > ClsIBItsMin{ " ClsIBItsMin " , 3 , " min # of its clusters in IB" };
88- Configurable<float > Chi2pernClItsMax{ " Chi2pernClItsMax " , 6 ., " min # of tpc chi2 per clusters" };
86+ Configurable<float > chi2PerNClTpcMax{ " chi2PerNClTpcMax " , 4 ., " max # of tpc chi2 per clusters" };
87+ Configurable<int > clsIbItsMin{ " clsIbItsMin " , 3 , " min # of its clusters in IB" };
88+ Configurable<float > chi2PerNClItsMax{ " chi2PerNClItsMax " , 6 ., " min # of its chi2 per clusters" };
8989 Configurable<float > dcaxyMax{" dcaxyMax" , 1 ., " max of track dca in xy" };
9090 Configurable<float > dcazMax{" dcazMax" , 2 ., " max of track dca in z" };
9191 Configurable<float > nSigmaTofMax{" nSigmaTofMax" , 3 ., " max of tof nsigma" };
9292 Configurable<float > nSigmaTpcMin{" nSigmaTpcMin" , -1 ., " min of tpc nsigma" };
93- Configurable<float > nSigmaTPCMax{ " nSigmaTPCMax " , 3 ., " max of tpc nsigma" };
93+ Configurable<float > nSigmaTpcMax{ " nSigmaTpcMax " , 3 ., " max of tpc nsigma" };
9494
9595 Configurable<int > nBinsP{" nBinsP" , 1500 , " number of bins of particle momentum" };
9696 Configurable<int > nBinsPt{" nBinsPt" , 100 , " N bins in pT histo" };
@@ -139,24 +139,24 @@ struct HfTaskSingleElectron {
139139 histos.add (" hNClsTpcTrack" , " hNClsTpcTrack" , kTH1D , {{200 , 0 , 200 }});
140140 histos.add (" hNClsFoundFindableTpcTrack" , " " , kTH1D , {{10 , 0 , 1 }});
141141 histos.add (" hChi2TpcTrack" , " " , kTH1D , {{100 , 0 , 10 }});
142- histos.add (" hibClsItsTrack " , " " , kTH1D , {{10 , 0 , 10 }});
142+ histos.add (" hIbClsItsTrack " , " " , kTH1D , {{10 , 0 , 10 }});
143143 histos.add (" hChi2ItsTrack" , " " , kTH1D , {{50 , 0 , 50 }});
144144 histos.add (" hDcaXYTrack" , " " , kTH1D , {{600 , -3 , 3 }});
145145 histos.add (" hDcaZTrack" , " " , kTH1D , {{600 , -3 , 3 }});
146146
147147 // pid
148148 histos.add (" hTofNSigPt" , " " , kTH2D , {{axisPtEl}, {axisNsig}});
149149 histos.add (" hTofNSigPtQA" , " " , kTH2D , {{axisPtEl}, {axisNsig}});
150- histos.add (" hTPCNSigP " , " " , kTH2D , {{axisP}, {axisNsig}});
151- histos.add (" hTPCNSigPt " , " " , kTH2D , {{axisPtEl}, {axisNsig}});
152- histos.add (" hTPCNSigPAfterTofCut " , " " , kTH2D , {{axisP}, {axisNsig}});
153- histos.add (" hTPCNSigPtAfterTofCut " , " " , kTH2D , {{axisPtEl}, {axisNsig}});
154- histos.add (" hTPCNSigPtQA " , " " , kTH2D , {{axisPtEl}, {axisNsig}});
150+ histos.add (" hTpcNSigP " , " " , kTH2D , {{axisP}, {axisNsig}});
151+ histos.add (" hTpcNSigPt " , " " , kTH2D , {{axisPtEl}, {axisNsig}});
152+ histos.add (" hTpcNSigPAfterTofCut " , " " , kTH2D , {{axisP}, {axisNsig}});
153+ histos.add (" hTpcNSigPtAfterTofCut " , " " , kTH2D , {{axisPtEl}, {axisNsig}});
154+ histos.add (" hTpcNSigPtQA " , " " , kTH2D , {{axisPtEl}, {axisNsig}});
155155
156156 // track impact parameter
157157 histos.add (" hDcaTrack" , " " , kTH2D , {{axisPtEl}, {axisTrackIp}});
158158 histos.add (" hDcaBeauty" , " " , kTH2D , {{axisPtEl}, {axisTrackIp}});
159- histos.add (" hDcaChram " , " " , kTH2D , {{axisPtEl}, {axisTrackIp}});
159+ histos.add (" hDcaCharm " , " " , kTH2D , {{axisPtEl}, {axisTrackIp}});
160160 histos.add (" hDcaDalitz" , " " , kTH2D , {{axisPtEl}, {axisTrackIp}});
161161 histos.add (" hDcaConv" , " " , kTH2D , {{axisPtEl}, {axisTrackIp}});
162162 histos.add (" hDcaHadron" , " " , kTH2D , {{axisPtEl}, {axisTrackIp}});
@@ -178,23 +178,23 @@ struct HfTaskSingleElectron {
178178 return false ;
179179 }
180180
181- if (track.tpcNClsCrossedRows () < nCrossedRowTPCMin ) {
181+ if (track.tpcNClsCrossedRows () < nCrossedRowTpcMin ) {
182182 return false ;
183183 }
184184
185185 if (track.tpcCrossedRowsOverFindableCls () < nClsFoundOverFindableTpcMin) {
186186 return false ;
187187 }
188188
189- if (track.tpcChi2NCl () > Chi2pernClTpcMax ) {
189+ if (track.tpcChi2NCl () > chi2PerNClTpcMax ) {
190190 return false ;
191191 }
192192
193- if (!(track.itsNClsInnerBarrel () == ClsIBItsMin )) {
193+ if (!(track.itsNClsInnerBarrel () == clsIbItsMin )) {
194194 return false ;
195195 }
196196
197- if (track.itsChi2NCl () > Chi2pernClItsMax ) {
197+ if (track.itsChi2NCl () > chi2PerNClItsMax ) {
198198 return false ;
199199 }
200200
@@ -450,23 +450,23 @@ struct HfTaskSingleElectron {
450450 histos.fill (HIST (" hNClsTpcTrack" ), track.tpcNClsCrossedRows ());
451451 histos.fill (HIST (" hNClsFoundFindableTpcTrack" ), track.tpcCrossedRowsOverFindableCls ());
452452 histos.fill (HIST (" hChi2TpcTrack" ), track.tpcChi2NCl ());
453- histos.fill (HIST (" hibClsItsTrack " ), track.itsNClsInnerBarrel ());
453+ histos.fill (HIST (" hIbClsItsTrack " ), track.itsNClsInnerBarrel ());
454454 histos.fill (HIST (" hChi2ItsTrack" ), track.itsChi2NCl ());
455455 histos.fill (HIST (" hDcaXYTrack" ), track.dcaXY ());
456456 histos.fill (HIST (" hDcaZTrack" ), track.dcaZ ());
457457
458458 histos.fill (HIST (" hTofNSigPt" ), track.pt (), track.tofNSigmaEl ());
459- histos.fill (HIST (" hTPCNSigP " ), track.p (), track.tpcNSigmaEl ());
460- histos.fill (HIST (" hTPCNSigPt " ), track.pt (), track.tpcNSigmaEl ());
459+ histos.fill (HIST (" hTpcNSigP " ), track.p (), track.tpcNSigmaEl ());
460+ histos.fill (HIST (" hTpcNSigPt " ), track.pt (), track.tpcNSigmaEl ());
461461
462462 if (std::abs (track.tofNSigmaEl ()) > nSigmaTofMax) {
463463 continue ;
464464 }
465465 histos.fill (HIST (" hTofNSigPtQA" ), track.pt (), track.tofNSigmaEl ());
466- histos.fill (HIST (" hTPCNSigPAfterTofCut " ), track.p (), track.tpcNSigmaEl ());
467- histos.fill (HIST (" hTPCNSigPtAfterTofCut " ), track.pt (), track.tpcNSigmaEl ());
466+ histos.fill (HIST (" hTpcNSigPAfterTofCut " ), track.p (), track.tpcNSigmaEl ());
467+ histos.fill (HIST (" hTpcNSigPtAfterTofCut " ), track.pt (), track.tpcNSigmaEl ());
468468
469- if (track.tpcNSigmaEl () < nSigmaTpcMin || track.tpcNSigmaEl () > nSigmaTPCMax ) {
469+ if (track.tpcNSigmaEl () < nSigmaTpcMin || track.tpcNSigmaEl () > nSigmaTpcMax ) {
470470 continue ;
471471 }
472472
@@ -475,7 +475,7 @@ struct HfTaskSingleElectron {
475475 histos.fill (HIST (" hDcaHadron" ), track.pt (), track.dcaXY ());
476476 }
477477
478- histos.fill (HIST (" hTPCNSigPtQA " ), track.pt (), track.tpcNSigmaEl ());
478+ histos.fill (HIST (" hTpcNSigPtQA " ), track.pt (), track.tpcNSigmaEl ());
479479
480480 histos.fill (HIST (" hDcaTrack" ), track.pt (), track.dcaXY ());
481481 }
@@ -511,12 +511,12 @@ struct HfTaskSingleElectron {
511511 histos.fill (HIST (" hNClsTpcTrack" ), track.tpcNClsCrossedRows ());
512512 histos.fill (HIST (" hNClsFoundFindableTpcTrack" ), track.tpcCrossedRowsOverFindableCls ());
513513 histos.fill (HIST (" hChi2TpcTrack" ), track.tpcChi2NCl ());
514- histos.fill (HIST (" hibClsItsTrack " ), track.itsNClsInnerBarrel ());
514+ histos.fill (HIST (" hIbClsItsTrack " ), track.itsNClsInnerBarrel ());
515515 histos.fill (HIST (" hDcaXYTrack" ), track.dcaXY ());
516516 histos.fill (HIST (" hDcaZTrack" ), track.dcaZ ());
517517
518518 histos.fill (HIST (" hTofNSigPt" ), track.pt (), track.tofNSigmaEl ());
519- histos.fill (HIST (" hTPCNSigPt " ), track.pt (), track.tpcNSigmaEl ());
519+ histos.fill (HIST (" hTpcNSigPt " ), track.pt (), track.tpcNSigmaEl ());
520520
521521 int mpdg{}; // electron source pdg code
522522 double mpt{}; // electron source pt
@@ -529,7 +529,7 @@ struct HfTaskSingleElectron {
529529
530530 if (source == DirectCharm) {
531531 histos.fill (HIST (" hPdgC" ), mpdg);
532- histos.fill (HIST (" hDcaChram " ), track.pt (), track.dcaXY ());
532+ histos.fill (HIST (" hDcaCharm " ), track.pt (), track.dcaXY ());
533533 }
534534
535535 if (source >= GammaPi0 && source <= GammaSigma) {
@@ -549,12 +549,12 @@ struct HfTaskSingleElectron {
549549 continue ;
550550 }
551551 histos.fill (HIST (" hTofNSigPtQA" ), track.pt (), track.tofNSigmaEl ());
552- histos.fill (HIST (" hTPCNSigPtAfterTofCut " ), track.pt (), track.tpcNSigmaEl ());
552+ histos.fill (HIST (" hTpcNSigPtAfterTofCut " ), track.pt (), track.tpcNSigmaEl ());
553553
554- if (track.tpcNSigmaEl () < nSigmaTpcMin || track.tpcNSigmaEl () > nSigmaTPCMax ) {
554+ if (track.tpcNSigmaEl () < nSigmaTpcMin || track.tpcNSigmaEl () > nSigmaTpcMax ) {
555555 continue ;
556556 }
557- histos.fill (HIST (" hTPCNSigPtQA " ), track.pt (), track.tpcNSigmaEl ());
557+ histos.fill (HIST (" hTpcNSigPtQA " ), track.pt (), track.tpcNSigmaEl ());
558558
559559 histos.fill (HIST (" hDcaTrack" ), track.pt (), track.dcaXY ());
560560 }
0 commit comments