1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvspamela/yoda/event/EventHeader.h,v $ |
* $Source: /home/cvsmanager/yoda/event/EventHeader.h,v $ |
3 |
* $Id: EventHeader.h,v 1.6 2004/03/16 10:18:28 nagni Exp $ |
* $Id: EventHeader.h,v 2.2 2005/03/03 10:22:23 kusanagi Exp $ |
4 |
* $Author: nagni $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Header file for the EventHeader class. |
* Header file for the EventHeader class. |
7 |
*/ |
*/ |
9 |
#define EVENT_HEADER_H |
#define EVENT_HEADER_H |
10 |
|
|
11 |
#include <iostream> |
#include <iostream> |
12 |
// #include <root/TROOT.h> |
#include <TROOT.h> |
13 |
// #include <root/TTree.h> |
#include <TTree.h> |
|
#include <TROOT.h> //Substituted by Maurizio 05 Feb 2004 |
|
|
#include <TTree.h> //Substituted by Maurizio 05 Feb 2004 |
|
14 |
|
|
15 |
|
|
16 |
#include "SubPacket.h" |
#include "SubPacket.h" |
17 |
#include "PscuHeader.h" |
#include "PscuHeader.h" |
18 |
#include "EventCounter.h" |
#include "EventCounter.h" |
19 |
|
|
20 |
|
|
21 |
namespace pamela { |
namespace pamela { |
22 |
/** |
/** |
23 |
* Common raw event header. It contains the PSCU header and the Counter. |
* Common raw event header. It contains the PSCU header and the Counter. |
37 |
/** Get the event counter. */ |
/** Get the event counter. */ |
38 |
pamela::EventCounter *GetCounter() { return &Counter; } |
pamela::EventCounter *GetCounter() { return &Counter; } |
39 |
/** Get the PSCU header (information from the Pamela CPU board). */ |
/** Get the PSCU header (information from the Pamela CPU board). */ |
40 |
pamela::PscuHeader *GetPscuHeader() { return &Pscu; } |
pamela::PscuHeader *GetPscuHeader() throw (Exception) { return &Pscu; } |
41 |
ClassDef(EventHeader, 1) |
ClassDef(EventHeader, 2) |
42 |
}; |
}; |
43 |
} |
} |
44 |
|
|