Low-energy pp scattering


{
  gROOT->Reset();

  makeDistributionManager()->Enable("low_energy_pp_elastic");
  
  TCanvas *test_elastic_phi = new
    TCanvas ("test_elastic_phi","lowE pp elastic",100,10,600,400);
  
  TCanvas *test_elastic_theta = new
    TCanvas ("test_elastic_theta","lowE pp elastic",200,5,700,800);
  test_elastic_theta->Divide(2,2);
  
  PReaction ela_pp("0.05","p","p","p p");
  ela_pp->Print();
  TH1F * phi50 = new TH1F ("phi50","50 MeV Azimuthal angle",360,-180,180);
  TH1F * thetac50 = new TH1F ("thetac50","50 MeV CM Polar angle",180,0,180);
  ela_pp.Do(phi50,"p1 = [p,1]; p1->Boost([p + p]); _x = p1->Phi()* 180./TMath::Pi()");
  ela_pp.Do(thetac50,"p1 = [p,1]; p1->Boost([p + p]); _x = p1->Theta()* 180./TMath::Pi()");
  ela_pp.Loop(100000);
  
  test_elastic_phi->cd();
  phi50->SetMinimum(0);
  phi50->Draw("");
  test_elastic_theta->cd(1);
  thetac50->Draw("");

  PReaction ela_pp("0.030","p","p","p p");
  ela_pp->Print();
  TH1F * thetac30 = new TH1F ("thetac30","30 MeV CM Polar angle",180,0,180);
  ela_pp.Do(thetac30,"p1 = [p,1]; p1->Boost([p + p]); _x = p1->Theta()* 180./TMath::Pi()");
  ela_pp.Loop(100000);
  test_elastic_theta->cd(2);
  thetac30->Draw("");

  PReaction ela_pp("0.015","p","p","p p");
  ela_pp->Print();
  TH1F * thetac5 = new TH1F ("thetac15","15 MeV CM Polar angle",180,0,180);
  ela_pp.Do(thetac5,"p1 = [p,1]; p1->Boost([p + p]); _x = p1->Theta()* 180./TMath::Pi()");
  ela_pp.Loop(100000);
  test_elastic_theta->cd(3);
  thetac15->Draw("");

  PReaction ela_pp("0.005","p","p","p p");
  ela_pp->Print();
  TH1F * thetac5 = new TH1F ("thetac5","5 MeV CM Polar angle",180,0,180);
  ela_pp.Do(thetac5,"p1 = [p,1]; p1->Boost([p + p]); _x = p1->Theta()* 180./TMath::Pi()");
  ela_pp.Loop(100000);
  test_elastic_theta->cd(4);
  thetac5->Draw("");


}
 plugin_pp_ela_4e.C:1
 plugin_pp_ela_4e.C:2
 plugin_pp_ela_4e.C:3
 plugin_pp_ela_4e.C:4
 plugin_pp_ela_4e.C:5
 plugin_pp_ela_4e.C:6
 plugin_pp_ela_4e.C:7
 plugin_pp_ela_4e.C:8
 plugin_pp_ela_4e.C:9
 plugin_pp_ela_4e.C:10
 plugin_pp_ela_4e.C:11
 plugin_pp_ela_4e.C:12
 plugin_pp_ela_4e.C:13
 plugin_pp_ela_4e.C:14
 plugin_pp_ela_4e.C:15
 plugin_pp_ela_4e.C:16
 plugin_pp_ela_4e.C:17
 plugin_pp_ela_4e.C:18
 plugin_pp_ela_4e.C:19
 plugin_pp_ela_4e.C:20
 plugin_pp_ela_4e.C:21
 plugin_pp_ela_4e.C:22
 plugin_pp_ela_4e.C:23
 plugin_pp_ela_4e.C:24
 plugin_pp_ela_4e.C:25
 plugin_pp_ela_4e.C:26
 plugin_pp_ela_4e.C:27
 plugin_pp_ela_4e.C:28
 plugin_pp_ela_4e.C:29
 plugin_pp_ela_4e.C:30
 plugin_pp_ela_4e.C:31
 plugin_pp_ela_4e.C:32
 plugin_pp_ela_4e.C:33
 plugin_pp_ela_4e.C:34
 plugin_pp_ela_4e.C:35
 plugin_pp_ela_4e.C:36
 plugin_pp_ela_4e.C:37
 plugin_pp_ela_4e.C:38
 plugin_pp_ela_4e.C:39
 plugin_pp_ela_4e.C:40
 plugin_pp_ela_4e.C:41
 plugin_pp_ela_4e.C:42
 plugin_pp_ela_4e.C:43
 plugin_pp_ela_4e.C:44
 plugin_pp_ela_4e.C:45
 plugin_pp_ela_4e.C:46
 plugin_pp_ela_4e.C:47
 plugin_pp_ela_4e.C:48
 plugin_pp_ela_4e.C:49
 plugin_pp_ela_4e.C:50
 plugin_pp_ela_4e.C:51
 plugin_pp_ela_4e.C:52
 plugin_pp_ela_4e.C:53
 plugin_pp_ela_4e.C:54