Skip to content

Commit 8d75166

Browse files
authored
Update nucleitpcpbpb.cxx
1 parent 7367b98 commit 8d75166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Nuspex/nucleitpcpbpb.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static const std::vector<double> particleMasses{o2::constants::physics::MassPion
5858
static const std::vector<int> particleCharge{1, 1, 1, 1, 2, 2};
5959
const int nBetheParams = 6;
6060
static const std::vector<std::string> betheBlochParNames{"p0", "p1", "p2", "p3", "p4", "resolution"};
61-
constexpr double betheBlochDefault[nParticles][nBetheParams]{
61+
constexpr double kBetheBlochDefault[nParticles][nBetheParams]{
6262
{13.611469, 3.598765, -0.021138, 2.039562, 0.651040, 0.09}, // pion
6363
{5.393020, 7.859534, 0.004048, 2.323197, 1.609307, 0.09}, // proton
6464
{5.393020, 7.859534, 0.004048, 2.323197, 1.609307, 0.09}, // deuteron
@@ -136,7 +136,7 @@ struct NucleitpcPbPb {
136136
Configurable<bool> cfgRequirebetaplot{"cfgRequirebetaplot", true, "Require beta plot"};
137137
Configurable<bool> cfgRequireMCposZ{"cfgRequireMCposZ", true, "Require beta plot"};
138138

139-
Configurable<LabeledArray<double>> cfgBetheBlochParams{"cfgBetheBlochParams", {betheBlochDefault[0], nParticles, nBetheParams, particleNames, betheBlochParNames}, "TPC Bethe-Bloch parameterisation for light nuclei"};
139+
Configurable<LabeledArray<double>> cfgBetheBlochParams{"cfgBetheBlochParams", {kBetheBlochDefault[0], nParticles, nBetheParams, particleNames, betheBlochParNames}, "TPC Bethe-Bloch parameterisation for light nuclei"};
140140
Configurable<LabeledArray<double>> cfgTrackPIDsettings{"cfgTrackPIDsettings", {kTrackPIDSettings[0], nParticles, nTrkSettings, particleNames, trackPIDsettingsNames}, "track selection and PID criteria"};
141141
Configurable<bool> cfgFillDeDxWithCut{"cfgFillDeDxWithCut", true, "Fill with cut beth bloch"};
142142
Configurable<bool> cfgFillnsigma{"cfgFillnsigma", false, "Fill n-sigma histograms"};

0 commit comments

Comments
 (0)