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. |
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; |
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; //! |
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 |
|
|