Skip to content

Commit 2cd4cab

Browse files
[PWGLF] Refactor custom nsigma calculation for He3 (#14083)
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
1 parent 204f5f5 commit 2cd4cab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

PWGLF/Tasks/Nuspex/antinucleiInJets.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,8 +1127,7 @@ struct AntinucleiInJets {
11271127
// custom nsigma He3 based on bethe bloch fit of TPC signal
11281128
double tpcSignal = track.tpcSignal();
11291129
double expectedSignalHe3 = tpc::BetheBlochAleph(static_cast<double>(track.tpcInnerParam() * 2. / o2::constants::physics::MassHelium3), cfgBetheBlochParams.value[0], cfgBetheBlochParams.value[1], cfgBetheBlochParams.value[2], cfgBetheBlochParams.value[3], cfgBetheBlochParams.value[4]);
1130-
double sigmaHe3 = expectedSignalHe3 * cfgBetheBlochParams.value[4];
1131-
double nSigmaTPCHe3Custom = (tpcSignal - expectedSignalHe3) / sigmaHe3;
1130+
double nSigmaTPCHe3Custom = ((tpcSignal / expectedSignalHe3) - 1.) / 0.045;
11321131
registryData.fill(HIST("antihelium3_jet_tpc_custom"), 2.0 * pt, nSigmaTPCHe3Custom);
11331132
}
11341133
}
@@ -1223,8 +1222,7 @@ struct AntinucleiInJets {
12231222
// custom nsigma He3 based on bethe bloch fit of TPC signal
12241223
double tpcSignal = track.tpcSignal();
12251224
double expectedSignalHe3 = tpc::BetheBlochAleph(static_cast<double>(track.tpcInnerParam() * 2. / o2::constants::physics::MassHelium3), cfgBetheBlochParams.value[0], cfgBetheBlochParams.value[1], cfgBetheBlochParams.value[2], cfgBetheBlochParams.value[3], cfgBetheBlochParams.value[4]);
1226-
double sigmaHe3 = expectedSignalHe3 * cfgBetheBlochParams.value[4];
1227-
double nSigmaTPCHe3Custom = (tpcSignal - expectedSignalHe3) / sigmaHe3;
1225+
double nSigmaTPCHe3Custom = ((tpcSignal / expectedSignalHe3) - 1.) / 0.045;
12281226
registryData.fill(HIST("antihelium3_ue_tpc_custom"), 2.0 * pt, nSigmaTPCHe3Custom);
12291227
}
12301228
}

0 commit comments

Comments
 (0)