Skip to content

Commit e459cec

Browse files
committed
Remove unused include and update variable naming
1 parent 671311f commit e459cec

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
#include <CommonConstants/MathConstants.h>
2222
#include <DCAFitter/DCAFitterN.h>
23-
#include <DetectorsBase/Propagator.h>
2423
#include <Framework/AnalysisDataModel.h>
2524
#include <Framework/AnalysisHelpers.h>
2625
#include <Framework/AnalysisTask.h>
@@ -536,7 +535,7 @@ struct NucleiAntineutronCex {
536535
}
537536

538537
// Reconstructed data
539-
bool antipLayers_condition = false;
538+
bool antipLayersCondition = false;
540539
bool antipHasTrack = false;
541540
double antipTrkPx = 0.;
542541
double antipTrkPy = 0.;
@@ -551,7 +550,7 @@ struct NucleiAntineutronCex {
551550
int8_t pTrkItsPidValid = 0;
552551
float pTrkTgl = 0.f;
553552

554-
bool pLayers_condition = false;
553+
bool pLayersCondition = false;
555554
bool pHasTrack = false;
556555
double pTrkPx = 0.;
557556
double pTrkPy = 0.;
@@ -609,7 +608,7 @@ struct NucleiAntineutronCex {
609608
antipHasTrack = true;
610609
apItsMap = static_cast<uint16_t>(track.itsClusterMap());
611610
if (layerCondition)
612-
antipLayers_condition = true;
611+
antipLayersCondition = true;
613612
if (motherPdg == -kNeutron) {
614613
histos.fill(HIST("apItsNsigmaPr"), antipTrkItsNSigmaPr);
615614
histos.fill(HIST("apItsPidValid"), antipTrkItsPidValid);
@@ -637,7 +636,7 @@ struct NucleiAntineutronCex {
637636
pHasTrack = true;
638637
pItsMap = static_cast<uint16_t>(track.itsClusterMap());
639638
if (layerCondition)
640-
pLayers_condition = true;
639+
pLayersCondition = true;
641640
if (motherPdg == -kNeutron) {
642641
histos.fill(HIST("pItsNsigmaPr"), pTrkItsNSigmaPr);
643642
histos.fill(HIST("pItsPidValid"), pTrkItsPidValid);
@@ -715,7 +714,7 @@ struct NucleiAntineutronCex {
715714
if (motherPdg != -kNeutron)
716715
histos.fill(HIST("cexbg_pairtrkVtxfitDcaPair"), dcaPair);
717716

718-
if (!(antipLayers_condition && pLayers_condition))
717+
if (!(antipLayersCondition && pLayersCondition))
719718
continue;
720719
double cexPairTrkP = total_trk_pVec.Mag();
721720
double cexPairTrkPt = total_trk_pVec.Pt();

0 commit comments

Comments
 (0)