| 1 |
/** @file |
/** @file |
| 2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
| 3 |
* $Date: 2004/07/29 16:19:11 $ |
* $Date: 2004/09/21 20:50:54 $ |
| 4 |
* $Revision: 1.6 $ |
* $Revision: 2.0 $ |
| 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 "NdInitEvent.h" |
| 53 |
|
#include "CalAlarmEvent.h" |
| 54 |
|
#include "AcAlarmEvent.h" |
| 55 |
|
#include "TrkAlarmEvent.h" |
| 56 |
|
#include "TrgAlarmEvent.h" |
| 57 |
|
#include "TofAlarmEvent.h" |
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 384 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |
| 385 |
}; |
}; |
| 386 |
|
|
| 387 |
|
/********************************************** |
| 388 |
|
* Event reader algorithm for TestTof events. |
| 389 |
|
**********************************************/ |
| 390 |
|
class TestTofReader: public TechmodelAlgorithm { |
| 391 |
|
private: |
| 392 |
|
/** The TestTof event that is created in the reader. */ |
| 393 |
|
TestTofEvent* testTof; |
| 394 |
|
public: |
| 395 |
|
TestTofReader(void); |
| 396 |
|
virtual void Init(PamelaRun *); |
| 397 |
|
virtual void RunEvent(int, long int); |
| 398 |
|
virtual std::string GetVersionInfo(void) const; |
| 399 |
|
}; |
| 400 |
|
|
| 401 |
/********************************************** |
/********************************************** |
| 402 |
* Event reader algorithm for Log events. |
* Event reader algorithm for Log events. |
| 584 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |
| 585 |
}; |
}; |
| 586 |
|
|
| 587 |
|
/********************************************** |
| 588 |
|
* Event reader algorithm for NdInit events. |
| 589 |
|
**********************************************/ |
| 590 |
|
class NdInitReader: public TechmodelAlgorithm { |
| 591 |
|
private: |
| 592 |
|
/** The NdInit event that is created in the reader. */ |
| 593 |
|
NdInitEvent* ndInit; |
| 594 |
|
public: |
| 595 |
|
NdInitReader(void); |
| 596 |
|
virtual void Init(PamelaRun *); |
| 597 |
|
virtual void RunEvent(int, long int); |
| 598 |
|
virtual std::string GetVersionInfo(void) const; |
| 599 |
|
}; |
| 600 |
|
|
| 601 |
|
|
| 602 |
|
/********************************************** |
| 603 |
|
* Event reader algorithm for CalAlarm events. |
| 604 |
|
**********************************************/ |
| 605 |
|
class CalAlarmReader: public TechmodelAlgorithm { |
| 606 |
|
private: |
| 607 |
|
/** The CalAlarm event that is created in the reader. */ |
| 608 |
|
CalAlarmEvent* calAlarm; |
| 609 |
|
public: |
| 610 |
|
CalAlarmReader(void); |
| 611 |
|
virtual void Init(PamelaRun *); |
| 612 |
|
virtual void RunEvent(int, long int); |
| 613 |
|
virtual std::string GetVersionInfo(void) const; |
| 614 |
|
}; |
| 615 |
|
|
| 616 |
|
/********************************************** |
| 617 |
|
* Event reader algorithm for AcAlarm events. |
| 618 |
|
**********************************************/ |
| 619 |
|
class AcAlarmReader: public TechmodelAlgorithm { |
| 620 |
|
private: |
| 621 |
|
/** The AcAlarm event that is created in the reader. */ |
| 622 |
|
AcAlarmEvent* acAlarm; |
| 623 |
|
public: |
| 624 |
|
AcAlarmReader(void); |
| 625 |
|
virtual void Init(PamelaRun *); |
| 626 |
|
virtual void RunEvent(int, long int); |
| 627 |
|
virtual std::string GetVersionInfo(void) const; |
| 628 |
|
}; |
| 629 |
|
|
| 630 |
|
/********************************************** |
| 631 |
|
* Event reader algorithm for TrkAlarm events. |
| 632 |
|
**********************************************/ |
| 633 |
|
class TrkAlarmReader: public TechmodelAlgorithm { |
| 634 |
|
private: |
| 635 |
|
/** The TrkAlarm event that is created in the reader. */ |
| 636 |
|
TrkAlarmEvent* trkAlarm; |
| 637 |
|
public: |
| 638 |
|
TrkAlarmReader(void); |
| 639 |
|
virtual void Init(PamelaRun *); |
| 640 |
|
virtual void RunEvent(int, long int); |
| 641 |
|
virtual std::string GetVersionInfo(void) const; |
| 642 |
|
}; |
| 643 |
|
|
| 644 |
|
/********************************************** |
| 645 |
|
* Event reader algorithm for TrgAlarm events. |
| 646 |
|
**********************************************/ |
| 647 |
|
class TrgAlarmReader: public TechmodelAlgorithm { |
| 648 |
|
private: |
| 649 |
|
/** The TrgAlarm event that is created in the reader. */ |
| 650 |
|
TrgAlarmEvent* trgAlarm; |
| 651 |
|
public: |
| 652 |
|
TrgAlarmReader(void); |
| 653 |
|
virtual void Init(PamelaRun *); |
| 654 |
|
virtual void RunEvent(int, long int); |
| 655 |
|
virtual std::string GetVersionInfo(void) const; |
| 656 |
|
}; |
| 657 |
|
|
| 658 |
|
/********************************************** |
| 659 |
|
* Event reader algorithm for TofAlarm events. |
| 660 |
|
**********************************************/ |
| 661 |
|
class TofAlarmReader: public TechmodelAlgorithm { |
| 662 |
|
private: |
| 663 |
|
/** The TofAlarm event that is created in the reader. */ |
| 664 |
|
TofAlarmEvent* tofAlarm; |
| 665 |
|
public: |
| 666 |
|
TofAlarmReader(void); |
| 667 |
|
virtual void Init(PamelaRun *); |
| 668 |
|
virtual void RunEvent(int, long int); |
| 669 |
|
virtual std::string GetVersionInfo(void) const; |
| 670 |
|
}; |
| 671 |
|
|
| 672 |
/********************************************** |
/********************************************** |
| 673 |
* Event reader algorithm for PSCU events. |
* Event reader algorithm for PSCU events. |