| 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 5.1 2006/02/04 12:37:43 kusanagi Exp $ |
| 4 |
* $Author: nagni $ |
* $Author: kusanagi $ |
| 5 |
* |
* |
| 6 |
* Header file for the EventHeader class. |
* Header file for the EventHeader class. |
| 7 |
*/ |
*/ |
| 8 |
#ifndef EVENT_HEADER_H |
#ifndef EVENT_HEADER_H |
| 9 |
#define EVENT_HEADER_H |
#define EVENT_HEADER_H |
|
|
|
|
#include <iostream> |
|
|
// #include <root/TROOT.h> |
|
|
// #include <root/TTree.h> |
|
|
#include <TROOT.h> //Substituted by Maurizio 05 Feb 2004 |
|
|
#include <TTree.h> //Substituted by Maurizio 05 Feb 2004 |
|
|
|
|
|
|
|
|
#include "SubPacket.h" |
|
|
#include "PscuHeader.h" |
|
| 10 |
#include "EventCounter.h" |
#include "EventCounter.h" |
| 11 |
|
#include "PscuHeader.h" |
| 12 |
|
|
| 13 |
namespace pamela { |
namespace pamela { |
| 14 |
/** |
/** |
| 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() { return &Pscu; } |
pamela::PscuHeader *GetPscuHeader() throw (Exception) { return &Pscu; } |
| 33 |
ClassDef(EventHeader, 1) |
ClassDef(EventHeader, 2) |
| 34 |
}; |
}; |
| 35 |
} |
} |
| 36 |
|
|