/[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.4 by kusanagi, Thu Dec 16 17:32:46 2004 UTC revision 6.3 by kusanagi, Tue May 30 19:10:02 2006 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.3 2004/12/09 08:47:42 kusanagi Exp $   * $Id: EventCounter.h,v 6.2 2006/05/30 19:10:01 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Header file for the EventCounter class.   * Header file for the EventCounter class.
# Line 10  Line 10 
10    
11  #include <map>  #include <map>
12  #include "Exception.h"  #include "Exception.h"
13  #include "PscuHeader.h"  #include "PacketType.h"
14    #include <TObject.h>
15    
16  namespace pamela {  namespace pamela {
17    /**    /**
# Line 27  namespace pamela { Line 28  namespace pamela {
28      int CalibCalPulse2;      int CalibCalPulse2;
29      int Physics;      int Physics;
30      int CalibTrkBoth;      int CalibTrkBoth;
31      int Calib_Trk1;      int CalibTrk1;
32      int Calib_Trk2;      int CalibTrk2;
33      int Calib_Cal;      int CalibCal;
34      int Calib_Trd;      int CalibTof;
35      int Calib_Tof;      int CalibS4;
36      int Calib_S4;      int CalibCalPed;
     int Calib_CalPed;  
37      int Calib1_Ac1;      int Calib1_Ac1;
38      int Calib1_Ac2;      int Calib1_Ac2;
39      int Calib2_Ac1;      int Calib2_Ac1;
40      int Calib2_Ac2;      int Calib2_Ac2;
41      int Run_Header;      int RunHeader;
42      int Run_Trailer;      int RunTrailer;
43      int CalibHeader;      int CalibHeader;
44      int CalibTrailer;      int CalibTrailer;
45      int InitHeader;      int InitHeader;
46      int InitTrailer;      int InitTrailer;
47      int EventTrk;      int EventTrk;
     int TestTrk;  
     int TestTof;  
48      int Log;      int Log;
49      int VarDump;      int VarDump;
50      int ArrDump;      int ArrDump;
# Line 63  namespace pamela { Line 61  namespace pamela {
61      int S4Init;      int S4Init;
62      int Ac2Init;      int Ac2Init;
63      int CalAlarm;      int CalAlarm;
64      int AcAlarm;      int Ac1Alarm;
65      int TrkAlarm;      int TrkAlarm;
66      int TrgAlarm;      int TrgAlarm;
67      int TofAlarm;      int TofAlarm;
68      int S4Alarm;      int S4Alarm;
69        int Ac2Alarm;
70        int TsbT;
71        int TsbB;
72    
73      typedef std::map<const pamela::PacketType *, int *> CounterMap;      typedef std::map<const pamela::PacketType *, int *> CounterMap;
74      CounterMap CMap; //!      CounterMap CMap; //!
# Line 83  namespace pamela { Line 84  namespace pamela {
84      int GetRunNumber(void) const { return RunNumber; }      int GetRunNumber(void) const { return RunNumber; }
85      void Increment(pamela::PacketType const *) throw (NotExistingCounterException);      void Increment(pamela::PacketType const *) throw (NotExistingCounterException);
86      void PrintCounters() const ;      void PrintCounters() const ;
87      ClassDef(EventCounter, 1)      ClassDef(EventCounter, 7)
88    };    };
89  }  }
90    

Legend:
Removed from v.2.4  
changed lines
  Added in v.6.3

  ViewVC Help
Powered by ViewVC 1.1.23