| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /home/cvsmanager/yoda/techmodel/Calib2_Ac2Reader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/Calib2_Ac2Reader.cpp,v $ |
| 3 |
* $Id: Calib2_Ac2Reader.cpp,v 2.5 2005/01/29 00:26:55 kusanagi Exp $ |
* $Id: Calib2_Ac2Reader.cpp,v 2.6 2005/02/08 08:20:41 kusanagi Exp $ |
| 4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
| 5 |
* |
* |
| 6 |
* Implementation of the Calib2_Ac2Reader class. |
* Implementation of the Calib2_Ac2Reader class. |
| 36 |
* Get a string with the version info of the algorithm. |
* Get a string with the version info of the algorithm. |
| 37 |
*/ |
*/ |
| 38 |
std::string Calib2_Ac2Reader::GetVersionInfo(void) const { |
std::string Calib2_Ac2Reader::GetVersionInfo(void) const { |
| 39 |
return "$Header: /home/cvsmanager/yoda/techmodel/Calib2_Ac2Reader.cpp,v 2.5 2005/01/29 00:26:55 kusanagi Exp $\n"; |
return "$Header: /home/cvsmanager/yoda/techmodel/Calib2_Ac2Reader.cpp,v 2.6 2005/02/08 08:20:41 kusanagi Exp $\n"; |
| 40 |
} |
} |
| 41 |
|
|
| 42 |
/** |
/** |
| 53 |
* Unpack the CalibAc event from an input file. |
* Unpack the CalibAc event from an input file. |
| 54 |
*/ |
*/ |
| 55 |
void Calib2_Ac2Reader::RunEvent(int EventNumber, long int dataLength) throw (Exception){ |
void Calib2_Ac2Reader::RunEvent(int EventNumber, long int dataLength) throw (Exception){ |
| 56 |
|
/* |
| 57 |
char *subData = new char[dataLength]; |
char *subData = new char[dataLength]; |
| 58 |
struct calibstruct *output = {0}; |
struct calibstruct *output = {0}; |
| 59 |
|
|
| 79 |
calib2_Ac2->tail = output->tail; |
calib2_Ac2->tail = output->tail; |
| 80 |
calib2_Ac2->CRC = output->CRC; |
calib2_Ac2->CRC = output->CRC; |
| 81 |
calib2_Ac2->CRCcheck = output->CRCcheck; |
calib2_Ac2->CRCcheck = output->CRCcheck; |
| 82 |
|
*/ |
| 83 |
|
|
| 84 |
//delete [] subData; |
//delete [] subData; |
| 85 |
} |
} |