1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/CalibTrk1Reader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/CalibTrk1Reader.cpp,v $ |
3 |
* $Id: CalibTrk1Reader.cpp,v 5.1 2006/02/04 12:37:44 kusanagi Exp $ |
* $Id: CalibTrk1Reader.cpp,v 6.0 2006/02/07 17:11:09 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the LogReader class. |
* Implementation of the LogReader class. |
8 |
* Control the CRC for the entire data Packet not just for single records |
* Control the CRC for the entire data Packet not just for single records |
9 |
*/ |
*/ |
10 |
|
|
|
#define UINT unsigned int |
|
|
#define BYTE unsigned char |
|
|
#include <string> |
|
|
#include <log4cxx/logger.h> |
|
|
#include <fstream> |
|
|
#include "stdio.h" |
|
11 |
#include "ReaderAlgorithms.h" |
#include "ReaderAlgorithms.h" |
|
#include "event/PamelaRun.h" |
|
|
|
|
|
#include "event/CalibTrk1Event.h" |
|
12 |
|
|
13 |
extern "C" { |
extern "C" { |
14 |
#include "CRC.h" |
#include "CRC.h" |
40 |
#include <dirent.h> |
#include <dirent.h> |
41 |
} |
} |
42 |
|
|
|
using namespace pamela; |
|
43 |
using namespace pamela::techmodel; |
using namespace pamela::techmodel; |
44 |
|
|
45 |
static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.CalibTrk1Reader")); |
static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.CalibTrk1Reader")); |
58 |
*/ |
*/ |
59 |
std::string CalibTrk1Reader::GetVersionInfo(void) const { |
std::string CalibTrk1Reader::GetVersionInfo(void) const { |
60 |
return |
return |
61 |
"$Header: /home/cvsmanager/yoda/techmodel/CalibTrk1Reader.cpp,v 5.1 2006/02/04 12:37:44 kusanagi Exp $\n"; |
"$Header: /home/cvsmanager/yoda/techmodel/CalibTrk1Reader.cpp,v 6.0 2006/02/07 17:11:09 kusanagi Exp $\n"; |
62 |
} |
} |
63 |
|
|
64 |
/** |
/** |