Skip to content

Commit a935c16

Browse files
authored
[PWG-LF] add centrality MC into spectra (#6427)
1 parent a8d4568 commit a935c16

2 files changed

Lines changed: 185 additions & 367 deletions

File tree

PWGLF/DataModel/spectraTOF.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#ifndef PWGLF_DATAMODEL_SPECTRATOF_H_
2020
#define PWGLF_DATAMODEL_SPECTRATOF_H_
2121

22+
#include <memory>
23+
2224
// O2 includes
2325
#include "ReconstructionDataFormats/Track.h"
2426
#include "Framework/runDataProcessing.h"
@@ -48,12 +50,13 @@ static constexpr int NCharges = 2;
4850
static constexpr PID::ID NpCharge = Np * NCharges;
4951
static constexpr const char* pT[Np] = {"e", "#mu", "#pi", "K", "p", "d", "t", "{}^{3}He", "#alpha"};
5052
static constexpr const char* pN[Np] = {"el", "mu", "pi", "ka", "pr", "de", "tr", "he", "al"};
51-
static constexpr const char* cN[Np] = {"pos", "neg"};
53+
static constexpr const char* cN[NCharges] = {"pos", "neg"};
5254
static constexpr const char* pTCharge[NpCharge] = {"e^{-}", "#mu^{-}", "#pi^{+}", "K^{+}", "p", "d", "t", "{}^{3}He", "#alpha",
5355
"e^{+}", "#mu^{+}", "#pi^{-}", "K^{-}", "#bar{p}", "#bar{d}", "#bar{t}", "{}^{3}#bar{He}", "#bar{#alpha}"};
5456
static constexpr int PDGs[NpCharge] = {kElectron, kMuonMinus, kPiPlus, kKPlus, kProton, 1000010020, 1000010030, 1000020030, 1000020040,
5557
-kElectron, -kMuonMinus, -kPiPlus, -kKPlus, -kProton, -1000010020, -1000010030, -1000020030, -1000020040};
5658

59+
std::shared_ptr<TH2> hMultiplicityvsPercentile;
5760
static constexpr std::string_view hnsigmatpctof[NpCharge] = {"nsigmatpctof/pos/el", "nsigmatpctof/pos/mu", "nsigmatpctof/pos/pi",
5861
"nsigmatpctof/pos/ka", "nsigmatpctof/pos/pr", "nsigmatpctof/pos/de",
5962
"nsigmatpctof/pos/tr", "nsigmatpctof/pos/he", "nsigmatpctof/pos/al",

0 commit comments

Comments
 (0)