1 |
/** @file |
/** @file |
2 |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/physics/TofReader.cpp,v $ |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/physics/TofReader.cpp,v $ |
3 |
* $Id: TofReader.cpp,v 6.2 2006/05/30 19:10:03 kusanagi Exp $ |
* $Id: TofReader.cpp,v 6.3 2006/09/12 08:56:30 mocchiut Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: mocchiut $ |
5 |
* |
* |
6 |
* Implementation of the CalorimeterReader class. |
* Implementation of the CalorimeterReader class. |
7 |
*/ |
*/ |
50 |
*/ |
*/ |
51 |
std::string TofReader::GetVersionInfo(void) const { |
std::string TofReader::GetVersionInfo(void) const { |
52 |
return |
return |
53 |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/physics/TofReader.cpp,v 6.2 2006/05/30 19:10:03 kusanagi Exp $"; |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/physics/TofReader.cpp,v 6.3 2006/09/12 08:56:30 mocchiut Exp $"; |
54 |
} |
} |
55 |
|
|
56 |
/** |
/** |
86 |
|
|
87 |
|
|
88 |
//Call to the routine that unpack tof events |
//Call to the routine that unpack tof events |
89 |
tofunpack_((unsigned char*)data, &length, &ERROR); |
if ( length < 500000 && length >= 0 ){ |
90 |
|
tofunpack_((unsigned char*)data, &length, &ERROR); |
91 |
|
} else { |
92 |
|
ERROR = 1; |
93 |
|
}; |
94 |
|
|
95 |
if (ERROR != 0) { |
if (ERROR != 0) { |
96 |
char *errmsg; |
char *errmsg; |