1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvspamela/yoda/event/EventCounter.h,v $ |
* $Source: /home/cvsmanager/yoda/event/EventCounter.h,v $ |
3 |
* $Id: EventCounter.h,v 1.7 2004/04/22 15:51:03 nagni Exp $ |
* $Id: EventCounter.h,v 1.4 2004/07/08 12:31:22 kusanagi Exp $ |
4 |
* $Author: nagni $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Header file for the EventCounter class. |
* Header file for the EventCounter class. |
7 |
*/ |
*/ |
22 |
class EventCounter : public TObject { |
class EventCounter : public TObject { |
23 |
private: |
private: |
24 |
int RunNumber; /**< Run number */ |
int RunNumber; /**< Run number */ |
25 |
|
|
|
// New Packets. |
|
26 |
int Pscu; |
int Pscu; |
27 |
|
int PhysEndRun; |
28 |
|
int CalibCalPulse1; |
29 |
|
int CalibCalPulse2; |
30 |
int Physics; |
int Physics; |
31 |
int Forced_Pkt; |
int CalibTrkBoth; |
32 |
int Calib_Trk; |
int Calib_Trk1; |
33 |
int Calib_Trg; |
int Calib_Trk2; |
34 |
int Calib_Cal; |
int Calib_Cal; |
35 |
int Calib_Trd; |
int Calib_Trd; |
36 |
int Calib_Tof; |
int Calib_Tof; |
37 |
int Calib_S4; |
int Calib_S4; |
38 |
|
int Calib_CalPed; |
39 |
|
int Calib_Ac; |
40 |
int Run_Header; |
int Run_Header; |
41 |
int Run_Trailer; |
int Run_Trailer; |
42 |
int Alarm; |
int CalibHeader; |
43 |
int Khb; |
int CalibTrailer; |
44 |
|
int InitHeader; |
45 |
|
int InitTrailer; |
46 |
|
int EventTrk; |
47 |
|
int TestTrk; |
48 |
int Log; |
int Log; |
49 |
int VarDump; |
int VarDump; |
50 |
int ArrDump; |
int ArrDump; |
51 |
int TabDump; |
int TabDump; |
52 |
int Tmtc; |
int Tmtc; |
53 |
int Mcmd; |
int Mcmd; |
54 |
int HA_Header_E5; |
int ForcedFECmd; |
55 |
|
int AcInit; |
56 |
|
int CalInit; |
57 |
|
int TrkInit; |
58 |
|
int TofInit; |
59 |
|
int TrgInit; |
60 |
|
|
61 |
typedef std::map<const pamela::PacketType *, int *> CounterMap; |
typedef std::map<const pamela::PacketType *, int *> CounterMap; |
62 |
CounterMap CMap; //! |
CounterMap CMap; //! |