/[PAMELA software]/yoda/techmodel/ReaderAlgorithms.h
ViewVC logotype

Diff of /yoda/techmodel/ReaderAlgorithms.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.3 by kusanagi, Thu Dec 9 08:48:41 2004 UTC revision 2.4 by kusanagi, Thu Dec 16 17:32:57 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: kusanagi $   * $Author: kusanagi $
3   * $Date: 2004/12/03 22:08:01 $   * $Date: 2004/12/09 08:48:41 $
4   * $Revision: 2.2 $   * $Revision: 2.3 $
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   */   */
# Line 28  Line 28 
28  #include "CalibTofEvent.h"  #include "CalibTofEvent.h"
29  #include "CalibS4Event.h"  #include "CalibS4Event.h"
30  #include "CalibCalPedEvent.h"  #include "CalibCalPedEvent.h"
31  #include "CalibAcEvent.h"  #include "Calib1_Ac1Event.h"
32    #include "Calib1_Ac2Event.h"
33    #include "Calib2_Ac1Event.h"
34    #include "Calib2_Ac2Event.h"
35  #include "RunHeaderEvent.h"  #include "RunHeaderEvent.h"
36  #include "RunTrailerEvent.h"  #include "RunTrailerEvent.h"
37  #include "CalibHeaderEvent.h"  #include "CalibHeaderEvent.h"
# Line 45  Line 48 
48  #include "tmtc/TmtcEvent.h"  #include "tmtc/TmtcEvent.h"
49  #include "mcmd/McmdEvent.h"  #include "mcmd/McmdEvent.h"
50  #include "ForcedFECmdEvent.h"  #include "ForcedFECmdEvent.h"
51  #include "AcInitEvent.h"  #include "Ac1InitEvent.h"
52  #include "CalInitEvent.h"  #include "CalInitEvent.h"
53  #include "TrkInitEvent.h"  #include "TrkInitEvent.h"
54  #include "TofInitEvent.h"  #include "TofInitEvent.h"
55  #include "TrgInitEvent.h"  #include "TrgInitEvent.h"
56  #include "NdInitEvent.h"  #include "NdInitEvent.h"
57  #include "S4InitEvent.h"  #include "S4InitEvent.h"
58    #include "Ac2InitEvent.h"
59  #include "CalAlarmEvent.h"  #include "CalAlarmEvent.h"
60  #include "AcAlarmEvent.h"  #include "AcAlarmEvent.h"
61  #include "TrkAlarmEvent.h"  #include "TrkAlarmEvent.h"
# Line 224  namespace pamela { Line 228  namespace pamela {
228      class CalibS4Reader: public TechmodelAlgorithm {      class CalibS4Reader: public TechmodelAlgorithm {
229      private:      private:
230        /** The CalibCal event that is created in the reader. */        /** The CalibCal event that is created in the reader. */
231        CalibS4Event* CalibS4;        CalibS4Event* calibS4;
232      public:      public:
233        CalibS4Reader(void);        CalibS4Reader(void);
234        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
# Line 249  namespace pamela { Line 253  namespace pamela {
253    
254    
255  /***********************************************  /***********************************************
256  * Event reader algorithm for CalibAc events.  * Event reader algorithm for Calib1_Ac1 events.
257  **********************************************/  **********************************************/
258      class CalibAcReader: public TechmodelAlgorithm {      class Calib1_Ac1Reader: public TechmodelAlgorithm {
259      private:      private:
260        /** The CalibAc event that is created in the reader. */        /** The CalibAc event that is created in the reader. */
261        CalibAcEvent* CalibAc;        Calib1_Ac1Event* calib1_Ac1;
262      public:      public:
263        CalibAcReader(void);        Calib1_Ac1Reader(void);
264          virtual void Init(PamelaRun *);
265          virtual void RunEvent(int, long int) throw (Exception);
266          virtual std::string GetVersionInfo(void) const;
267        };
268    
269    
270    /***********************************************
271    * Event reader algorithm for Calib1_Ac2 events.
272    **********************************************/
273        class Calib1_Ac2Reader: public TechmodelAlgorithm {
274        private:
275          /** The Calib1_Ac2 event that is created in the reader. */
276          Calib1_Ac2Event* calib1_Ac2;
277        public:
278          Calib1_Ac2Reader(void);
279          virtual void Init(PamelaRun *);
280          virtual void RunEvent(int, long int) throw (Exception);
281          virtual std::string GetVersionInfo(void) const;
282        };
283    
284    /***********************************************
285    * Event reader algorithm for Calib2_Ac1 events.
286    **********************************************/
287        class Calib2_Ac1Reader: public TechmodelAlgorithm {
288        private:
289          /** The Calib2_Ac1 event that is created in the reader. */
290          Calib2_Ac1Event* calib2_Ac1;
291        public:
292          Calib2_Ac1Reader(void);
293          virtual void Init(PamelaRun *);
294          virtual void RunEvent(int, long int) throw (Exception);
295          virtual std::string GetVersionInfo(void) const;
296        };
297    
298    /***********************************************
299    * Event reader algorithm for Calib2_Ac2 events.
300    **********************************************/
301        class Calib2_Ac2Reader: public TechmodelAlgorithm {
302        private:
303          /** The Calib2_Ac2 event that is created in the reader. */
304          Calib2_Ac2Event* calib2_Ac2;
305        public:
306          Calib2_Ac2Reader(void);
307        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
308        virtual void RunEvent(int, long int) throw (Exception);        virtual void RunEvent(int, long int) throw (Exception);
309        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
# Line 509  namespace pamela { Line 556  namespace pamela {
556    
557    
558  /**********************************************  /**********************************************
559  * Event reader algorithm for AcInit events.  * Event reader algorithm for Ac1Init events.
560  **********************************************/  **********************************************/
561      class AcInitReader: public TechmodelAlgorithm {      class Ac1InitReader: public TechmodelAlgorithm {
562      private:      private:
563        /** The AcInit event that is created in the reader. */        /** The Ac1Init event that is created in the reader. */
564        AcInitEvent* acInit;        Ac1InitEvent* ac1Init;
565      public:      public:
566        AcInitReader(void);        Ac1InitReader(void);
567        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
568        virtual void RunEvent(int, long int) throw (WrongCRCException);        virtual void RunEvent(int, long int) throw (WrongCRCException);
569        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
# Line 612  namespace pamela { Line 659  namespace pamela {
659    
660    
661  /**********************************************  /**********************************************
662    * Event reader algorithm for Ac2Init events.
663    **********************************************/
664        class Ac2InitReader: public TechmodelAlgorithm {
665        private:
666          /** The Ac2Init event that is created in the reader. */
667          Ac2InitEvent* ac2Init;
668        public:
669          Ac2InitReader(void);
670          virtual void Init(PamelaRun *);
671          virtual void RunEvent(int, long int) throw (WrongCRCException);
672          virtual std::string GetVersionInfo(void) const;
673        };
674    
675    
676    /**********************************************
677  * Event reader algorithm for CalAlarm events.  * Event reader algorithm for CalAlarm events.
678  **********************************************/  **********************************************/
679      class CalAlarmReader: public TechmodelAlgorithm {      class CalAlarmReader: public TechmodelAlgorithm {
# Line 717  namespace pamela { Line 779  namespace pamela {
779    
780    
781    
782    

Legend:
Removed from v.2.3  
changed lines
  Added in v.2.4

  ViewVC Help
Powered by ViewVC 1.1.23