/[PAMELA software]/yoda/techmodel/PscuReader.cpp
ViewVC logotype

Diff of /yoda/techmodel/PscuReader.cpp

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 6.0 by kusanagi, Tue Feb 7 17:11:10 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvspamela/yoda/techmodel/PscuReader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/PscuReader.cpp,v $
3   * $Id: PscuReader.cpp,v 1.6 2004/03/16 10:18:28 nagni Exp $   * $Id: PscuReader.cpp,v 5.1 2006/02/04 12:37:45 kusanagi Exp $
4   * $Author: nagni $   * $Author: kusanagi $
5   *   *
6   * Implementation of the OrbitalReader class.   * Implementation of the OrbitalReader class.
7   */   */
8    
9  #include <string>  #include <string>
10  #include <log4cpp/Category.hh>  #include <log4cxx/logger.h>
11    
12  #include "ReaderAlgorithms.h"  #include "ReaderAlgorithms.h"
13    
14  using namespace pamela;  using namespace pamela;
15  using namespace pamela::techmodel;  using namespace pamela::techmodel;
16    
17  static log4cpp::Category& cat = log4cpp::Category::getInstance("pamela.techmodel.PscuReader");    static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.PscuReader"));
18    
19  /**  /**
20   * Constructor.   * Constructor.
21   */   */
22  PscuReader::PscuReader(void):  PscuReader::PscuReader(void):
23    TechmodelAlgorithm(PacketType::Pscu, "TechmodelPscuReader") {    TechmodelAlgorithm(PacketType::Pscu, "TechmodelPscuReader") {
24    cat.debug("Constructor");    logger->debug(_T("Constructor"));
25    Pscu = new PscuEvent();    Pscu = new PscuEvent();
26  }  }
27    
# Line 30  PscuReader::PscuReader(void): Line 30  PscuReader::PscuReader(void):
30   */   */
31  std::string PscuReader::GetVersionInfo(void) const {  std::string PscuReader::GetVersionInfo(void) const {
32    return    return
33      "$Header: /home/cvspamela/yoda/techmodel/PscuReader.cpp,v 1.6 2004/03/16 10:18:28 nagni Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/PscuReader.cpp,v 5.1 2006/02/04 12:37:45 kusanagi Exp $\n";
34  }  }
35    
36  /**  /**
# Line 40  std::string PscuReader::GetVersionInfo(v Line 40  std::string PscuReader::GetVersionInfo(v
40  void PscuReader::Init(PamelaRun *run) {  void PscuReader::Init(PamelaRun *run) {
41    SetInputStream(run);    SetInputStream(run);
42    run->WriteSubPacket(this, &Pscu, Pscu->Class());    run->WriteSubPacket(this, &Pscu, Pscu->Class());
43      logger->debug(_T("Initialize"));
44  }  }
45    
46  /**  /**
47   * Unpack the orbital event from an input file.   * Unpack the orbital event from an input file.
48   */   */
49  void PscuReader::RunEvent(int EventNumber, long int length) {  void PscuReader::RunEvent(int EventNumber, long int length) throw (WrongCRCException){
50    // First step: unpack the event into the event class.    // First step: unpack the event into the event class.
51  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23