Skip to content

Commit 46bb11f

Browse files
authored
U
1 parent 4dc921d commit 46bb11f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ALICE3/TableProducer/OTF/onTheFlyTofPid.cxx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,7 @@ struct OnTheFlyTofPid {
132132
static constexpr int kParticles = 5;
133133

134134
void init(o2::framework::InitContext&)
135-
{
136-
std::string particleNames[kParticles] = {"#it{e}", "#it{#mu}", "#it{#pi}", "#it{K}", "#it{p}"};
137-
std::string particleNames2[kParticles] = {"Elec", "Muon", "Pion", "Kaon", "Prot"};
138-
135+
{
139136
pRandomNumberGenerator.SetSeed(0); // fully randomize
140137

141138
// Load LUT for pt and eta smearing
@@ -199,6 +196,8 @@ struct OnTheFlyTofPid {
199196
histos.add("h2dRelativePtResolution", "h2dRelativePtResolution", kTH2F, {axisPt, axisRelativePt});
200197
histos.add("h2dRelativeEtaResolution", "h2dRelativeEtaResolution", kTH2F, {axisEta, axisRelativeEta});
201198

199+
std::string particleNames[kParticles] = {"#it{e}", "#it{#mu}", "#it{#pi}", "#it{K}", "#it{p}"};
200+
std::string particleNames2[kParticles] = {"Elec", "Muon", "Pion", "Kaon", "Prot"};
202201
for (int i_true = 0; i_true < kParticles; i_true++) {
203202
std::string nameTitleInnerTrackRes = "h2dInnerTimeResTrack" + particleNames2[i_true] + "VsP";
204203
std::string nameTitleTotalRes = "h2dInnerTimeResTotal" + particleNames2[i_true] + "VsP";

0 commit comments

Comments
 (0)