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

Diff of /yoda/techmodel/AcAlarmReader.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5.0 by kusanagi, Mon Aug 29 09:46:13 2005 UTC revision 5.1 by kusanagi, Sat Feb 4 12:37:44 2006 UTC
# Line 1  Line 1 
1    /** @file
2     * $Author: Maurizio Nagni $
3     * $Date: 2005/08/29 09:45:48 $
4     * $Revision: 5.0 $
5     *
6     * Implementation of the AcAlarmReader class.
7     */
8    
 // Implementation of the AcAlarmReader class.  
   
9    
 #define UINT unsigned int  
 #define BYTE  unsigned char  
 #include <string>  
10  #include <log4cxx/logger.h>  #include <log4cxx/logger.h>
 extern "C" {  
 #include "CRC.h"  
 }  
   
 #include <fstream>  
 #include "stdio.h"  
11  #include "ReaderAlgorithms.h"  #include "ReaderAlgorithms.h"
12    
13  using namespace pamela;  using namespace pamela;
# Line 33  AcAlarmReader::AcAlarmReader(void): Line 29  AcAlarmReader::AcAlarmReader(void):
29   */   */
30  std::string AcAlarmReader::GetVersionInfo(void) const {  std::string AcAlarmReader::GetVersionInfo(void) const {
31    return    return
32      "$Trailer: /home/cvsmanager/yoda/techmodel/acAlarmReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $\n";      "$Trailer: /home/cvsmanager/yoda/techmodel/acAlarmReader.cpp,v 1.1.1.1 2004/07/06 12:20:23 Maurizio Nagni Exp $\n";
33  }  }
34    
35  /**  /**
# Line 49  void AcAlarmReader::Init(PamelaRun *run) Line 45  void AcAlarmReader::Init(PamelaRun *run)
45  /**  /**
46   * Unpack the AcAlarm event from an input file.   * Unpack the AcAlarm event from an input file.
47   */   */
48  void AcAlarmReader::RunEvent(int EventNumber, long int length) throw (WrongCRCException){  void AcAlarmReader::RunEvent(int EventNumber, long int dataLength) throw (WrongCRCException){
49        
50         logger->warn(_T("Missing definition.... not read"));
51    char     subData[dataLength];
52    InputFile->read(subData, sizeof(unsigned char)*dataLength);
53    
54    
55  }  }
56    

Legend:
Removed from v.5.0  
changed lines
  Added in v.5.1

  ViewVC Help
Powered by ViewVC 1.1.23