--- yoda/event/EventCounter.h 2004/07/29 16:18:54 1.5 +++ yoda/event/EventCounter.h 2004/09/21 20:23:37 1.6 @@ -1,6 +1,6 @@ /** @file * $Source: /home/cvsmanager/yoda/event/EventCounter.h,v $ - * $Id: EventCounter.h,v 1.4 2004/07/08 12:31:22 kusanagi Exp $ + * $Id: EventCounter.h,v 1.5 2004/07/29 16:18:54 kusanagi Exp $ * $Author: kusanagi $ * * Header file for the EventCounter class. @@ -9,7 +9,7 @@ #define EVENTCOUNTER_H #include -//#include + #include //Substituted by Maurizio 05 Feb 2004 #include "PscuHeader.h" @@ -45,6 +45,7 @@ int InitTrailer; int EventTrk; int TestTrk; + int TestTof; int Log; int VarDump; int ArrDump; @@ -57,12 +58,20 @@ int TrkInit; int TofInit; int TrgInit; + int CalAlarm; + int AcAlarm; + int TrkAlarm; + int TrgAlarm; + int TofAlarm; typedef std::map CounterMap; CounterMap CMap; //! + public: EventCounter(int = 0); /** Get the run number for the last read event of this type. */ + int getPscu() const { return Pscu; }; + /** Get the run number for the last read event of this type. */ int Get(pamela::PacketType const *) const; /** Get the run number for the next event of this type. */ int Next(pamela::PacketType const *) const;