| 1 |
kusanagi |
2.1 |
/** @file |
| 2 |
|
|
* $Author: kusanagi $ |
| 3 |
kusanagi |
4.0 |
* $Date: 2005/03/04 15:54:11 $ |
| 4 |
|
|
* $Revision: 3.0 $ |
| 5 |
kusanagi |
2.1 |
* |
| 6 |
|
|
* Header file for the algorithms used to read the techmodel calorimeter events. |
| 7 |
|
|
*/ |
| 8 |
|
|
|
| 9 |
|
|
#ifndef TRIGGER_READER_H |
| 10 |
|
|
#define TRIGGER_READER_H |
| 11 |
|
|
|
| 12 |
|
|
#include "techmodel/TechmodelAlgorithm.h" |
| 13 |
|
|
#include "event/PamelaRun.h" |
| 14 |
|
|
#include "event/physics/trigger/TriggerEvent.h" |
| 15 |
|
|
|
| 16 |
|
|
|
| 17 |
|
|
namespace pamela { |
| 18 |
|
|
namespace trigger { |
| 19 |
|
|
/** |
| 20 |
|
|
* Algorithm to read fligthmodel trigger physics events. |
| 21 |
|
|
*/ |
| 22 |
|
|
class TriggerReader: public pamela::techmodel::TechmodelAlgorithm { |
| 23 |
|
|
private: |
| 24 |
|
|
/** |
| 25 |
|
|
* The physics event that is created in this algorithm. |
| 26 |
|
|
*/ |
| 27 |
|
|
TriggerEvent *trigger; |
| 28 |
|
|
public: |
| 29 |
|
|
TriggerReader(void); |
| 30 |
|
|
virtual void Init(PamelaRun *); |
| 31 |
|
|
virtual void RunEvent(int); |
| 32 |
|
|
virtual void RunEvent(int, const char[] , long int); |
| 33 |
|
|
virtual std::string GetVersionInfo(void) const; |
| 34 |
|
|
}; |
| 35 |
|
|
} |
| 36 |
|
|
} |
| 37 |
|
|
|
| 38 |
|
|
#endif /* TRIGGER_READER_H */ |