/[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.4 by kusanagi, Thu Dec 16 17:32:57 2004 UTC revision 2.8 by kusanagi, Fri Feb 18 18:19:14 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: kusanagi $   * $Author: kusanagi $
3   * $Date: 2004/12/09 08:48:41 $   * $Date: 2005/01/29 00:26:55 $
4   * $Revision: 2.3 $   * $Revision: 2.7 $
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 21  Line 21 
21  #include "physics/CalorimeterReader.h"  #include "physics/CalorimeterReader.h"
22  #include "physics/NeutronDetectorReader.h"  #include "physics/NeutronDetectorReader.h"
23  #include "physics/S4Reader.h"  #include "physics/S4Reader.h"
24    #include "physics/TofReader.h"
25    #include "physics/TriggerReader.h"
26  #include "CalibTrkBothEvent.h"  #include "CalibTrkBothEvent.h"
27  #include "CalibTrk1Event.h"  #include "CalibTrk1Event.h"
28  #include "CalibTrk2Event.h"  #include "CalibTrk2Event.h"
# Line 133  namespace pamela { Line 135  namespace pamela {
135        calorimeter::CalorimeterReader*   calorimeterReader;        calorimeter::CalorimeterReader*   calorimeterReader;
136        neutron::NeutronDetectorReader*   neutronReader;        neutron::NeutronDetectorReader*   neutronReader;
137        S4::S4Reader*                     s4Reader;        S4::S4Reader*                     s4Reader;
138          tof::TofReader*                   tofReader;
139          trigger::TriggerReader*           triggerReader;
140      public:      public:
141        PhysicsReader(void);        PhysicsReader(void);
142        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
# Line 232  namespace pamela { Line 236  namespace pamela {
236      public:      public:
237        CalibS4Reader(void);        CalibS4Reader(void);
238        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
239        virtual void RunEvent(int, long int) throw (Exception);        virtual void RunEvent(int, long int) throw (WrongCRCException);
240        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
241      };      };
242    
# Line 508  namespace pamela { Line 512  namespace pamela {
512  **********************************************/  **********************************************/
513      class TmtcReader: public TechmodelAlgorithm {      class TmtcReader: public TechmodelAlgorithm {
514      //Length in bytes of the subPacket (that is te TmtcRecord excluded subCRC)      //Length in bytes of the subPacket (that is te TmtcRecord excluded subCRC)
515      static const int TMTC_SUB_LENGTH = 57;      static const int TMTC_SUB_LENGTH = 36;
516      //Length in bytes of the subPacketCRC      //Length in bytes of the subPacketCRC
517      static const int TMTC_SUBCRC_LENGTH = 1;      static const int TMTC_SUBCRC_LENGTH = 1;
518      //Length in bytes of the PacketCRC      //Length in bytes of the PacketCRC
# Line 516  namespace pamela { Line 520  namespace pamela {
520      private:      private:
521        /** The TMTC event that is created in the reader. */        /** The TMTC event that is created in the reader. */
522        TmtcEvent* Tmtc;        TmtcEvent* Tmtc;
523        float convert_th(int);        //float convert_th(int);
524      public:      public:
525      TmtcReader(void);      TmtcReader(void);
526      virtual void Init(PamelaRun *);      virtual void Init(PamelaRun *);

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

  ViewVC Help
Powered by ViewVC 1.1.23