|
#include <log4cxx/logger.h> |
|
|
#include <fstream> |
|
1 |
|
|
2 |
extern "C" { |
extern "C" { |
3 |
|
|
19 |
} |
} |
20 |
|
|
21 |
#include "ReaderAlgorithms.h" |
#include "ReaderAlgorithms.h" |
|
#include "event/CalibCalPedEvent.h" |
|
|
|
|
|
using namespace pamela; |
|
22 |
using namespace pamela::techmodel; |
using namespace pamela::techmodel; |
23 |
|
|
24 |
static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.CalibCalPedReader")); |
static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.CalibCalPedReader")); |
37 |
*/ |
*/ |
38 |
std::string CalibCalPedReader::GetVersionInfo(void) const { |
std::string CalibCalPedReader::GetVersionInfo(void) const { |
39 |
return |
return |
40 |
"$Header: /home/cvsmanager/yoda/techmodel/CalibCalPedReader.cpp,v 5.0 2005/08/29 09:46:13 kusanagi Exp $\n"; |
"$Header: /home/cvsmanager/yoda/techmodel/CalibCalPedReader.cpp,v 6.0 2006/02/07 17:11:09 kusanagi Exp $\n"; |
41 |
} |
} |
42 |
|
|
43 |
/** |
/** |
71 |
oss << "Fortran77 function calpedestal error code = " << ERROR |
oss << "Fortran77 function calpedestal error code = " << ERROR |
72 |
<< " " << errmsg; |
<< " " << errmsg; |
73 |
logger->warn(oss.str().c_str()); |
logger->warn(oss.str().c_str()); |
74 |
} //else { |
} //else { |
75 |
//Store the unpacked data |
//Store the unpacked data |
76 |
calibCalPed->iev = calib_.iev; |
calibCalPed->iev = calib_.iev; |
77 |
memcpy(calibCalPed->cstwerr, calib_.cstwerr, sizeof(calibCalPed->cstwerr)); |
memcpy(calibCalPed->cstwerr, calib_.cstwerr, sizeof(calibCalPed->cstwerr)); |
114 |
} |
} |
115 |
} |
} |
116 |
//----------------------------------------------------------------------------------------- |
//----------------------------------------------------------------------------------------- |
117 |
} |
//} |
118 |
} |
} |
119 |
|
|
120 |
|
|