1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/07/06 14:07:27 $ |
* $Date: 2004/07/08 12:31:42 $ |
4 |
* $Revision: 1.3 $ |
* $Revision: 1.4 $ |
5 |
* |
* |
6 |
* Header file for the algorithms used to read the techmodel data file. |
* Header file for the algorithms used to read the techmodel data file. |
7 |
*/ |
*/ |
32 |
#include "log/LogEvent.h" |
#include "log/LogEvent.h" |
33 |
|
|
34 |
#include "physics/TrackerReader.h" |
#include "physics/TrackerReader.h" |
35 |
|
#include "physics/AnticounterReader.h" |
36 |
|
#include "physics/CalorimeterReader.h" |
37 |
|
|
38 |
#define UINT32 unsigned int |
#define UINT32 unsigned int |
39 |
#define UINT16 unsigned short |
#define UINT16 unsigned short |
49 |
class PhysicsReader: public TechmodelAlgorithm { |
class PhysicsReader: public TechmodelAlgorithm { |
50 |
private: |
private: |
51 |
/** The reader for tracker physics events. */ |
/** The reader for tracker physics events. */ |
52 |
tracker::TrackerReader* trackerReader; |
tracker::TrackerReader* trackerReader; |
53 |
/** The reader for anticoincidence physics events. */ |
anticounter::AnticounterReader* anticounterReader; |
54 |
//anticoinc::AnticounterReader* AcReader; |
calorimeter::CalorimeterReader* calorimeterReader; |
|
/** The reader for calorimeter physics events. */ |
|
|
//calorimeter::CalorimeterReader* CalorimeterReader; |
|
55 |
public: |
public: |
56 |
PhysicsReader(void); |
PhysicsReader(void); |
57 |
virtual void Init(PamelaRun *); |
virtual void Init(PamelaRun *); |
200 |
class CalibCalPedReader: public TechmodelAlgorithm { |
class CalibCalPedReader: public TechmodelAlgorithm { |
201 |
private: |
private: |
202 |
/** The CalibCalPed event that is created in the reader. */ |
/** The CalibCalPed event that is created in the reader. */ |
203 |
CalibCalPedEvent* CalibCalPed; |
CalibCalPedEvent* calibCalPed; |
204 |
public: |
public: |
205 |
CalibCalPedReader(void); |
CalibCalPedReader(void); |
206 |
virtual void Init(PamelaRun *); |
virtual void Init(PamelaRun *); |