1 |
/** @file |
/** @file |
2 |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/physics/TriggerReader.cpp,v $ |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/physics/TriggerReader.cpp,v $ |
3 |
* $Id: TriggerReader.cpp,v 6.0 2006/02/07 17:11:11 kusanagi Exp $ |
* $Id: TriggerReader.cpp,v 6.1 2006/09/12 08:56:31 mocchiut Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: mocchiut $ |
5 |
* |
* |
6 |
* Implementation of the CalorimeterReader class. |
* Implementation of the CalorimeterReader class. |
7 |
*/ |
*/ |
52 |
*/ |
*/ |
53 |
std::string TriggerReader::GetVersionInfo(void) const { |
std::string TriggerReader::GetVersionInfo(void) const { |
54 |
return |
return |
55 |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/physics/TriggerReader.cpp,v 6.0 2006/02/07 17:11:11 kusanagi Exp $"; |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/physics/TriggerReader.cpp,v 6.1 2006/09/12 08:56:31 mocchiut Exp $"; |
56 |
} |
} |
57 |
|
|
58 |
/** |
/** |
88 |
|
|
89 |
|
|
90 |
//Call to the routine that unpack trigger events |
//Call to the routine that unpack trigger events |
91 |
triggerunpack_((unsigned char*)data, &length, &ERROR); |
if ( length < 500000 && length >= 0 ){ |
92 |
|
triggerunpack_((unsigned char*)data, &length, &ERROR); |
93 |
|
} else { |
94 |
|
ERROR = 1; |
95 |
|
}; |
96 |
|
|
97 |
|
|
98 |
if (ERROR != 0) { |
if (ERROR != 0) { |