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 2.3 2004/12/09 08:47:42 kusanagi Exp $ |
* $Id: EventCounter.h,v 4.0 2005/03/06 04:33:01 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Header file for the EventCounter class. |
* Header file for the EventCounter class. |
26 |
int CalibCalPulse1; |
int CalibCalPulse1; |
27 |
int CalibCalPulse2; |
int CalibCalPulse2; |
28 |
int Physics; |
int Physics; |
29 |
int CalibTrkBoth; |
int CalibTrk1; |
30 |
int Calib_Trk1; |
int CalibTrk2; |
31 |
int Calib_Trk2; |
int CalibCal; |
32 |
int Calib_Cal; |
int CalibTof; |
33 |
int Calib_Trd; |
int CalibS4; |
34 |
int Calib_Tof; |
int CalibCalPed; |
|
int Calib_S4; |
|
|
int Calib_CalPed; |
|
35 |
int Calib1_Ac1; |
int Calib1_Ac1; |
36 |
int Calib1_Ac2; |
int Calib1_Ac2; |
37 |
int Calib2_Ac1; |
int Calib2_Ac1; |
38 |
int Calib2_Ac2; |
int Calib2_Ac2; |
39 |
int Run_Header; |
int RunHeader; |
40 |
int Run_Trailer; |
int RunTrailer; |
41 |
int CalibHeader; |
int CalibHeader; |
42 |
int CalibTrailer; |
int CalibTrailer; |
43 |
int InitHeader; |
int InitHeader; |
66 |
int TrgAlarm; |
int TrgAlarm; |
67 |
int TofAlarm; |
int TofAlarm; |
68 |
int S4Alarm; |
int S4Alarm; |
69 |
|
int TsbT; |
70 |
|
int TsbB; |
71 |
|
|
72 |
typedef std::map<const pamela::PacketType *, int *> CounterMap; |
typedef std::map<const pamela::PacketType *, int *> CounterMap; |
73 |
CounterMap CMap; //! |
CounterMap CMap; //! |
83 |
int GetRunNumber(void) const { return RunNumber; } |
int GetRunNumber(void) const { return RunNumber; } |
84 |
void Increment(pamela::PacketType const *) throw (NotExistingCounterException); |
void Increment(pamela::PacketType const *) throw (NotExistingCounterException); |
85 |
void PrintCounters() const ; |
void PrintCounters() const ; |
86 |
ClassDef(EventCounter, 1) |
ClassDef(EventCounter, 3) |
87 |
}; |
}; |
88 |
} |
} |
89 |
|
|