1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2005/03/06 04:33:02 $ |
* $Date: 2005/05/16 15:35:12 $ |
4 |
* $Revision: 4.0 $ |
* $Revision: 4.1 $ |
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 |
*/ |
*/ |
23 |
#include "physics/S4Reader.h" |
#include "physics/S4Reader.h" |
24 |
#include "physics/TofReader.h" |
#include "physics/TofReader.h" |
25 |
#include "physics/TriggerReader.h" |
#include "physics/TriggerReader.h" |
|
#include "CalibTrkBothEvent.h" |
|
26 |
#include "CalibTrk1Event.h" |
#include "CalibTrk1Event.h" |
27 |
#include "CalibTrk2Event.h" |
#include "CalibTrk2Event.h" |
|
#include "CalibTrdEvent.h" |
|
28 |
#include "CalibTofEvent.h" |
#include "CalibTofEvent.h" |
29 |
#include "CalibS4Event.h" |
#include "CalibS4Event.h" |
30 |
#include "CalibCalPedEvent.h" |
#include "CalibCalPedEvent.h" |
146 |
|
|
147 |
|
|
148 |
/********************************************** |
/********************************************** |
|
* Event reader algorithm for CalibTrkBoth events. |
|
|
**********************************************/ |
|
|
class CalibTrkBothReader: public TechmodelAlgorithm { |
|
|
private: |
|
|
/** The CalibTrkBoth event that is created in the reader. */ |
|
|
CalibTrkBothEvent* calibTrkBoth; |
|
|
public: |
|
|
CalibTrkBothReader(void); |
|
|
virtual void Init(PamelaRun *); |
|
|
virtual void RunEvent(int, long int) throw (Exception); |
|
|
//this type of RUNEvent should be the future develop. |
|
|
//Pass the buffer not the pointer to file |
|
|
//virtual void RunEvent(int, long int, char[]); |
|
|
virtual std::string GetVersionInfo(void) const; |
|
|
}; |
|
|
|
|
|
|
|
|
/********************************************** |
|
149 |
* Event reader algorithm for CalibTrk1 events. |
* Event reader algorithm for CalibTrk1 events. |
150 |
**********************************************/ |
**********************************************/ |
151 |
class CalibTrk1Reader: public TechmodelAlgorithm { |
class CalibTrk1Reader: public TechmodelAlgorithm { |
179 |
|
|
180 |
|
|
181 |
/********************************************** |
/********************************************** |
|
* Event reader algorithm for CalibTrd events. |
|
|
**********************************************/ |
|
|
class CalibTrdReader: public TechmodelAlgorithm { |
|
|
private: |
|
|
/** The CalibTrd event that is created in the reader. */ |
|
|
CalibTrdEvent* calibTrd; |
|
|
public: |
|
|
CalibTrdReader(void); |
|
|
virtual void Init(PamelaRun *); |
|
|
virtual void RunEvent(int, long int) throw (Exception); |
|
|
virtual std::string GetVersionInfo(void) const; |
|
|
}; |
|
|
|
|
|
|
|
|
/********************************************** |
|
182 |
* Event reader algorithm for CalibTof events. |
* Event reader algorithm for CalibTof events. |
183 |
**********************************************/ |
**********************************************/ |
184 |
class CalibTofReader: public TechmodelAlgorithm { |
class CalibTofReader: public TechmodelAlgorithm { |