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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Feb 8 00:49:28 2007 UTC (17 years, 9 months ago) by cafagna
Branch point for: MAIN, first
File MIME type: text/plain
Initial revision

1 cafagna 1.1 /** @file
2     * $Source: /afs/ba.infn.it/user/pamela/src/CVS/quicklook/OrbitalRate/inc/EventHeader.h,v $
3     * $Id: EventHeader.h,v 1.1 2006/12/05 19:49:14 pam-rm2 Exp $
4     * $Author: pam-rm2 $
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