/[PAMELA software]/yoda/event/PscuHeader.cpp
ViewVC logotype

Diff of /yoda/event/PscuHeader.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.3 by kusanagi, Thu Dec 9 08:47:42 2004 UTC revision 6.0 by kusanagi, Tue Feb 7 17:11:07 2006 UTC
# Line 1  Line 1 
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.2 2004/12/03 22:04:04 kusanagi Exp $   * $Id: PscuHeader.cpp,v 5.1 2006/02/04 12:37:43 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the PscuHeader class.   * Implementation of the PscuHeader class.
# Line 34  const PacketType* PscuHeader::GetPacketT Line 34  const PacketType* PscuHeader::GetPacketT
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;
42      case 0x19: return PacketType::CalibAc;      case 0x19: return PacketType::Calib1_Ac1;
43        case 0x1A: return PacketType::Calib2_Ac1;
44        case 0x1B: return PacketType::Calib1_Ac2;
45        case 0x1C: return PacketType::Calib2_Ac2;
46      case 0x20: return PacketType::RunHeader;      case 0x20: return PacketType::RunHeader;
47      case 0x21: return PacketType::RunTrailer;      case 0x21: return PacketType::RunTrailer;
48      case 0x22: return PacketType::CalibHeader;      case 0x22: return PacketType::CalibHeader;
49      case 0x23: return PacketType::CalibTrailer;      case 0x23: return PacketType::CalibTrailer;
50      case 0x24: return PacketType::InitHeader;      case 0x24: return PacketType::InitHeader;
51      case 0x25: return PacketType::InitTrailer;      case 0x25: return PacketType::InitTrailer;
     case 0x30: return PacketType::EventTrk;  
     case 0x40: return PacketType::TestTrk;  
     case 0x41: return PacketType::TestTof;  
52      case 0x50: return PacketType::Log;      case 0x50: return PacketType::Log;
53      case 0x51: return PacketType::VarDump;      case 0x51: return PacketType::VarDump;
54      case 0x52: return PacketType::ArrDump;      case 0x52: return PacketType::ArrDump;
# Line 58  const PacketType* PscuHeader::GetPacketT Line 56  const PacketType* PscuHeader::GetPacketT
56      case 0x54: return PacketType::Tmtc;      case 0x54: return PacketType::Tmtc;
57      case 0x55: return PacketType::Mcmd;      case 0x55: return PacketType::Mcmd;
58      case 0x60: return PacketType::ForcedFECmd;      case 0x60: return PacketType::ForcedFECmd;
59      case 0x70: return PacketType::AcInit;      case 0x70: return PacketType::Ac1Init;
60      case 0x71: return PacketType::CalInit;      case 0x71: return PacketType::CalInit;
61      case 0x72: return PacketType::TrkInit;      case 0x72: return PacketType::TrkInit;
62      case 0x73: return PacketType::TofInit;      case 0x73: return PacketType::TofInit;
63      case 0x74: return PacketType::TrgInit;      case 0x74: return PacketType::TrgInit;
64      case 0x75: return PacketType::NdInit;      case 0x75: return PacketType::NdInit;
65      case 0x76: return PacketType::S4Init;      case 0x76: return PacketType::S4Init;
66        case 0x77: return PacketType::Ac2Init;
67      case 0x81: return PacketType::CalAlarm;      case 0x81: return PacketType::CalAlarm;
68      case 0x82: return PacketType::AcAlarm;      case 0x82: return PacketType::AcAlarm;
69      case 0x83: return PacketType::TrkAlarm;      case 0x83: return PacketType::TrkAlarm;
70      case 0x84: return PacketType::TrgAlarm;      case 0x84: return PacketType::TrgAlarm;
71      case 0x85: return PacketType::TofAlarm;      case 0x85: return PacketType::TofAlarm;
72      case 0x86: return PacketType::S4Alarm;      case 0x86: return PacketType::S4Alarm;
73        case 0xA1: return PacketType::TsbT;
74        case 0xAB: return PacketType::TsbB;
75        
76    default: {    default: {
77      throw UnidentifiedPacketException(PacketId1);      throw UnidentifiedPacketException(PacketId1);

Legend:
Removed from v.2.3  
changed lines
  Added in v.6.0

  ViewVC Help
Powered by ViewVC 1.1.23