1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/07/29 16:19:11 $ |
* $Date: 2004/08/19 15:24:46 $ |
4 |
* $Revision: 1.6 $ |
* $Revision: 1.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 |
*/ |
*/ |
36 |
#include "InitTrailerEvent.h" |
#include "InitTrailerEvent.h" |
37 |
#include "EventTrkEvent.h" |
#include "EventTrkEvent.h" |
38 |
#include "TestTrkEvent.h" |
#include "TestTrkEvent.h" |
39 |
|
#include "TestTofEvent.h" |
40 |
#include "log/LogEvent.h" |
#include "log/LogEvent.h" |
41 |
#include "varDump/VarDumpEvent.h" |
#include "varDump/VarDumpEvent.h" |
42 |
#include "arrDump/ArrDumpEvent.h" |
#include "arrDump/ArrDumpEvent.h" |
49 |
#include "TrkInitEvent.h" |
#include "TrkInitEvent.h" |
50 |
#include "TofInitEvent.h" |
#include "TofInitEvent.h" |
51 |
#include "TrgInitEvent.h" |
#include "TrgInitEvent.h" |
52 |
|
#include "CalAlarmEvent.h" |
53 |
|
#include "AcAlarmEvent.h" |
54 |
|
#include "TrkAlarmEvent.h" |
55 |
|
#include "TrgAlarmEvent.h" |
56 |
|
#include "TofAlarmEvent.h" |
57 |
|
|
58 |
|
|
59 |
|
|
383 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |
384 |
}; |
}; |
385 |
|
|
386 |
|
/********************************************** |
387 |
|
* Event reader algorithm for TestTof events. |
388 |
|
**********************************************/ |
389 |
|
class TestTofReader: public TechmodelAlgorithm { |
390 |
|
private: |
391 |
|
/** The TestTof event that is created in the reader. */ |
392 |
|
TestTofEvent* testTof; |
393 |
|
public: |
394 |
|
TestTofReader(void); |
395 |
|
virtual void Init(PamelaRun *); |
396 |
|
virtual void RunEvent(int, long int); |
397 |
|
virtual std::string GetVersionInfo(void) const; |
398 |
|
}; |
399 |
|
|
400 |
/********************************************** |
/********************************************** |
401 |
* Event reader algorithm for Log events. |
* Event reader algorithm for Log events. |
583 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |
584 |
}; |
}; |
585 |
|
|
586 |
|
/********************************************** |
587 |
|
* Event reader algorithm for CalAlarm events. |
588 |
|
**********************************************/ |
589 |
|
class CalAlarmReader: public TechmodelAlgorithm { |
590 |
|
private: |
591 |
|
/** The CalAlarm event that is created in the reader. */ |
592 |
|
CalAlarmEvent* calAlarm; |
593 |
|
public: |
594 |
|
CalAlarmReader(void); |
595 |
|
virtual void Init(PamelaRun *); |
596 |
|
virtual void RunEvent(int, long int); |
597 |
|
virtual std::string GetVersionInfo(void) const; |
598 |
|
}; |
599 |
|
|
600 |
|
/********************************************** |
601 |
|
* Event reader algorithm for AcAlarm events. |
602 |
|
**********************************************/ |
603 |
|
class AcAlarmReader: public TechmodelAlgorithm { |
604 |
|
private: |
605 |
|
/** The AcAlarm event that is created in the reader. */ |
606 |
|
AcAlarmEvent* acAlarm; |
607 |
|
public: |
608 |
|
AcAlarmReader(void); |
609 |
|
virtual void Init(PamelaRun *); |
610 |
|
virtual void RunEvent(int, long int); |
611 |
|
virtual std::string GetVersionInfo(void) const; |
612 |
|
}; |
613 |
|
|
614 |
|
/********************************************** |
615 |
|
* Event reader algorithm for TrkAlarm events. |
616 |
|
**********************************************/ |
617 |
|
class TrkAlarmReader: public TechmodelAlgorithm { |
618 |
|
private: |
619 |
|
/** The TrkAlarm event that is created in the reader. */ |
620 |
|
TrkAlarmEvent* trkAlarm; |
621 |
|
public: |
622 |
|
TrkAlarmReader(void); |
623 |
|
virtual void Init(PamelaRun *); |
624 |
|
virtual void RunEvent(int, long int); |
625 |
|
virtual std::string GetVersionInfo(void) const; |
626 |
|
}; |
627 |
|
|
628 |
|
/********************************************** |
629 |
|
* Event reader algorithm for TrgAlarm events. |
630 |
|
**********************************************/ |
631 |
|
class TrgAlarmReader: public TechmodelAlgorithm { |
632 |
|
private: |
633 |
|
/** The TrgAlarm event that is created in the reader. */ |
634 |
|
TrgAlarmEvent* trgAlarm; |
635 |
|
public: |
636 |
|
TrgAlarmReader(void); |
637 |
|
virtual void Init(PamelaRun *); |
638 |
|
virtual void RunEvent(int, long int); |
639 |
|
virtual std::string GetVersionInfo(void) const; |
640 |
|
}; |
641 |
|
|
642 |
|
/********************************************** |
643 |
|
* Event reader algorithm for TofAlarm events. |
644 |
|
**********************************************/ |
645 |
|
class TofAlarmReader: public TechmodelAlgorithm { |
646 |
|
private: |
647 |
|
/** The TofAlarm event that is created in the reader. */ |
648 |
|
TofAlarmEvent* tofAlarm; |
649 |
|
public: |
650 |
|
TofAlarmReader(void); |
651 |
|
virtual void Init(PamelaRun *); |
652 |
|
virtual void RunEvent(int, long int); |
653 |
|
virtual std::string GetVersionInfo(void) const; |
654 |
|
}; |
655 |
|
|
656 |
/********************************************** |
/********************************************** |
657 |
* Event reader algorithm for PSCU events. |
* Event reader algorithm for PSCU events. |