]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSgeomMatrix.cxx
Another histos for lumi
[u/mrichter/AliRoot.git] / ITS / AliITSgeomMatrix.cxx
index 1f73ef96e1e527076f7d13598ab305c1422e3fd9..f1264fefeb8bcffb3e2bc78888cf6493c09f872a 100644 (file)
@@ -45,6 +45,10 @@ $Id$
 #include "AliLog.h"
 #include "AliITSgeomMatrix.h"
 
+using std::endl;
+using std::cout;
+using std::ios;
+using std::setprecision;
 ClassImp(AliITSgeomMatrix)
 //----------------------------------------------------------------------
 AliITSgeomMatrix::AliITSgeomMatrix():
@@ -925,7 +929,7 @@ void AliITSgeomMatrix::Read(istream *is){
     while(is->peek()==' ')is->get(); // skip white spaces
     if(isprint(is->peek())){ // old format did not have path.
        *is >> j; // string length
-       if(j>kMxVal){
+       if(j>kMxVal || j<0){
          AliError(Form("j> %d",kMxVal));
          return;
        }