Skip to content

Commit d3f622f

Browse files
authored
fixing De mass in computing kstar and adding eta phi histo
1 parent a00927f commit d3f622f

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

PWGCF/Femto/TableProducer/PiDeuteronFemto.cxx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ struct PiDeuteronFemto {
236236
{"hDePitInvMass", "; M(De + p) (GeV/#it{c}^{2})", {HistType::kTH1F, {{300, 3.74f, 4.34f}}}},
237237
{"hDePt", "#it{p}_{T} distribution; #it{p}_{T} (GeV/#it{c})", {HistType::kTH1F, {{240, -6.0f, 6.0f}}}},
238238
{"hPiPt", "Pt distribution; #it{p}_{T} (GeV/#it{c})", {HistType::kTH1F, {{120, -3.0f, 3.0f}}}},
239+
{"hDeEta", "eta distribution; #eta(De)", {HistType::kTH1F, {{200, -1.0f, 1.0f}}}},
240+
{"hPiEta", "eta distribution; #eta(#pi)", {HistType::kTH1F, {{200, -1.0f, 1.0f}}}},
241+
{"hDePhi", "phi distribution; phi(De)", {HistType::kTH1F, {{600, -4.0f, 4.0f}}}},
242+
{"hPiPhi", "phi distribution; phi(#pi)", {HistType::kTH1F, {{600, -4.0f, 4.0f}}}},
239243
{"h2dEdxDecandidates", "dEdx distribution; #it{p} (GeV/#it{c}); dE/dx (a.u.)", {HistType::kTH2F, {{200, -5.0f, 5.0f}, {100, 0.0f, 2000.0f}}}},
240244
{"h2NsigmaDeTPC", "NsigmaDe TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(De)", {HistType::kTH2F, {{20, -5.0f, 5.0f}, {200, -5.0f, 5.0f}}}},
241245
{"h2NsigmaDeTPC_preselection", "NsigmaDe TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(De)", {HistType::kTH2F, {{100, -5.0f, 5.0f}, {400, -10.0f, 10.0f}}}},
@@ -691,6 +695,10 @@ struct PiDeuteronFemto {
691695
{
692696
mQaRegistry.fill(HIST("hDePt"), piDecand.recoPtDe());
693697
mQaRegistry.fill(HIST("hPiPt"), piDecand.recoPtPi());
698+
mQaRegistry.fill(HIST("hDeEta"), piDecand.recoEtaDe());
699+
mQaRegistry.fill(HIST("hPiEta"), piDecand.recoEtaPi());
700+
mQaRegistry.fill(HIST("hDePhi"), piDecand.recoPhiDe());
701+
mQaRegistry.fill(HIST("hPiPhi"), piDecand.recoPhiPi());
694702
mQaRegistry.fill(HIST("hDePitInvMass"), piDecand.invMass);
695703
mQaRegistry.fill(HIST("hdcaxyDe"), piDecand.dcaxyDe);
696704
mQaRegistry.fill(HIST("hdcazDe"), piDecand.dcazDe);
@@ -722,15 +730,15 @@ struct PiDeuteronFemto {
722730

723731
double computeKstar(const PiDecandidate& piDecand)
724732
{
725-
TLorentzVector he3, hadron;
726-
float massHe3 = 2.80839;
733+
TLorentzVector De, hadron;
734+
float massDe = 1.8756;
727735
float massHad = 0.1395704;
728-
he3.SetPtEtaPhiM(abs(piDecand.recoPtDe()), piDecand.recoEtaDe(), piDecand.recoPhiDe(), massHe3);
736+
De.SetPtEtaPhiM(abs(piDecand.recoPtDe()), piDecand.recoEtaDe(), piDecand.recoPhiDe(), massDe);
729737
hadron.SetPtEtaPhiM(abs(piDecand.recoPtPi()), piDecand.recoEtaPi(), piDecand.recoPhiPi(), massHad);
730738

731-
TLorentzVector p_total_lab = he3 + hadron;
739+
TLorentzVector p_total_lab = De + hadron;
732740
TVector3 v_cm = p_total_lab.BoostVector();
733-
TLorentzVector p1_cm = he3;
741+
TLorentzVector p1_cm = De;
734742
TLorentzVector p2_cm = hadron;
735743
p1_cm.Boost(-v_cm);
736744
p2_cm.Boost(-v_cm);

0 commit comments

Comments
 (0)