--- yoda/event/EventCounter.h 2004/12/16 17:32:46 2.4 +++ yoda/event/EventCounter.h 2006/05/30 19:10:01 6.2 @@ -1,6 +1,6 @@ /** @file * $Source: /home/cvsmanager/yoda/event/EventCounter.h,v $ - * $Id: EventCounter.h,v 2.3 2004/12/09 08:47:42 kusanagi Exp $ + * $Id: EventCounter.h,v 6.1 2006/02/15 15:47:14 kusanagi Exp $ * $Author: kusanagi $ * * Header file for the EventCounter class. @@ -10,7 +10,8 @@ #include #include "Exception.h" -#include "PscuHeader.h" +#include "PacketType.h" +#include namespace pamela { /** @@ -27,26 +28,23 @@ int CalibCalPulse2; int Physics; int CalibTrkBoth; - int Calib_Trk1; - int Calib_Trk2; - int Calib_Cal; - int Calib_Trd; - int Calib_Tof; - int Calib_S4; - int Calib_CalPed; + int CalibTrk1; + int CalibTrk2; + int CalibCal; + int CalibTof; + int CalibS4; + int CalibCalPed; int Calib1_Ac1; int Calib1_Ac2; int Calib2_Ac1; int Calib2_Ac2; - int Run_Header; - int Run_Trailer; + int RunHeader; + int RunTrailer; int CalibHeader; int CalibTrailer; int InitHeader; int InitTrailer; int EventTrk; - int TestTrk; - int TestTof; int Log; int VarDump; int ArrDump; @@ -63,11 +61,14 @@ int S4Init; int Ac2Init; int CalAlarm; - int AcAlarm; + int Ac1Alarm; int TrkAlarm; int TrgAlarm; int TofAlarm; int S4Alarm; + int Ac2Alarm; + int TsbT; + int TsbB; typedef std::map CounterMap; CounterMap CMap; //! @@ -83,7 +84,7 @@ int GetRunNumber(void) const { return RunNumber; } void Increment(pamela::PacketType const *) throw (NotExistingCounterException); void PrintCounters() const ; - ClassDef(EventCounter, 1) + ClassDef(EventCounter, 7) }; }