1 |
mocchiut |
1.1 |
/** @file |
2 |
|
|
* $Author: messineo $ |
3 |
|
|
* $Date: 2008-01-11 17:13:00 $ |
4 |
|
|
* $Revision: 1.1 $ |
5 |
|
|
* |
6 |
|
|
* Header file for the algorithms used to read the techmodel neutronDetector events. |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
#ifndef NEUTRONDETECTOR_READER_H |
10 |
|
|
#define NEUTRONDETECTOR_READER_H |
11 |
|
|
|
12 |
|
|
#include "techmodel/TechmodelAlgorithm.h" |
13 |
|
|
#include "event/PamelaRun.h" |
14 |
|
|
#include "event/physics/neutronDetector/NeutronEvent.h" |
15 |
|
|
|
16 |
|
|
|
17 |
|
|
namespace pamela { |
18 |
|
|
namespace neutron { |
19 |
|
|
/** |
20 |
|
|
* Algorithm to read techmodel neutron physics events. |
21 |
|
|
*/ |
22 |
|
|
class NeutronDetectorReader: public pamela::techmodel::TechmodelAlgorithm { |
23 |
|
|
private: |
24 |
|
|
/** |
25 |
|
|
* The physics event that is created in this algorithm. |
26 |
|
|
*/ |
27 |
|
|
NeutronEvent *neutronEvent; |
28 |
|
|
bool haveData(const char[], long int); |
29 |
|
|
public: |
30 |
|
|
NeutronDetectorReader(void); |
31 |
|
|
virtual void Init(PamelaRun *); |
32 |
|
|
virtual void RunEvent(int); |
33 |
|
|
virtual void RunEvent(int, const char[] , long int); |
34 |
|
|
virtual std::string GetVersionInfo(void) const; |
35 |
|
|
}; |
36 |
|
|
} |
37 |
|
|
} |
38 |
|
|
|
39 |
|
|
#endif /* NEUTRONDETECTOR_READER_H */ |