]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSgeomMatrix.cxx
restore threshold getters after parameter dynamics update (fw v. >= A012)
[u/mrichter/AliRoot.git] / ITS / AliITSgeomMatrix.cxx
index 1f73ef96e1e527076f7d13598ab305c1422e3fd9..5134615058182f9f4d0c5eed43f0c9b59eb992e1 100644 (file)
@@ -925,7 +925,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;
        }