1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/12/17 14:00:53 $ |
* $Date: 2005/01/29 00:26:55 $ |
4 |
* $Revision: 2.6 $ |
* $Revision: 2.7 $ |
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 |
*/ |
*/ |
13 |
#include "PscuEvent.h" |
#include "PscuEvent.h" |
14 |
|
|
15 |
|
|
16 |
#include "PhysEndRunEvent.h" |
#include "endrun/PhysEndRunEvent.h" |
17 |
#include "CalibCalPulse1Event.h" |
#include "CalibCalPulse1Event.h" |
18 |
#include "CalibCalPulse2Event.h" |
#include "CalibCalPulse2Event.h" |
19 |
#include "physics/TrackerReader.h" |
#include "physics/TrackerReader.h" |
64 |
#include "TrgAlarmEvent.h" |
#include "TrgAlarmEvent.h" |
65 |
#include "TofAlarmEvent.h" |
#include "TofAlarmEvent.h" |
66 |
#include "S4AlarmEvent.h" |
#include "S4AlarmEvent.h" |
67 |
|
#include "tsbt/TsbTEvent.h" |
68 |
|
#include "tsbb/TsbBEvent.h" |
69 |
|
|
70 |
using namespace std; |
using namespace std; |
71 |
|
|
764 |
}; |
}; |
765 |
|
|
766 |
/********************************************** |
/********************************************** |
767 |
|
* Event reader algorithm for TsbT events. |
768 |
|
**********************************************/ |
769 |
|
class TsbTReader: public TechmodelAlgorithm { |
770 |
|
private: |
771 |
|
/** The TsbT event that is created in the reader. */ |
772 |
|
TsbTEvent* TsbT; |
773 |
|
public: |
774 |
|
TsbTReader(void); |
775 |
|
virtual void Init(PamelaRun *); |
776 |
|
virtual void RunEvent(int, long int) throw (WrongCRCException); |
777 |
|
virtual std::string GetVersionInfo(void) const; |
778 |
|
}; |
779 |
|
|
780 |
|
/********************************************** |
781 |
|
* Event reader algorithm for TsbB events. |
782 |
|
**********************************************/ |
783 |
|
class TsbBReader: public TechmodelAlgorithm { |
784 |
|
private: |
785 |
|
/** The TsbB event that is created in the reader. */ |
786 |
|
TsbBEvent* TsbB; |
787 |
|
public: |
788 |
|
TsbBReader(void); |
789 |
|
virtual void Init(PamelaRun *); |
790 |
|
virtual void RunEvent(int, long int) throw (WrongCRCException); |
791 |
|
virtual std::string GetVersionInfo(void) const; |
792 |
|
}; |
793 |
|
|
794 |
|
/********************************************** |
795 |
* Event reader algorithm for PSCU events. |
* Event reader algorithm for PSCU events. |
796 |
**********************************************/ |
**********************************************/ |
797 |
class PscuReader: public TechmodelAlgorithm { |
class PscuReader: public TechmodelAlgorithm { |
804 |
virtual void RunEvent(int, long int) throw (WrongCRCException); |
virtual void RunEvent(int, long int) throw (WrongCRCException); |
805 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |
806 |
}; |
}; |
|
|
|
|
|
|
807 |
} |
} |
808 |
} |
} |
809 |
|
|