@@ -146,6 +146,11 @@ struct nuclei_in_jets {
146146 registryData.add (" antihelium3_jet_tpc" , " antihelium3_jet_tpc" , HistType::kTH3F , {{40 , 1.0 , 7.0 , " #it{p}_{T} (GeV/#it{c})" }, {200 , -10.0 , 10.0 , " n#sigma_{TPC}" }, {10 , 0 , 100 , " #it{N}_{ch}" }});
147147 registryData.add (" antihelium3_ue_tpc" , " antihelium3_ue_tpc" , HistType::kTH3F , {{40 , 1.0 , 7.0 , " #it{p}_{T} (GeV/#it{c})" }, {200 , -10.0 , 10.0 , " n#sigma_{TPC}" }, {10 , 0 , 100 , " #it{N}_{ch}" }});
148148
149+ // Input Antiproton Distribution
150+ registryMC.add (" antiproton_input" , " antiproton_input" , HistType::kTH1F , {{1000 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
151+ registryMC.add (" antiproton_weighted_jet" , " antiproton_weighted_jet" , HistType::kTH1F , {{1000 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
152+ registryMC.add (" antiproton_weighted_ue" , " antiproton_weighted_ue" , HistType::kTH1F , {{1000 , 0.0 , 10.0 , " #it{p}_{T} (GeV/#it{c})" }});
153+
149154 // Generated
150155 registryMC.add (" antiproton_jet_gen" , " antiproton_jet_gen" , HistType::kTH1F , {{100 , 0.0 , 5.0 , " #it{p}_{T} (GeV/#it{c})" }});
151156 registryMC.add (" antideuteron_jet_gen" , " antideuteron_jet_gen" , HistType::kTH1F , {{50 , 0.0 , 5.0 , " #it{p}_{T} (GeV/#it{c})" }});
@@ -331,25 +336,19 @@ struct nuclei_in_jets {
331336 return 1 ;
332337 }
333338
334- float GetLevi (float mass, float temp, float n , float norm, float pt)
339+ float GetTsallis (float mass, float temp, float q , float norm, float pt)
335340 {
336341
337342 float p0 = norm;
338- float p1 = n ;
343+ float p1 = 1.0 / (q - 1.0 ) ;
339344 float p2 = temp;
340345 float p3 = mass;
341346
342- float dNdpt = (pt * p0 * (p1 - 1 ) * (p1 - 2 )) / (p1 * p2 * (p1 * p2 + p3 * (p1 - 2 ))) * TMath::Power ((1 + (TMath::Sqrt (p3 * p3 + pt * pt) - p3) / (p1 * p2)), -p1);
347+ float dNdpt = (pt * p0 * (p1 - 1.0 ) * (p1 - 2.0 )) / (p1 * p2 * (p1 * p2 + p3 * (p1 - 2.0 ))) * TMath::Power ((1.0 + (TMath::Sqrt (p3 * p3 + pt * pt) - p3) / (p1 * p2)), -p1);
343348
344349 return dNdpt;
345350 }
346351
347- float GetTsallis (float mass, float temp, float q, float norm, float pt)
348- {
349-
350- return GetLevi (mass, temp, 1 / (q - 1 ), norm, pt);
351- }
352-
353352 // Process Data
354353 void processData (SelectedCollisions::iterator const & collision, FullTracks const & tracks)
355354 {
@@ -717,6 +716,9 @@ struct nuclei_in_jets {
717716
718717 // Fill Histograms
719718 if (particle.pdgCode () == -2212 ) {
719+ registryMC.fill (HIST (" antiproton_input" ), particle.pt ());
720+ registryMC.fill (HIST (" antiproton_weighted_jet" ), particle.pt (), wpr_jet);
721+ registryMC.fill (HIST (" antiproton_weighted_ue" ), particle.pt (), wpr_ue);
720722 registryMC.fill (HIST (" antiproton_jet_gen" ), particle.pt (), wpr_jet);
721723 registryMC.fill (HIST (" antiproton_ue_gen" ), particle.pt (), wpr_ue);
722724 }
0 commit comments