/[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.1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 1.5 by kusanagi, Sat Jul 17 20:03:38 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/08 12:31:42 $
4   * $Revision: 1.9 $   * $Revision: 1.4 $
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"
# Line 30  Line 32 
32  #include "log/LogEvent.h"  #include "log/LogEvent.h"
33    
34  #include "physics/TrackerReader.h"  #include "physics/TrackerReader.h"
35    #include "physics/AnticounterReader.h"
36    #include "physics/CalorimeterReader.h"
37    
38  #define UINT32 unsigned int  #define UINT32 unsigned int
39  #define UINT16 unsigned short  #define UINT16 unsigned short
# Line 45  namespace pamela { Line 49  namespace pamela {
49      class PhysicsReader: public TechmodelAlgorithm {      class PhysicsReader: public TechmodelAlgorithm {
50      private:      private:
51        /** The reader for tracker physics events. */        /** The reader for tracker physics events. */
52        tracker::TrackerReader* trackerReader;        tracker::TrackerReader*           trackerReader;
53        /** The reader for anticoincidence physics events. */        anticounter::AnticounterReader*   anticounterReader;
54        //anticoinc::AnticounterReader* AcReader;        calorimeter::CalorimeterReader*   calorimeterReader;
       /** The reader for calorimeter physics events. */  
       //calorimeter::CalorimeterReader* CalorimeterReader;  
55      public:      public:
56        PhysicsReader(void);        PhysicsReader(void);
57        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
# Line 193  namespace pamela { Line 195  namespace pamela {
195      };      };
196    
197  /**  /**
198       * Event reader algorithm for CalibTrk events.       * Event reader algorithm for CalibCalPed events.
199       */       */
200      class CalibTrkReader: public TechmodelAlgorithm {      class CalibCalPedReader: public TechmodelAlgorithm {
201      private:      private:
202        /** The CalibTrk event that is created in the reader. */        /** The CalibCalPed event that is created in the reader. */
203        CalibTrkEvent* calibTrk;        CalibCalPedEvent* calibCalPed;
204      public:      public:
205        CalibTrkReader(void);        CalibCalPedReader(void);
206          virtual void Init(PamelaRun *);
207          virtual void RunEvent(int, long int);
208          virtual std::string GetVersionInfo(void) const;
209        };
210    
211    
212    /**
213         * Event reader algorithm for CalibTrk1 events.
214         */
215        class CalibTrk1Reader: public TechmodelAlgorithm {
216        private:
217          /** The CalibTrk1 event that is created in the reader. */
218          CalibTrk1Event* calibTrk1;
219        public:
220          CalibTrk1Reader(void);
221        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
222        virtual void RunEvent(int, long int);        virtual void RunEvent(int, long int);
223        //this type of RUNEvent should be the future develop.        //this type of RUNEvent should be the future develop.
# Line 210  namespace pamela { Line 227  namespace pamela {
227      };      };
228    
229  /**  /**
230       * Event reader algorithm for CalibTrg events.       * Event reader algorithm for CalibTrk2 events.
231       */       */
232      class CalibTrgReader: public TechmodelAlgorithm {      class CalibTrk2Reader: public TechmodelAlgorithm {
233      private:      private:
234        /** The CalibTrg event that is created in the reader. */        /** The CalibTrk2 event that is created in the reader. */
235        CalibTrgEvent* calibTrg;        CalibTrk2Event* calibTrk2;
236      public:      public:
237        CalibTrgReader(void);        CalibTrk2Reader(void);
238        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
239        virtual void RunEvent(int, long int);        virtual void RunEvent(int, long int);
240        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
# Line 308  namespace pamela { Line 325  namespace pamela {
325        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
326      };      };
327    
328    /**
329         * Event reader algorithm for ForcedPkt events.
330         */
331        class CalibAcReader: public TechmodelAlgorithm {
332        private:
333          /** The CalibAc event that is created in the reader. */
334          CalibAcEvent* CalibAc;
335        public:
336          CalibAcReader(void);
337          virtual void Init(PamelaRun *);
338          virtual void RunEvent(int, long int);
339          virtual std::string GetVersionInfo(void) const;
340        };
341    }    }
342  }  }
343    

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23