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 3.0 2005/03/04 15:54:11 kusanagi Exp $ |
* $Id: EventCounter.h,v 6.1 2006/02/15 15:47:14 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 |
/** |
/** |
31 |
int CalibTrk1; |
int CalibTrk1; |
32 |
int CalibTrk2; |
int CalibTrk2; |
33 |
int CalibCal; |
int CalibCal; |
|
int CalibTrd; |
|
34 |
int CalibTof; |
int CalibTof; |
35 |
int CalibS4; |
int CalibS4; |
36 |
int CalibCalPed; |
int CalibCalPed; |
45 |
int InitHeader; |
int InitHeader; |
46 |
int InitTrailer; |
int InitTrailer; |
47 |
int EventTrk; |
int EventTrk; |
|
int TestTrk; |
|
|
int TestTof; |
|
48 |
int Log; |
int Log; |
49 |
int VarDump; |
int VarDump; |
50 |
int ArrDump; |
int ArrDump; |
61 |
int S4Init; |
int S4Init; |
62 |
int Ac2Init; |
int Ac2Init; |
63 |
int CalAlarm; |
int CalAlarm; |
64 |
int AcAlarm; |
int Ac1Alarm; |
65 |
int TrkAlarm; |
int TrkAlarm; |
66 |
int TrgAlarm; |
int TrgAlarm; |
67 |
int TofAlarm; |
int TofAlarm; |
68 |
int S4Alarm; |
int S4Alarm; |
69 |
|
int Ac2Alarm; |
70 |
int TsbT; |
int TsbT; |
71 |
int TsbB; |
int TsbB; |
72 |
|
|
84 |
int GetRunNumber(void) const { return RunNumber; } |
int GetRunNumber(void) const { return RunNumber; } |
85 |
void Increment(pamela::PacketType const *) throw (NotExistingCounterException); |
void Increment(pamela::PacketType const *) throw (NotExistingCounterException); |
86 |
void PrintCounters() const ; |
void PrintCounters() const ; |
87 |
ClassDef(EventCounter, 3) |
ClassDef(EventCounter, 7) |
88 |
}; |
}; |
89 |
} |
} |
90 |
|
|