/[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.2 by kusanagi, Fri Dec 3 22:08:01 2004 UTC revision 2.3 by kusanagi, Thu Dec 9 08:48:41 2004 UTC
# Line 1  Line 1 
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   */   */
# Line 20  Line 20 
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"
# Line 50  Line 51 
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    
# Line 125  namespace pamela { Line 128  namespace pamela {
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 *);
# Line 592  namespace pamela { Line 596  namespace pamela {
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.
# Line 664  namespace pamela { Line 682  namespace pamela {
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 {
# Line 684  namespace pamela { Line 716  namespace pamela {
716  #endif /* READER_ALGORITHM_H */  #endif /* READER_ALGORITHM_H */
717    
718    
719    

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

  ViewVC Help
Powered by ViewVC 1.1.23