| 1 | /**     @file | /**     @file | 
| 2 | * $Source: /home/cvsmanager/yoda/event/EventCounter.h,v $ | * $Source: /home/cvsmanager/yoda/event/EventCounter.h,v $ | 
| 3 | * $Id: EventCounter.h,v 4.1 2005/05/28 08:30:01 kusanagi Exp $ | * $Id: EventCounter.h,v 5.1 2006/02/04 12:37:43 kusanagi Exp $ | 
| 4 | * $Author: kusanagi $ | * $Author: kusanagi $ | 
| 5 | * | * | 
| 6 | * Header file for the EventCounter class. | * Header file for the EventCounter class. | 
| 10 |  |  | 
| 11 | #include <map> | #include <map> | 
| 12 | #include "Exception.h" | #include "Exception.h" | 
| 13 | #include "PscuHeader.h" | #include "PacketType.h" | 
| 14 |  | #include <TObject.h> | 
| 15 |  |  | 
| 16 | namespace pamela { | namespace pamela { | 
| 17 | /** | /** | 
| 43 | int CalibTrailer; | int CalibTrailer; | 
| 44 | int InitHeader; | int InitHeader; | 
| 45 | int InitTrailer; | int InitTrailer; | 
|  | int EventTrk; |  | 
|  | int TestTrk; |  | 
|  | int TestTof; |  | 
| 46 | int Log; | int Log; | 
| 47 | int VarDump; | int VarDump; | 
| 48 | int ArrDump; | int ArrDump; | 
| 81 | int GetRunNumber(void) const { return RunNumber; } | int GetRunNumber(void) const { return RunNumber; } | 
| 82 | void Increment(pamela::PacketType const *) throw (NotExistingCounterException); | void Increment(pamela::PacketType const *) throw (NotExistingCounterException); | 
| 83 | void PrintCounters() const ; | void PrintCounters() const ; | 
| 84 | ClassDef(EventCounter, 4) | ClassDef(EventCounter, 5) | 
| 85 | }; | }; | 
| 86 | } | } | 
| 87 |  |  |