| 1 |
/** @file |
/** @file |
| 2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
| 3 |
* $Date: 2004/07/06 14:07:27 $ |
* $Date: 2004/07/17 20:03:38 $ |
| 4 |
* $Revision: 1.3 $ |
* $Revision: 1.5 $ |
| 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 |
*/ |
*/ |
| 26 |
#include "CalibS4Event.h" |
#include "CalibS4Event.h" |
| 27 |
#include "RunHeaderEvent.h" |
#include "RunHeaderEvent.h" |
| 28 |
#include "RunTrailerEvent.h" |
#include "RunTrailerEvent.h" |
|
#include "ForcedPktEvent.h" |
|
| 29 |
#include "tmtc/TmtcEvent.h" |
#include "tmtc/TmtcEvent.h" |
| 30 |
#include "mcmd/McmdEvent.h" |
#include "mcmd/McmdEvent.h" |
| 31 |
#include "log/LogEvent.h" |
#include "log/LogEvent.h" |
| 32 |
|
|
| 33 |
#include "physics/TrackerReader.h" |
#include "physics/TrackerReader.h" |
| 34 |
|
#include "physics/AnticounterReader.h" |
| 35 |
|
#include "physics/CalorimeterReader.h" |
| 36 |
|
|
| 37 |
#define UINT32 unsigned int |
#define UINT32 unsigned int |
| 38 |
#define UINT16 unsigned short |
#define UINT16 unsigned short |
| 48 |
class PhysicsReader: public TechmodelAlgorithm { |
class PhysicsReader: public TechmodelAlgorithm { |
| 49 |
private: |
private: |
| 50 |
/** The reader for tracker physics events. */ |
/** The reader for tracker physics events. */ |
| 51 |
tracker::TrackerReader* trackerReader; |
tracker::TrackerReader* trackerReader; |
| 52 |
/** The reader for anticoincidence physics events. */ |
anticounter::AnticounterReader* anticounterReader; |
| 53 |
//anticoinc::AnticounterReader* AcReader; |
calorimeter::CalorimeterReader* calorimeterReader; |
|
/** The reader for calorimeter physics events. */ |
|
|
//calorimeter::CalorimeterReader* CalorimeterReader; |
|
| 54 |
public: |
public: |
| 55 |
PhysicsReader(void); |
PhysicsReader(void); |
| 56 |
virtual void Init(PamelaRun *); |
virtual void Init(PamelaRun *); |
| 199 |
class CalibCalPedReader: public TechmodelAlgorithm { |
class CalibCalPedReader: public TechmodelAlgorithm { |
| 200 |
private: |
private: |
| 201 |
/** The CalibCalPed event that is created in the reader. */ |
/** The CalibCalPed event that is created in the reader. */ |
| 202 |
CalibCalPedEvent* CalibCalPed; |
CalibCalPedEvent* calibCalPed; |
| 203 |
public: |
public: |
| 204 |
CalibCalPedReader(void); |
CalibCalPedReader(void); |
| 205 |
virtual void Init(PamelaRun *); |
virtual void Init(PamelaRun *); |
| 310 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |
| 311 |
}; |
}; |
| 312 |
|
|
|
/** |
|
|
* Event reader algorithm for ForcedPkt events. |
|
|
*/ |
|
|
class ForcedPktReader: public TechmodelAlgorithm { |
|
|
private: |
|
|
/** The ForcedPkt event that is created in the reader. */ |
|
|
ForcedPktEvent* ForcedPkt; |
|
|
public: |
|
|
ForcedPktReader(void); |
|
|
virtual void Init(PamelaRun *); |
|
|
virtual void RunEvent(int, long int); |
|
|
virtual std::string GetVersionInfo(void) const; |
|
|
}; |
|
| 313 |
|
|
| 314 |
/** |
/** |
| 315 |
* Event reader algorithm for ForcedPkt events. |
* Event reader algorithm for ForcedPkt events. |