1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/09/24 11:57:49 $ |
* $Date: 2004/12/03 22:08:01 $ |
4 |
* $Revision: 2.1 $ |
* $Revision: 2.2 $ |
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 |
*/ |
*/ |
20 |
#include "physics/AnticounterReader.h" |
#include "physics/AnticounterReader.h" |
21 |
#include "physics/CalorimeterReader.h" |
#include "physics/CalorimeterReader.h" |
22 |
#include "physics/NeutronDetectorReader.h" |
#include "physics/NeutronDetectorReader.h" |
23 |
|
#include "physics/S4Reader.h" |
24 |
#include "CalibTrkBothEvent.h" |
#include "CalibTrkBothEvent.h" |
25 |
#include "CalibTrk1Event.h" |
#include "CalibTrk1Event.h" |
26 |
#include "CalibTrk2Event.h" |
#include "CalibTrk2Event.h" |
51 |
#include "TofInitEvent.h" |
#include "TofInitEvent.h" |
52 |
#include "TrgInitEvent.h" |
#include "TrgInitEvent.h" |
53 |
#include "NdInitEvent.h" |
#include "NdInitEvent.h" |
54 |
|
#include "S4InitEvent.h" |
55 |
#include "CalAlarmEvent.h" |
#include "CalAlarmEvent.h" |
56 |
#include "AcAlarmEvent.h" |
#include "AcAlarmEvent.h" |
57 |
#include "TrkAlarmEvent.h" |
#include "TrkAlarmEvent.h" |
58 |
#include "TrgAlarmEvent.h" |
#include "TrgAlarmEvent.h" |
59 |
#include "TofAlarmEvent.h" |
#include "TofAlarmEvent.h" |
60 |
|
#include "S4AlarmEvent.h" |
61 |
|
|
62 |
using namespace std; |
using namespace std; |
63 |
|
|
128 |
anticounter::AnticounterReader* anticounterReader; |
anticounter::AnticounterReader* anticounterReader; |
129 |
calorimeter::CalorimeterReader* calorimeterReader; |
calorimeter::CalorimeterReader* calorimeterReader; |
130 |
neutron::NeutronDetectorReader* neutronReader; |
neutron::NeutronDetectorReader* neutronReader; |
131 |
|
S4::S4Reader* s4Reader; |
132 |
public: |
public: |
133 |
PhysicsReader(void); |
PhysicsReader(void); |
134 |
virtual void Init(PamelaRun *); |
virtual void Init(PamelaRun *); |
596 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |
597 |
}; |
}; |
598 |
|
|
599 |
|
/********************************************** |
600 |
|
* Event reader algorithm for S4Init events. |
601 |
|
**********************************************/ |
602 |
|
class S4InitReader: public TechmodelAlgorithm { |
603 |
|
private: |
604 |
|
/** The S4Init event that is created in the reader. */ |
605 |
|
S4InitEvent* s4Init; |
606 |
|
public: |
607 |
|
S4InitReader(void); |
608 |
|
virtual void Init(PamelaRun *); |
609 |
|
virtual void RunEvent(int, long int) throw (WrongCRCException); |
610 |
|
virtual std::string GetVersionInfo(void) const; |
611 |
|
}; |
612 |
|
|
613 |
|
|
614 |
/********************************************** |
/********************************************** |
615 |
* Event reader algorithm for CalAlarm events. |
* Event reader algorithm for CalAlarm events. |
682 |
}; |
}; |
683 |
|
|
684 |
/********************************************** |
/********************************************** |
685 |
|
* Event reader algorithm for S4Alarm events. |
686 |
|
**********************************************/ |
687 |
|
class S4AlarmReader: public TechmodelAlgorithm { |
688 |
|
private: |
689 |
|
/** The S4Alarm event that is created in the reader. */ |
690 |
|
S4AlarmEvent* s4Alarm; |
691 |
|
public: |
692 |
|
S4AlarmReader(void); |
693 |
|
virtual void Init(PamelaRun *); |
694 |
|
virtual void RunEvent(int, long int) throw (WrongCRCException); |
695 |
|
virtual std::string GetVersionInfo(void) const; |
696 |
|
}; |
697 |
|
|
698 |
|
/********************************************** |
699 |
* Event reader algorithm for PSCU events. |
* Event reader algorithm for PSCU events. |
700 |
**********************************************/ |
**********************************************/ |
701 |
class PscuReader: public TechmodelAlgorithm { |
class PscuReader: public TechmodelAlgorithm { |
716 |
#endif /* READER_ALGORITHM_H */ |
#endif /* READER_ALGORITHM_H */ |
717 |
|
|
718 |
|
|
719 |
|
|