--- yoda/techmodel/physics/CalorimeterReader.cpp 2005/03/04 15:54:11 3.0 +++ yoda/techmodel/physics/CalorimeterReader.cpp 2005/03/06 04:29:24 3.1 @@ -1,6 +1,6 @@ /** @file * $Source: /home/cvsmanager/yoda/techmodel/physics/CalorimeterReader.cpp,v $ - * $Id: CalorimeterReader.cpp,v 2.7 2005/01/13 14:50:01 kusanagi Exp $ + * $Id: CalorimeterReader.cpp,v 3.0 2005/03/04 15:54:11 kusanagi Exp $ * $Author: kusanagi $ * * Implementation of the CalorimeterReader class. @@ -52,7 +52,7 @@ */ std::string CalorimeterReader::GetVersionInfo(void) const { return - "$Header: /home/cvsmanager/yoda/techmodel/physics/CalorimeterReader.cpp,v 2.7 2005/01/13 14:50:01 kusanagi Exp $"; + "$Header: /home/cvsmanager/yoda/techmodel/physics/CalorimeterReader.cpp,v 3.0 2005/03/04 15:54:11 kusanagi Exp $"; } /** @@ -94,6 +94,8 @@ char *errmsg; switch (ERROR){ case 1: errmsg = "CALORIMETER NOT FOUND"; + break; + default: errmsg = "CALORIMETER ERRROR CODE UNIDENTIFIED"; } oss.str(""); oss << "Fortran77 function calunpack: " << errmsg; @@ -138,5 +140,5 @@ memcpy(calorimeter->calDSPtaberr, evento_.calDSPtaberr, sizeof(calorimeter->calDSPtaberr)); memcpy(calorimeter->calevnum, evento_.calevnum, sizeof(calorimeter->calevnum)); //} - delete[] data; + delete [] data; }