1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/physics/TofReader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/physics/TofReader.cpp,v $ |
3 |
* $Id: TofReader.cpp,v 3.0 2005/03/04 15:54:11 kusanagi Exp $ |
* $Id: TofReader.cpp,v 6.1 2006/05/30 19:10:02 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the CalorimeterReader class. |
* Implementation of the CalorimeterReader class. |
50 |
*/ |
*/ |
51 |
std::string TofReader::GetVersionInfo(void) const { |
std::string TofReader::GetVersionInfo(void) const { |
52 |
return |
return |
53 |
"$Header: /home/cvsmanager/yoda/techmodel/physics/TofReader.cpp,v 3.0 2005/03/04 15:54:11 kusanagi Exp $"; |
"$Header: /home/cvsmanager/yoda/techmodel/physics/TofReader.cpp,v 6.1 2006/05/30 19:10:02 kusanagi Exp $"; |
54 |
} |
} |
55 |
|
|
56 |
/** |
/** |
92 |
if (ERROR != 0) { |
if (ERROR != 0) { |
93 |
char *errmsg; |
char *errmsg; |
94 |
switch (ERROR){ |
switch (ERROR){ |
95 |
case 1: errmsg = "GENERIC TOF ERROR"; |
case 1: errmsg = "CRC TOF ERROR"; |
96 |
break; |
break; |
97 |
default: errmsg = "TOF ERRROR CODE UNIDENTIFIED"; |
default: errmsg = "TOF ERROR CODE UNIDENTIFIED"; |
98 |
} |
} |
99 |
oss.str(""); |
oss.str(""); |
100 |
oss << "Fortran77 function tofunpack: " << errmsg; |
oss << "Fortran77 function tofunpack: " << errmsg; |
101 |
logger->warn(oss.str().c_str()); |
logger->debug(oss.str().c_str()); |
102 |
} |
} |
103 |
// In case of "ERROR != 0" the calunpack will take care to set all |
// In case of "ERROR != 0" the calunpack will take care to set all |
104 |
// parameters to zero |
// parameters to zero |