/[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.2 by kusanagi, Fri Dec 3 22:04:04 2004 UTC revision 2.6 by kusanagi, Thu Mar 3 10:23:30 2005 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 2.1 2004/09/24 11:57:32 kusanagi Exp $   * $Id: EventCounter.h,v 2.5 2005/01/29 00:26:41 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Header file for the EventCounter class.   * Header file for the EventCounter class.
# Line 27  namespace pamela { Line 27  namespace pamela {
27      int CalibCalPulse2;      int CalibCalPulse2;
28      int Physics;      int Physics;
29      int CalibTrkBoth;      int CalibTrkBoth;
30      int Calib_Trk1;      int CalibTrk1;
31      int Calib_Trk2;      int CalibTrk2;
32      int Calib_Cal;      int CalibCal;
33      int Calib_Trd;      int CalibTrd;
34      int Calib_Tof;      int CalibTof;
35      int Calib_S4;      int CalibS4;
36      int Calib_CalPed;      int CalibCalPed;
37      int Calib_Ac;      int Calib1_Ac1;
38      int Run_Header;      int Calib1_Ac2;
39      int Run_Trailer;      int Calib2_Ac1;
40        int Calib2_Ac2;
41        int RunHeader;
42        int RunTrailer;
43      int CalibHeader;      int CalibHeader;
44      int CalibTrailer;      int CalibTrailer;
45      int InitHeader;      int InitHeader;
# Line 51  namespace pamela { Line 54  namespace pamela {
54      int Tmtc;      int Tmtc;
55      int Mcmd;      int Mcmd;
56      int ForcedFECmd;      int ForcedFECmd;
57      int AcInit;      int Ac1Init;
58      int CalInit;      int CalInit;
59      int TrkInit;      int TrkInit;
60      int TofInit;      int TofInit;
61      int TrgInit;      int TrgInit;
62      int NdInit;      int NdInit;
63        int S4Init;
64        int Ac2Init;
65      int CalAlarm;      int CalAlarm;
66      int AcAlarm;      int AcAlarm;
67      int TrkAlarm;      int TrkAlarm;
68      int TrgAlarm;      int TrgAlarm;
69      int TofAlarm;      int TofAlarm;
70        int S4Alarm;
71        int TsbT;
72        int TsbB;
73    
74      typedef std::map<const pamela::PacketType *, int *> CounterMap;      typedef std::map<const pamela::PacketType *, int *> CounterMap;
75      CounterMap CMap; //!      CounterMap CMap; //!
# Line 77  namespace pamela { Line 85  namespace pamela {
85      int GetRunNumber(void) const { return RunNumber; }      int GetRunNumber(void) const { return RunNumber; }
86      void Increment(pamela::PacketType const *) throw (NotExistingCounterException);      void Increment(pamela::PacketType const *) throw (NotExistingCounterException);
87      void PrintCounters() const ;      void PrintCounters() const ;
88      ClassDef(EventCounter, 1)      ClassDef(EventCounter, 3)
89    };    };
90  }  }
91    
92  #endif /* EVENTCOUNTER_H */  #endif /* EVENTCOUNTER_H */
93    
94    

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

  ViewVC Help
Powered by ViewVC 1.1.23