| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /repository/PamOffLineSW/physics/TofReader.cpp,v $ |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/physics/TofReader.cpp,v $ |
| 3 |
* $Id: TofReader.cpp,v 1.3 2008-03-05 11:37:36 messineo Exp $ |
* $Id: TofReader.cpp,v 1.2 2008-09-25 09:03:14 mocchiut Exp $ |
| 4 |
* $Author: messineo $ |
* $Author: mocchiut $ |
| 5 |
* |
* |
| 6 |
* Implementation of the CalorimeterReader class. |
* Implementation of the CalorimeterReader class. |
| 7 |
*/ |
*/ |
| 47 |
*/ |
*/ |
| 48 |
std::string TofReader::GetVersionInfo(void) const { |
std::string TofReader::GetVersionInfo(void) const { |
| 49 |
return |
return |
| 50 |
"$Header: /repository/PamOffLineSW/physics/TofReader.cpp,v 1.3 2008-03-05 11:37:36 messineo Exp $"; |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/physics/TofReader.cpp,v 1.2 2008-09-25 09:03:14 mocchiut Exp $"; |
| 51 |
} |
} |
| 52 |
|
|
| 53 |
/** |
/** |
| 90 |
}; |
}; |
| 91 |
|
|
| 92 |
if (ERROR != 0) { |
if (ERROR != 0) { |
| 93 |
char *errmsg; |
const char *errmsg; |
| 94 |
switch (ERROR){ |
switch (ERROR){ |
| 95 |
case 1: errmsg = "CRC TOF ERROR"; |
case 1: errmsg = "CRC TOF ERROR"; |
| 96 |
break; |
break; |
| 97 |
default: errmsg = "TOF ERROR CODE UNIDENTIFIED"; |
default: errmsg = "TOF ERROR CODE UNIDENTIFIED"; |
| 98 |
} |
} |
| 99 |
oss.str(""); |
oss.str(""); |
| 100 |
oss << "Tof: Fortran77 function calunpack: " << errmsg; |
oss << "Tof: Fortran77 function tofunpack: " << errmsg; |
| 101 |
msg=oss.str(); |
msg=oss.str(); |
| 102 |
PamOffLineSW::mainLogUtil->logAll(msg); |
PamOffLineSW::mainLogUtil->logAll(msg); |
| 103 |
//ORIGINAL: logger->debug(oss.str().c_str()); |
//ORIGINAL: logger->debug(oss.str().c_str()); |