From 6f0076e985ded06dd8b9353772315c3aa78ac8af Mon Sep 17 00:00:00 2001 From: adrien-matta <a.matta@surrey.ac.uk> Date: Thu, 19 Dec 2013 23:35:01 +0100 Subject: [PATCH] * Working CATS --- NPLib/CATS/TCATSPhysics.cxx | 1 - NPLib/CATS/TCATSSpectra.cxx | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/NPLib/CATS/TCATSPhysics.cxx b/NPLib/CATS/TCATSPhysics.cxx index 08f30e86a..c42b0e231 100644 --- a/NPLib/CATS/TCATSPhysics.cxx +++ b/NPLib/CATS/TCATSPhysics.cxx @@ -485,7 +485,6 @@ void TCATSPhysics::AddCATS(TVector3 C_X1_Y1, TVector3 C_X28_Y1, TVector3 C_X1_Y2 // Moving StripCenter to 1.1 corner (strip center!) : Strip_1_1 = C_X1_Y1 + (U+V) * (StripPitch/2) ; - for( int i = 0 ; i < 28 ; i++ ) { lineX.clear() ; diff --git a/NPLib/CATS/TCATSSpectra.cxx b/NPLib/CATS/TCATSSpectra.cxx index 404cf4969..0aaad144e 100644 --- a/NPLib/CATS/TCATSSpectra.cxx +++ b/NPLib/CATS/TCATSSpectra.cxx @@ -143,11 +143,11 @@ void TCATSSpectra::InitPhysicsSpectra(){ family = "CATS/PHY/POS"; for (unsigned int i = 0; i < fNumberOfCats; ++i) { // loop on number of cats name = Form("CATS%d_POS", i+1); - AddHisto2D(name, name,100,-50,50,100,-50,50,family); + AddHisto2D(name, name,500,-50,50,500,-50,50,family); } name = "TARGET_POS"; - AddHisto2D(name, name,100,-50,50,100,-50,50,family); + AddHisto2D(name, name,500,-50,50,500,-50,50,family); name = "TRAJECTORY_XZ"; AddHisto2D(name, name,100,-50,50,100,-50,50,family); -- GitLab