/[PAMELA software]/chewbacca/event/EventHeader.h
ViewVC logotype

Annotation of /chewbacca/event/EventHeader.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Tue Sep 23 07:19:57 2008 UTC (16 years, 2 months ago) by mocchiut
Branch: v0r00
CVS Tags: v1r02, v1r00, v1r01, start, v10RED, v9r00, v9r01
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Imported sources, 23/09/2008

1 mocchiut 1.1 /** @file
2     * $Source: /repository/event/EventHeader.h,v $
3     * $Id: EventHeader.h,v 1.1 2008-01-11 17:14:19 messineo Exp $
4     * $Author: messineo $
5     *
6     * Header file for the EventHeader class.
7     */
8     #ifndef EVENT_HEADER_H
9     #define EVENT_HEADER_H
10     #include "EventCounter.h"
11     #include "PscuHeader.h"
12    
13     namespace pamela {
14     /**
15     * Common raw event header. It contains the PSCU header and the Counter.
16     */
17     class EventHeader: public pamela::SubPacket {
18     private:
19     /** Contains the counters of the current event number and the
20     * last event numbers of the other event read before the current
21     * event. */
22     pamela::EventCounter Counter;
23     /** Event Information read from the Pamela CPU board. */
24     pamela::PscuHeader Pscu;
25     public:
26     EventHeader(int = 0);
27     EventHeader(const pamela::PacketType *);
28     ~EventHeader();
29     /** Get the event counter. */
30     pamela::EventCounter *GetCounter() { return &Counter; }
31     /** Get the PSCU header (information from the Pamela CPU board). */
32     pamela::PscuHeader *GetPscuHeader() throw (Exception) { return &Pscu; }
33     ClassDef(EventHeader, 2)
34     };
35     }
36    
37     #endif /* EVENT_HEADER_H */

  ViewVC Help
Powered by ViewVC 1.1.23