diff --git a/Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx b/Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx index 9ab180e1b2908..ba0988ab0882d 100644 --- a/Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx +++ b/Analysis/Tasks/PWGHF/HFTrackIndexSkimsCreator.cxx @@ -88,9 +88,12 @@ struct HFTrackIndexSkimsCreator { OutputObj hvtx_x_out{TH1F("hvtx_x", "2-track vtx", 1000, -2.0, 2.0)}; OutputObj hvtx_y_out{TH1F("hvtx_y", "2-track vtx", 1000, -2.0, 2.0)}; - OutputObj hvtx_z_out{TH1F("hvtx_z", "2-track vtx", 1000, -10.0, 10.0)}; + OutputObj hvtx_z_out{TH1F("hvtx_z", "2-track vtx", 1000, -20.0, 20.0)}; OutputObj hmass2{TH1F("hmass2", "; Inv Mass (GeV/c^{2})", 500, 0, 5.0)}; OutputObj hmass3{TH1F("hmass3", "; Inv Mass (GeV/c^{2})", 500, 1.6, 2.1)}; + OutputObj hvtx3_x_out{TH1F("hvtx3_x", "3-track vtx", 1000, -2.0, 2.0)}; + OutputObj hvtx3_y_out{TH1F("hvtx3_y", "3-track vtx", 1000, -2.0, 2.0)}; + OutputObj hvtx3_z_out{TH1F("hvtx3_z", "3-track vtx", 1000, -20.0, 20.0)}; Filter filterSelectTracks = aod::seltrack::issel == 1; using SelectedTracks = soa::Filtered>; @@ -218,6 +221,7 @@ struct HFTrackIndexSkimsCreator { df3.getTrack(0).getPxPyPzGlo(pvec0); df3.getTrack(1).getPxPyPzGlo(pvec1); df3.getTrack(2).getPxPyPzGlo(pvec2); + const auto& secondaryVertex3 = df3.getPCACandidate(); // calculate invariant mass arr3Mom = array{pvec0, pvec1, pvec2}; @@ -225,6 +229,9 @@ struct HFTrackIndexSkimsCreator { if (b_dovalplots) { hmass3->Fill(mass3PiKPi); + hvtx3_x_out->Fill(secondaryVertex3[0]); + hvtx3_y_out->Fill(secondaryVertex3[1]); + hvtx3_z_out->Fill(secondaryVertex3[2]); } // fill table row diff --git a/Analysis/Tasks/PWGHF/taskD0.cxx b/Analysis/Tasks/PWGHF/taskD0.cxx index 8372ffa1c9d10..ac64e41ef3e6d 100644 --- a/Analysis/Tasks/PWGHF/taskD0.cxx +++ b/Analysis/Tasks/PWGHF/taskD0.cxx @@ -39,10 +39,10 @@ struct TaskD0 { OutputObj hptcand{TH1F("hptcand", "pt candidate", 100, 0, 10.0)}; OutputObj hptprong0{TH1F("hptprong0", "pt prong0", 100, 0, 10.0)}; OutputObj hptprong1{TH1F("hptprong1", "pt prong1", 100, 0, 10.0)}; - OutputObj hdeclength{TH1F("declength", "decay length", 100, 0., 1.0)}; - OutputObj hdeclengthxy{TH1F("declengthxy", "decay length xy", 100, 0., 1.0)}; + OutputObj hdeclength{TH1F("declength", "decay length", 200, 0., 2.0)}; + OutputObj hdeclengthxy{TH1F("declengthxy", "decay length xy", 200, 0., 2.0)}; OutputObj hd0{TH1F("hd0", "dca xy to prim. vertex (cm)", 100, -1.0, 1.0)}; - OutputObj hd0d0{TH1F("hd0d0", "product of dca xy to prim. vertex (cm^{2})", 100, -1.0, 1.0)}; + OutputObj hd0d0{TH1F("hd0d0", "product of dca xy to prim. vertex (cm^{2})", 500, -1.0, 1.0)}; OutputObj hCTS{TH1F("hCTS", "cos #it{#theta}*", 120, -1.1, 1.1)}; OutputObj hCt{TH1F("hCt", "proper lifetime * #it{c} (cm)", 120, -20, 100)}; OutputObj hEta{TH1F("hEta", "#it{#eta}", 100, -2, 2)};