Skip to content

Commit 5107b8d

Browse files
committed
Fixed variable names
1 parent 6049b91 commit 5107b8d

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

PWGLF/Tasks/Resonances/kstar892LightIon.cxx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ struct Kstar892LightIon {
159159
Configurable<float> cfgFakeTrackCutKa{"cfgFakeTrackCutKa", 0.3, "Cut based on momentum difference in global and TPC tracks for kaons"};
160160
Configurable<float> cfgFakeTrackCutPi{"cfgFakeTrackCutPi", 0.3, "Cut based on momentum difference in global and TPC tracks for pions"};
161161

162-
Configurable<float> pionMIDpTlow{"pionMIDpTlow", 1.0, "Low pT cut for pion in MID"};
163-
Configurable<float> pionMIDpThigh{"pionMIDpThigh", 2.5, "High pT cut for pion in MID"};
164-
Configurable<float> kaonMIDpTlow{"kaonMIDpTlow", 0.7, "Low pT cut for kaon in MID"};
165-
Configurable<float> kaonMIDpThigh{"kaonMIDpThigh", 2.5, "High pT cut for kaon in MID"};
162+
Configurable<float> pionMIDpTLow{"pionMIDpTLow", 1.0, "Low pT cut for pion in MID"};
163+
Configurable<float> pionMIDpTHigh{"pionMIDpTHigh", 2.5, "High pT cut for pion in MID"};
164+
Configurable<float> kaonMIDpTLow{"kaonMIDpTLow", 0.7, "Low pT cut for kaon in MID"};
165+
Configurable<float> kaonMIDpTHigh{"kaonMIDpTHigh", 2.5, "High pT cut for kaon in MID"};
166166

167167
// Fixed variables
168168
float lowPtCutPID = 0.5;
@@ -217,7 +217,7 @@ struct Kstar892LightIon {
217217

218218
int noOfDaughters = 2;
219219

220-
double pionPIDpTlow = 1.0, pionPIDpThigh = 2.5, kaonPIDpTlow = 0.7, kaonPIDpThigh = 2.5;
220+
double pionPIDpTLow = 1.0, pionPIDpTHigh = 2.5, kaonPIDpTLow = 0.7, kaonPIDpTHigh = 2.5;
221221

222222
TRandom* rn = new TRandom();
223223

@@ -731,7 +731,7 @@ struct Kstar892LightIon {
731731
bool selectionPIDpTdepTOF(const T& candidate, int PID)
732732
{
733733
if (PID == PIDParticle::kPion) {
734-
if (candidate.pt() < pionPIDpTlow || candidate.pt() > pionPIDpThigh) {
734+
if (candidate.pt() < pionPIDpTLow || candidate.pt() > pionPIDpTHigh) {
735735
if (candidate.pt() < selectionConfig.lowPtCutPID && std::abs(candidate.tpcNSigmaPi()) < selectionConfig.nsigmaCutTPCPi) {
736736
return true;
737737
}
@@ -747,7 +747,7 @@ struct Kstar892LightIon {
747747
}
748748
}
749749
} else if (PID == PIDParticle::kKaon) {
750-
if (candidate.pt() < kaonPIDpTlow || candidate.pt() > kaonPIDpThigh) {
750+
if (candidate.pt() < kaonPIDpTLow || candidate.pt() > kaonPIDpTHigh) {
751751
if (candidate.pt() < selectionConfig.lowPtCutPID && std::abs(candidate.tpcNSigmaKa()) < selectionConfig.nsigmaCutTPCKa) {
752752
return true;
753753
}
@@ -811,11 +811,11 @@ struct Kstar892LightIon {
811811
bool selectionMIDpTdep(const T& candidate, int PID)
812812
{
813813
if (PID == PIDParticle::kPion) {
814-
if (candidate.pt() >= selectionConfig.pionMIDpTlow && candidate.pt() < selectionConfig.pionMIDpThigh && !candidate.hasTOF() && std::abs(candidate.tpcNSigmaPi()) < selectionConfig.nsigmaCutTPCMID) {
814+
if (candidate.pt() >= selectionConfig.pionMIDpTLow && candidate.pt() < selectionConfig.pionMIDpTHigh && !candidate.hasTOF() && std::abs(candidate.tpcNSigmaPi()) < selectionConfig.nsigmaCutTPCMID) {
815815
return true;
816816
}
817817
} else if (PID == PIDParticle::kKaon) {
818-
if (candidate.pt() >= selectionConfig.kaonMIDpTlow && candidate.pt() < selectionConfig.kaonMIDpThigh && !candidate.hasTOF() && std::abs(candidate.tpcNSigmaKa()) < selectionConfig.nsigmaCutTPCMID) {
818+
if (candidate.pt() >= selectionConfig.kaonMIDpTLow && candidate.pt() < selectionConfig.kaonMIDpTHigh && !candidate.hasTOF() && std::abs(candidate.tpcNSigmaKa()) < selectionConfig.nsigmaCutTPCMID) {
819819
return true;
820820
}
821821
}
@@ -826,11 +826,11 @@ struct Kstar892LightIon {
826826
bool selectionMIDPtDepComp(const T& candidate, int PID)
827827
{
828828
if (PID == PIDParticle::kPion) {
829-
if (candidate.pt() >= selectionConfig.pionMIDpTlow && candidate.pt() < selectionConfig.pionMIDpThigh && !candidate.hasTOF() && std::abs(candidate.tpcNSigmaPi()) < std::abs(candidate.tpcNSigmaKa())) {
829+
if (candidate.pt() >= selectionConfig.pionMIDpTLow && candidate.pt() < selectionConfig.pionMIDpTHigh && !candidate.hasTOF() && std::abs(candidate.tpcNSigmaPi()) < std::abs(candidate.tpcNSigmaKa())) {
830830
return true;
831831
}
832832
} else if (PID == PIDParticle::kKaon) {
833-
if (candidate.pt() >= selectionConfig.kaonMIDpTlow && candidate.pt() < selectionConfig.kaonMIDpThigh && !candidate.hasTOF() && std::abs(candidate.tpcNSigmaKa()) < std::abs(candidate.tpcNSigmaPi())) {
833+
if (candidate.pt() >= selectionConfig.kaonMIDpTLow && candidate.pt() < selectionConfig.kaonMIDpTHigh && !candidate.hasTOF() && std::abs(candidate.tpcNSigmaKa()) < std::abs(candidate.tpcNSigmaPi())) {
834834
return true;
835835
}
836836
}

0 commit comments

Comments
 (0)