| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/physics/AnticounterReader.cpp,v $ |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/physics/AnticounterReader.cpp,v $ |
| 3 |
* $Id: AnticounterReader.cpp,v 1.1.1.1 2008/09/23 07:20:22 mocchiut Exp $ |
* $Id: AnticounterReader.cpp,v 1.2 2008/09/26 19:51:43 mocchiut Exp $ |
| 4 |
* $Author: mocchiut $ |
* $Author: mocchiut $ |
| 5 |
* |
* |
| 6 |
* Implementation of the AnticounterReader class. |
* Implementation of the AnticounterReader class. |
| 31 |
*/ |
*/ |
| 32 |
std::string AnticounterReader::GetVersionInfo(void) const { |
std::string AnticounterReader::GetVersionInfo(void) const { |
| 33 |
return |
return |
| 34 |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/physics/AnticounterReader.cpp,v 1.1.1.1 2008/09/23 07:20:22 mocchiut Exp $"; |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/physics/AnticounterReader.cpp,v 1.2 2008/09/26 19:51:43 mocchiut Exp $"; |
| 35 |
} |
} |
| 36 |
|
|
| 37 |
/** |
/** |
| 58 |
|
|
| 59 |
char *data = new char[length]; |
char *data = new char[length]; |
| 60 |
memcpy(data, subData, length); |
memcpy(data, subData, length); |
| 61 |
struct physicsstruct output[2] = {0}; |
struct physicsstruct output[2];// = {{0},{0}}; |
| 62 |
|
|
| 63 |
//Call to the routine that unpack anitocounter events |
//Call to the routine that unpack anitocounter events |
| 64 |
//anticounter->ERROR = ACphysics(length, (unsigned char*) data, &(*output)); |
//anticounter->ERROR = ACphysics(length, (unsigned char*) data, &(*output)); |