1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/PscuHeader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/event/PscuHeader.cpp,v $ |
3 |
* $Id: PscuHeader.cpp,v 2.3 2004/12/09 08:47:42 kusanagi Exp $ |
* $Id: PscuHeader.cpp,v 4.4 2005/05/28 10:44:09 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the PscuHeader class. |
* Implementation of the PscuHeader class. |
34 |
case 0x08: return PacketType::CalibCalPulse1; |
case 0x08: return PacketType::CalibCalPulse1; |
35 |
case 0x09: return PacketType::CalibCalPulse2; |
case 0x09: return PacketType::CalibCalPulse2; |
36 |
case 0x10: return PacketType::Physics; |
case 0x10: return PacketType::Physics; |
|
case 0x11: return PacketType::CalibTrkBoth; |
|
37 |
case 0x12: return PacketType::CalibTrk1; |
case 0x12: return PacketType::CalibTrk1; |
38 |
case 0x13: return PacketType::CalibTrk2; |
case 0x13: return PacketType::CalibTrk2; |
|
case 0x15: return PacketType::CalibTrd; |
|
39 |
case 0x16: return PacketType::CalibTof; |
case 0x16: return PacketType::CalibTof; |
40 |
case 0x17: return PacketType::CalibS4; |
case 0x17: return PacketType::CalibS4; |
41 |
case 0x18: return PacketType::CalibCalPed; |
case 0x18: return PacketType::CalibCalPed; |
73 |
case 0x84: return PacketType::TrgAlarm; |
case 0x84: return PacketType::TrgAlarm; |
74 |
case 0x85: return PacketType::TofAlarm; |
case 0x85: return PacketType::TofAlarm; |
75 |
case 0x86: return PacketType::S4Alarm; |
case 0x86: return PacketType::S4Alarm; |
76 |
|
case 0xA1: return PacketType::TsbT; |
77 |
|
case 0xAB: return PacketType::TsbB; |
78 |
|
|
79 |
default: { |
default: { |
80 |
throw UnidentifiedPacketException(PacketId1); |
throw UnidentifiedPacketException(PacketId1); |