1 |
/** @file |
/** @file |
2 |
* $Source: /repository/event/EventHeader.h,v $ |
* $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/EventHeader.h,v $ |
3 |
* $Id: EventHeader.h,v 1.1 2008-01-11 17:14:19 messineo Exp $ |
* $Id: EventHeader.h,v 1.1.1.1 2008/09/23 07:19:57 mocchiut Exp $ |
4 |
* $Author: messineo $ |
* $Author: mocchiut $ |
5 |
* |
* |
6 |
* Header file for the EventHeader class. |
* Header file for the EventHeader class. |
7 |
*/ |
*/ |
25 |
public: |
public: |
26 |
EventHeader(int = 0); |
EventHeader(int = 0); |
27 |
EventHeader(const pamela::PacketType *); |
EventHeader(const pamela::PacketType *); |
28 |
~EventHeader(); |
~EventHeader(){Counter.Clear();}; |
29 |
/** Get the event counter. */ |
/** Get the event counter. */ |
30 |
pamela::EventCounter *GetCounter() { return &Counter; } |
pamela::EventCounter *GetCounter() { return &Counter; } |
31 |
/** Get the PSCU header (information from the Pamela CPU board). */ |
/** Get the PSCU header (information from the Pamela CPU board). */ |
32 |
pamela::PscuHeader *GetPscuHeader() throw (Exception) { return &Pscu; } |
pamela::PscuHeader *GetPscuHeader() throw (Exception) { return &Pscu; } |
33 |
ClassDef(EventHeader, 2) |
ClassDef(EventHeader, 3) |
34 |
}; |
}; |
35 |
} |
} |
36 |
|
|