/[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 1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 1.6 by kusanagi, Thu Jul 29 16:19:11 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: nagni $   * $Author: kusanagi $
3   * $Date: 2004/06/09 23:18:20 $   * $Date: 2004/07/17 20:03:38 $
4   * $Revision: 1.9 $   * $Revision: 1.5 $
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 12  Line 12 
12  #include "TechmodelAlgorithm.h"  #include "TechmodelAlgorithm.h"
13  #include "PscuEvent.h"  #include "PscuEvent.h"
14    
15  #include "VarDumpEvent.h"  #include "varDump/VarDumpEvent.h"
16  #include "ArrDumpEvent.h"  #include "arrDump/ArrDumpEvent.h"
17  #include "TabDumpEvent.h"  #include "tabDump/TabDumpEvent.h"
18    
19  #include "CalibCalEvent.h"  #include "CalibCalEvent.h"
20  #include "CalibTrkEvent.h"  #include "CalibCalPedEvent.h"
21  #include "CalibTrgEvent.h"  #include "CalibAcEvent.h"
22    #include "CalibTrk1Event.h"
23    #include "CalibTrk2Event.h"
24  #include "CalibTrdEvent.h"  #include "CalibTrdEvent.h"
25  #include "CalibTofEvent.h"  #include "CalibTofEvent.h"
26  #include "CalibS4Event.h"  #include "CalibS4Event.h"
27  #include "RunHeaderEvent.h"  #include "RunHeaderEvent.h"
28  #include "RunTrailerEvent.h"  #include "RunTrailerEvent.h"
 #include "ForcedPktEvent.h"  
29  #include "tmtc/TmtcEvent.h"  #include "tmtc/TmtcEvent.h"
30  #include "mcmd/McmdEvent.h"  #include "mcmd/McmdEvent.h"
31  #include "log/LogEvent.h"  #include "log/LogEvent.h"
32    
33  #include "physics/TrackerReader.h"  #include "physics/TrackerReader.h"
34    #include "physics/AnticounterReader.h"
35    #include "physics/CalorimeterReader.h"
36    
37  #define UINT32 unsigned int  #define UINT32 unsigned int
38  #define UINT16 unsigned short  #define UINT16 unsigned short
# Line 45  namespace pamela { Line 48  namespace pamela {
48      class PhysicsReader: public TechmodelAlgorithm {      class PhysicsReader: public TechmodelAlgorithm {
49      private:      private:
50        /** The reader for tracker physics events. */        /** The reader for tracker physics events. */
51        tracker::TrackerReader* trackerReader;        tracker::TrackerReader*           trackerReader;
52        /** The reader for anticoincidence physics events. */        anticounter::AnticounterReader*   anticounterReader;
53        //anticoinc::AnticounterReader* AcReader;        calorimeter::CalorimeterReader*   calorimeterReader;
       /** The reader for calorimeter physics events. */  
       //calorimeter::CalorimeterReader* CalorimeterReader;  
54      public:      public:
55        PhysicsReader(void);        PhysicsReader(void);
56        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
# Line 193  namespace pamela { Line 194  namespace pamela {
194      };      };
195    
196  /**  /**
197       * Event reader algorithm for CalibTrk events.       * Event reader algorithm for CalibCalPed events.
198       */       */
199      class CalibTrkReader: public TechmodelAlgorithm {      class CalibCalPedReader: public TechmodelAlgorithm {
200      private:      private:
201        /** The CalibTrk event that is created in the reader. */        /** The CalibCalPed event that is created in the reader. */
202        CalibTrkEvent* calibTrk;        CalibCalPedEvent* calibCalPed;
203      public:      public:
204        CalibTrkReader(void);        CalibCalPedReader(void);
205          virtual void Init(PamelaRun *);
206          virtual void RunEvent(int, long int);
207          virtual std::string GetVersionInfo(void) const;
208        };
209    
210    
211    /**
212         * Event reader algorithm for CalibTrk1 events.
213         */
214        class CalibTrk1Reader: public TechmodelAlgorithm {
215        private:
216          /** The CalibTrk1 event that is created in the reader. */
217          CalibTrk1Event* calibTrk1;
218        public:
219          CalibTrk1Reader(void);
220        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
221        virtual void RunEvent(int, long int);        virtual void RunEvent(int, long int);
222        //this type of RUNEvent should be the future develop.        //this type of RUNEvent should be the future develop.
# Line 210  namespace pamela { Line 226  namespace pamela {
226      };      };
227    
228  /**  /**
229       * Event reader algorithm for CalibTrg events.       * Event reader algorithm for CalibTrk2 events.
230       */       */
231      class CalibTrgReader: public TechmodelAlgorithm {      class CalibTrk2Reader: public TechmodelAlgorithm {
232      private:      private:
233        /** The CalibTrg event that is created in the reader. */        /** The CalibTrk2 event that is created in the reader. */
234        CalibTrgEvent* calibTrg;        CalibTrk2Event* calibTrk2;
235      public:      public:
236        CalibTrgReader(void);        CalibTrk2Reader(void);
237        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
238        virtual void RunEvent(int, long int);        virtual void RunEvent(int, long int);
239        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
# Line 294  namespace pamela { Line 310  namespace pamela {
310        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
311      };      };
312    
313    
314  /**  /**
315       * Event reader algorithm for ForcedPkt events.       * Event reader algorithm for ForcedPkt events.
316       */       */
317      class ForcedPktReader: public TechmodelAlgorithm {      class CalibAcReader: public TechmodelAlgorithm {
318      private:      private:
319        /** The ForcedPkt event that is created in the reader. */        /** The CalibAc event that is created in the reader. */
320        ForcedPktEvent* ForcedPkt;        CalibAcEvent* CalibAc;
321      public:      public:
322        ForcedPktReader(void);        CalibAcReader(void);
323        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
324        virtual void RunEvent(int, long int);        virtual void RunEvent(int, long int);
325        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
326      };      };
   
327    }    }
328  }  }
329    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23