Skip to content

Commit c5b9553

Browse files
Update kaonIsospinFluctuations.cxx
1 parent 897a05b commit c5b9553

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

PWGCF/EbyEFluctuations/Tasks/kaonIsospinFluctuations.cxx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,10 +1882,11 @@ struct KaonIsospinFluctuations {
18821882
// vetoRejection for particles //From Victor Luis Gonzalez Sebastian's analysis note for balance functions
18831883
template <typename T>
18841884
bool selTrackForId(const T& track)
1885-
{ static const float minus3 = -3.0;
1885+
{
1886+
static const float minus3 = -3.0;
18861887
static const float five = 5.0;
18871888
static const float three = 3.0;
1888-
if ( minus3 < track.tpcNSigmaEl() && track.tpcNSigmaEl() < five &&
1889+
if (minus3 < track.tpcNSigmaEl() && track.tpcNSigmaEl() < five &&
18891890
std::fabs(track.tpcNSigmaPi()) > three &&
18901891
std::fabs(track.tpcNSigmaKa()) > three &&
18911892
std::fabs(track.tpcNSigmaPr()) > three) {
@@ -2192,9 +2193,9 @@ struct KaonIsospinFluctuations {
21922193
template <typename T>
21932194
bool selKaonTPCInnerParam(const T& track)
21942195
{
2195-
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTPCLowP);
2196+
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTPCLowP);
21962197
static const float nSigmaTPCHighP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTPCHighP);
2197-
constexpr float kTPCInnerLow = 0.05f;
2198+
constexpr float kTPCInnerLow = 0.05f;
21982199
constexpr float kTPCInnerHigh = 0.70f;
21992200
if (vetoIdOthersTPC<kKa>(track)) {
22002201
if (kTPCInnerLow <= track.tpcInnerParam() && track.tpcInnerParam() < kTPCInnerHigh && std::abs(track.tpcNSigmaKa()) < nSigmaTPCLowP) {
@@ -2210,9 +2211,9 @@ struct KaonIsospinFluctuations {
22102211
template <typename T>
22112212
bool selProtonTPCInnerParam(const T& track)
22122213
{
2213-
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTPCLowP);
2214+
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTPCLowP);
22142215
static const float nSigmaTPCHighP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTPCHighP);
2215-
constexpr float kTPCInnerLow = 0.05f;
2216+
constexpr float kTPCInnerLow = 0.05f;
22162217
constexpr float kTPCInnerHigh = 1.60f;
22172218

22182219
if (vetoIdOthersTPC<kPr>(track)) {
@@ -2229,10 +2230,10 @@ struct KaonIsospinFluctuations {
22292230
template <typename T>
22302231
bool selDeuteronTPCInnerParam(const T& track)
22312232
{
2232-
constexpr float kTPCInnerLow = 0.05f;
2233+
constexpr float kTPCInnerLow = 0.05f;
22332234
constexpr float kTPCInnerHigh = 1.80f;
2234-
constexpr float kNSigmaLowP = 3.0f;
2235-
constexpr float kNSigmaHighP = 2.0f;
2235+
constexpr float kNSigmaLowP = 3.0f;
2236+
constexpr float kNSigmaHighP = 2.0f;
22362237

22372238
if (vetoIdOthersTPC<kDe>(track)) {
22382239
if (kTPCInnerLow <= track.tpcInnerParam() && track.tpcInnerParam() < kTPCInnerHigh && std::abs(track.tpcNSigmaDe()) < kNSigmaLowP) {
@@ -2263,8 +2264,8 @@ struct KaonIsospinFluctuations {
22632264
{
22642265
// Constants to avoid magic numbers and repeated getCfg calls
22652266
static constexpr float ThresholdP = 0.75f;
2266-
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPi, kNSigmaTPCLowP);
2267-
static const float nSigmaTOFLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPi, kNSigmaTOFLowP);
2267+
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPi, kNSigmaTPCLowP);
2268+
static const float nSigmaTOFLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPi, kNSigmaTOFLowP);
22682269
static const float nSigmaTPCHighP = getCfg<float>(cfgIdCut.pidConfigSetting, kPi, kNSigmaTPCHighP);
22692270
static const float nSigmaTOFHighP = getCfg<float>(cfgIdCut.pidConfigSetting, kPi, kNSigmaTOFHighP);
22702271
if (vetoIdOthersTOF<kPi>(track)) {
@@ -2284,8 +2285,8 @@ struct KaonIsospinFluctuations {
22842285
{
22852286
static constexpr float ThresholdPLow = 0.75f; // π-K separation
22862287
static constexpr float ThresholdPUp = 1.30f; // K-p separation
2287-
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTPCLowP);
2288-
static const float nSigmaTOFLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTOFLowP);
2288+
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTPCLowP);
2289+
static const float nSigmaTOFLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTOFLowP);
22892290
static const float nSigmaTPCHighP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTPCHighP);
22902291
static const float nSigmaTOFHighP = getCfg<float>(cfgIdCut.pidConfigSetting, kKa, kNSigmaTOFHighP);
22912292

@@ -2311,10 +2312,9 @@ struct KaonIsospinFluctuations {
23112312
{
23122313
// Static config values (fetched once per template instantiation)
23132314
static constexpr float ThresholdPLow = 1.30f; // Kaon-proton separation
2314-
static constexpr float ThresholdPUp = 3.10f; // Proton-deuteron separation
2315-
2316-
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTPCLowP);
2317-
static const float nSigmaTOFLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTOFLowP);
2315+
static constexpr float ThresholdPUp = 3.10f; // Proton-deuteron separation
2316+
static const float nSigmaTPCLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTPCLowP);
2317+
static const float nSigmaTOFLowP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTOFLowP);
23182318
static const float nSigmaTPCHighP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTPCHighP);
23192319
static const float nSigmaTOFHighP = getCfg<float>(cfgIdCut.pidConfigSetting, kPr, kNSigmaTOFHighP);
23202320

0 commit comments

Comments
 (0)