| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /repository/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 2008-01-11 17:14:21 messineo Exp $ |
* $Id: EventCounter.h,v 1.2 2009/07/24 13:53:49 mocchiut Exp $ |
| 4 |
* $Author: messineo $ |
* $Author: mocchiut $ |
| 5 |
* |
* |
| 6 |
* Header file for the EventCounter class. |
* Header file for the EventCounter class. |
| 7 |
*/ |
*/ |
| 20 |
*/ |
*/ |
| 21 |
class EventCounter : public TObject { |
class EventCounter : public TObject { |
| 22 |
private: |
private: |
| 23 |
|
|
| 24 |
int RunNumber; /**< Run number */ |
int RunNumber; /**< Run number */ |
|
|
|
| 25 |
int Pscu; |
int Pscu; |
| 26 |
int PhysEndRun; |
int PhysEndRun; |
| 27 |
int CalibCalPulse1; |
int CalibCalPulse1; |
| 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 |
|
|