/[PAMELA software]/yoda/event/EventCounter.h
ViewVC logotype

Diff of /yoda/event/EventCounter.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.0 by kusanagi, Tue Sep 21 20:49:57 2004 UTC revision 2.2 by kusanagi, Fri Dec 3 22:04:04 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/event/EventCounter.h,v $   * $Source: /home/cvsmanager/yoda/event/EventCounter.h,v $
3   * $Id: EventCounter.h,v 1.6 2004/09/21 20:23:37 kusanagi Exp $   * $Id: EventCounter.h,v 2.1 2004/09/24 11:57:32 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Header file for the EventCounter class.   * Header file for the EventCounter class.
# Line 9  Line 9 
9  #define EVENTCOUNTER_H  #define EVENTCOUNTER_H
10    
11  #include <map>  #include <map>
12    #include "Exception.h"
 #include <TObject.h> //Substituted by Maurizio 05 Feb 2004  
   
13  #include "PscuHeader.h"  #include "PscuHeader.h"
14    
15  namespace pamela {  namespace pamela {
# Line 58  namespace pamela { Line 56  namespace pamela {
56      int TrkInit;      int TrkInit;
57      int TofInit;      int TofInit;
58      int TrgInit;      int TrgInit;
59        int NdInit;
60      int CalAlarm;      int CalAlarm;
61      int AcAlarm;      int AcAlarm;
62      int TrkAlarm;      int TrkAlarm;
# Line 72  namespace pamela { Line 71  namespace pamela {
71      /** Get the run number for the last read event of this type. */      /** Get the run number for the last read event of this type. */
72      int getPscu() const { return Pscu; };      int getPscu() const { return Pscu; };
73      /** Get the run number for the last read event of this type. */      /** Get the run number for the last read event of this type. */
74      int Get(pamela::PacketType const *) const;      int Get(pamela::PacketType const *) const throw (NotExistingCounterException);
75      /** Get the run number for the next event of this type. */      /** Get the run number for the next event of this type. */
76      int Next(pamela::PacketType const *) const;      int Next(pamela::PacketType const *) const throw (NotExistingCounterException);
77      int GetRunNumber(void) const { return RunNumber; }      int GetRunNumber(void) const { return RunNumber; }
78      void Increment(pamela::PacketType const *);      void Increment(pamela::PacketType const *) throw (NotExistingCounterException);
79      void PrintCounters() const ;      void PrintCounters() const ;
80      ClassDef(EventCounter, 1)      ClassDef(EventCounter, 1)
81    };    };

Legend:
Removed from v.2.0  
changed lines
  Added in v.2.2

  ViewVC Help
Powered by ViewVC 1.1.23