| 1 |
/** @file |
/** @file |
| 2 |
* $Author: messineo $ |
* $Author: mocchiut $ |
| 3 |
* $Date: 2008-06-13 11:58:58 $ |
* $Date: 2008/11/04 09:44:36 $ |
| 4 |
* $Revision: 1.22 $ |
* $Revision: 1.2 $ |
| 5 |
* |
* |
| 6 |
* Implementation of the functions of a sample Algorithm class. |
* Implementation of the functions of a sample Algorithm class. |
| 7 |
* This file can be used as a templace to develop your own algorithm. |
* This file can be used as a templace to develop your own algorithm. |
| 190 |
{ |
{ |
| 191 |
ret=-3; |
ret=-3; |
| 192 |
oss.str(""); |
oss.str(""); |
| 193 |
oss << " No way to read events of type " << type->GetName().c_str()<<". The Packet is skipped "; |
// oss << " No way to read events of type " << type->GetName().c_str()<<". The Packet is skipped "; |
| 194 |
|
oss << " No way to read events of type " << type->GetName()<<". The Packet is skipped "; |
| 195 |
oss << " Return "<<ret; |
oss << " Return "<<ret; |
| 196 |
msg=oss.str(); |
msg=oss.str(); |
| 197 |
PamOffLineSW::mainLogUtil->logWarning(msg); |
PamOffLineSW::mainLogUtil->logWarning(msg); |
| 212 |
unsigned int OrbitalTime = (((UINT32)buff[8]<<24)&0xFF000000) + (((UINT32)buff[9]<<16)&0x00FF0000) + (((UINT32)buff[10]<<8)&0x0000FF00) + (((UINT32)buff[11])&0x000000FF); |
unsigned int OrbitalTime = (((UINT32)buff[8]<<24)&0xFF000000) + (((UINT32)buff[9]<<16)&0x00FF0000) + (((UINT32)buff[10]<<8)&0x0000FF00) + (((UINT32)buff[11])&0x000000FF); |
| 213 |
unsigned int PacketLenght = (((UINT32)buff[12]<<16)&0x00FF0000) + (((UINT32)buff[13]<<8)&0x0000FF00) + (((UINT32)buff[14])&0x000000FF); |
unsigned int PacketLenght = (((UINT32)buff[12]<<16)&0x00FF0000) + (((UINT32)buff[13]<<8)&0x0000FF00) + (((UINT32)buff[14])&0x000000FF); |
| 214 |
unsigned char CRC = buff[15]; |
unsigned char CRC = buff[15]; |
| 215 |
unsigned char FileOffset = 0;// ?? |
// unsigned char FileOffset = 0;// ?? |
| 216 |
|
|
| 217 |
Header->GetPscuHeader()->SetPacketId(PacketId1, PacketId2); |
Header->GetPscuHeader()->SetPacketId(PacketId1, PacketId2); |
| 218 |
Header->GetPscuHeader()->SetCounter(Counter); |
Header->GetPscuHeader()->SetCounter(Counter); |
| 232 |
*/ |
*/ |
| 233 |
std::string EventReader::GetVersionInfo(void) const { |
std::string EventReader::GetVersionInfo(void) const { |
| 234 |
return |
return |
| 235 |
"$Header: /repository/PamOffLineSW/techmodel/EventReader.cpp,v 1.22 2008-06-13 11:58:58 messineo Exp $\n"; |
"$Header: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/techmodel/EventReader.cpp,v 1.2 2008/11/04 09:44:36 mocchiut Exp $\n"; |
| 236 |
} |
} |
| 237 |
|
|
| 238 |
|
|