From: alibrary Date: Tue, 12 Dec 2000 18:19:06 +0000 (+0000) Subject: Introduce consistency check when loading points X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=27d40e0854f421520ff2317a26a0d57cb47f85ea;p=u%2Fmrichter%2FAliRoot.git Introduce consistency check when loading points --- diff --git a/STEER/AliDetector.cxx b/STEER/AliDetector.cxx index 3b64bd66948..ae61b101e4e 100644 --- a/STEER/AliDetector.cxx +++ b/STEER/AliDetector.cxx @@ -15,6 +15,9 @@ /* $Log$ +Revision 1.8 2000/11/30 07:12:48 alibrary +Introducing new Rndm and QA classes + Revision 1.7 2000/10/02 21:28:14 fca Removal of useless dependecies via forward declarations @@ -44,6 +47,8 @@ Introduction of the Copyright and cvs Log // // /////////////////////////////////////////////////////////////////////////////// +#include + #include #include "TBrowser.h" @@ -212,6 +217,7 @@ void AliDetector::LoadPoints(Int_t) for (Int_t hit=0;hitUncheckedAt(hit); trk=ahit->GetTrack(); + assert(trk<=tracks); if(ntrk[trk]==limi[trk]) { // // Initialise a new track