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

Diff of /chewbacca/event/EventCounter.h

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

revision 1.2 by mocchiut, Fri Jul 24 13:53:49 2009 UTC revision 1.3 by mocchiut, Wed Jul 29 15:47:20 2009 UTC
# Line 1  Line 1 
1  /**     @file  /**     @file
2   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/EventCounter.h,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/EventCounter.h,v $
3   * $Id: EventCounter.h,v 1.1.1.1 2008/09/23 07:19:51 mocchiut Exp $   * $Id: EventCounter.h,v 1.2 2009/07/24 13:53:49 mocchiut Exp $
4   * $Author: mocchiut $   * $Author: mocchiut $
5   *   *
6   * Header file for the EventCounter class.   * Header file for the EventCounter class.
# Line 21  namespace pamela { Line 21  namespace pamela {
21    class EventCounter : public TObject {    class EventCounter : public TObject {
22    private:    private:
23    
24        int RunNumber;    /**< Run number */
25      int Pscu;      int Pscu;
26      int PhysEndRun;      int PhysEndRun;
27      int CalibCalPulse1;      int CalibCalPulse1;
# Line 68  namespace pamela { Line 69  namespace pamela {
69      int Ac2Alarm;      int Ac2Alarm;
70      int TsbT;      int TsbT;
71      int TsbB;      int TsbB;
    int RunNumber;    /**< Run number */  
72    
73      typedef std::map<const pamela::PacketType *, int *> CounterMap;      typedef std::map<const pamela::PacketType *, int *> CounterMap;
74      CounterMap CMap; //!      CounterMap CMap; //!
# Line 84  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, 7)      ClassDef(EventCounter, 8)
88    };    };
89  }  }
90    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23