--- yoda/event/EventCounter.h 2004/09/24 11:57:32 2.1 +++ 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 2.0 2004/09/21 20:49:57 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 { @@ -73,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) };