--- yoda/event/EventCounter.h 2004/09/21 20:23:37 1.6 +++ yoda/event/EventCounter.h 2004/12/03 22:04:04 2.2 @@ -1,6 +1,6 @@ /** @file * $Source: /home/cvsmanager/yoda/event/EventCounter.h,v $ - * $Id: EventCounter.h,v 1.5 2004/07/29 16:18:54 kusanagi Exp $ + * $Id: EventCounter.h,v 2.1 2004/09/24 11:57:32 kusanagi Exp $ * $Author: kusanagi $ * * Header file for the EventCounter class. @@ -9,9 +9,7 @@ #define EVENTCOUNTER_H #include - -#include //Substituted by Maurizio 05 Feb 2004 - +#include "Exception.h" #include "PscuHeader.h" namespace pamela { @@ -58,6 +56,7 @@ int TrkInit; int TofInit; int TrgInit; + int NdInit; int CalAlarm; int AcAlarm; int TrkAlarm; @@ -72,11 +71,11 @@ /** 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; + int Get(pamela::PacketType const *) const throw (NotExistingCounterException); /** Get the run number for the next event of this type. */ - int Next(pamela::PacketType const *) const; + int Next(pamela::PacketType const *) const throw (NotExistingCounterException); int GetRunNumber(void) const { return RunNumber; } - void Increment(pamela::PacketType const *); + void Increment(pamela::PacketType const *) throw (NotExistingCounterException); void PrintCounters() const ; ClassDef(EventCounter, 1) };