/[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 4.1 by kusanagi, Sat May 28 08:30:01 2005 UTC revision 6.3 by mocchiut, Fri Sep 29 10:19:12 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/event/PscuHeader.cpp,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/event/PscuHeader.cpp,v $
3   * $Id: PscuHeader.cpp,v 4.0 2005/03/06 04:33:01 kusanagi Exp $   * $Id: PscuHeader.cpp,v 6.2 2006/05/30 19:10:02 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the PscuHeader class.   * Implementation of the PscuHeader class.
# Line 23  PscuHeader::PscuHeader(): Line 23  PscuHeader::PscuHeader():
23    Counter(0),    Counter(0),
24    PacketLenght(0) { }    PacketLenght(0) { }
25    
26  PscuHeader::~PscuHeader() { }  //PscuHeader::~PscuHeader() { }
27    
28  /**  /**
29   * Get the packet type of this header.   * Get the packet type of this header.
# 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;
37        case 0x11: return PacketType::CalibTrkBoth;
38      case 0x12: return PacketType::CalibTrk1;      case 0x12: return PacketType::CalibTrk1;
39      case 0x13: return PacketType::CalibTrk2;      case 0x13: return PacketType::CalibTrk2;
40      case 0x16: return PacketType::CalibTof;      case 0x16: return PacketType::CalibTof;
# Line 43  const PacketType* PscuHeader::GetPacketT Line 44  const PacketType* PscuHeader::GetPacketT
44      case 0x1A: return PacketType::Calib2_Ac1;      case 0x1A: return PacketType::Calib2_Ac1;
45      case 0x1B: return PacketType::Calib1_Ac2;      case 0x1B: return PacketType::Calib1_Ac2;
46      case 0x1C: return PacketType::Calib2_Ac2;      case 0x1C: return PacketType::Calib2_Ac2;
47        case 0x1D: return PacketType::CalibCal;
48      case 0x20: return PacketType::RunHeader;      case 0x20: return PacketType::RunHeader;
49      case 0x21: return PacketType::RunTrailer;      case 0x21: return PacketType::RunTrailer;
50      case 0x22: return PacketType::CalibHeader;      case 0x22: return PacketType::CalibHeader;
# Line 50  const PacketType* PscuHeader::GetPacketT Line 52  const PacketType* PscuHeader::GetPacketT
52      case 0x24: return PacketType::InitHeader;      case 0x24: return PacketType::InitHeader;
53      case 0x25: return PacketType::InitTrailer;      case 0x25: return PacketType::InitTrailer;
54      case 0x30: return PacketType::EventTrk;      case 0x30: return PacketType::EventTrk;
     case 0x40: return PacketType::TestTrk;  
     case 0x41: return PacketType::TestTof;  
55      case 0x50: return PacketType::Log;      case 0x50: return PacketType::Log;
56      case 0x51: return PacketType::VarDump;      case 0x51: return PacketType::VarDump;
57      case 0x52: return PacketType::ArrDump;      case 0x52: return PacketType::ArrDump;
# Line 68  const PacketType* PscuHeader::GetPacketT Line 68  const PacketType* PscuHeader::GetPacketT
68      case 0x76: return PacketType::S4Init;      case 0x76: return PacketType::S4Init;
69      case 0x77: return PacketType::Ac2Init;      case 0x77: return PacketType::Ac2Init;
70      case 0x81: return PacketType::CalAlarm;      case 0x81: return PacketType::CalAlarm;
71      case 0x82: return PacketType::AcAlarm;      case 0x82: return PacketType::Ac1Alarm;
72      case 0x83: return PacketType::TrkAlarm;      case 0x83: return PacketType::TrkAlarm;
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 0x89: return PacketType::Ac2Alarm;
77      case 0xA1: return PacketType::TsbT;      case 0xA1: return PacketType::TsbT;
78      case 0xAB: return PacketType::TsbB;      case 0xAB: return PacketType::TsbB;
79        

Legend:
Removed from v.4.1  
changed lines
  Added in v.6.3

  ViewVC Help
Powered by ViewVC 1.1.23