From 38a1d11643fe8e25f675aafba03b4c6e2c20f50c Mon Sep 17 00:00:00 2001
From: flavigny <flavigny@lpccaen.in2p3.fr>
Date: Tue, 21 Jul 2020 09:07:49 +0200
Subject: [PATCH] Fix histo axis range for phi angles

---
 Examples/Example5/CheckSimu.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Examples/Example5/CheckSimu.C b/Examples/Example5/CheckSimu.C
index 188924f87..9af417899 100644
--- a/Examples/Example5/CheckSimu.C
+++ b/Examples/Example5/CheckSimu.C
@@ -77,7 +77,7 @@ void CheckSimu(const char * fname = "Example5"){
 
   TH2F *hEmE1VsE2 = new TH2F("hEmE1VsE2", " E1 VS E2 (reaction frame)", 300, 0, 300,300,0,300);
   TH2F *hEmTheta1VsTheta2 = new TH2F("hEmTheta1VsTheta2", " Theta1 VS Theta2 (reaction frame)", 360, 0, 90,360,0,90);
-  TH2F *hEmPhi1VsPhi2 = new TH2F("hEmPhi1VsPhi2", " Phi1 VS Phi2 (reaction frame)", 360, 0, 360,360,0,360);
+  TH2F *hEmPhi1VsPhi2 = new TH2F("hEmPhi1VsPhi2", " Phi1 VS Phi2 (reaction frame)", 360, -180, 180,360,-180,180);
 
   // Read the TTree
   Int_t nentries = tree->GetEntries();
-- 
GitLab