/[PAMELA software]/quicklook/OrbitalRate/inc/EventHeader.h
ViewVC logotype

Annotation of /quicklook/OrbitalRate/inc/EventHeader.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Dec 5 19:49:14 2006 UTC (18 years ago) by pam-rm2
Branch: MAIN
CVS Tags: v2r02, v2r01, v2r00, HEAD
File MIME type: text/plain
New version of OrbitalRate quicklook.  Initial import.
Nico

1 pam-rm2 1.1 /** @file
2     * $Source: /afs/ba.infn.it/user/pamela/src/CVS/yoda/event/EventHeader.h,v $
3     * $Id: EventHeader.h,v 6.0 2006/02/07 17:11:07 kusanagi Exp $
4     * $Author: kusanagi $
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