/[PAMELA software]/yoda/techmodel/physics/TrackerReader.cpp
ViewVC logotype

Diff of /yoda/techmodel/physics/TrackerReader.cpp

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

revision 2.2 by kusanagi, Wed Dec 22 11:39:16 2004 UTC revision 2.3 by kusanagi, Mon Jan 3 14:20:13 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v $
3   * $Id: TrackerReader.cpp,v 2.1 2004/10/17 12:28:46 kusanagi Exp $   * $Id: TrackerReader.cpp,v 2.2 2004/12/22 11:39:16 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the TrackerPhysicsReader class.   * Implementation of the TrackerPhysicsReader class.
# Line 10  Line 10 
10  #include <log4cxx/logger.h>  #include <log4cxx/logger.h>
11  #include "TrackerReader.h"  #include "TrackerReader.h"
12  #include "event/physics/tracker/TrackerEvent.h"  #include "event/physics/tracker/TrackerEvent.h"
13    //#include <TArrayC.h>
14    
15  extern "C" {  extern "C" {
16      //Passo il path verso la il file temporaneo      //Passo il path verso la il file temporaneo
# Line 65  TrackerReader::TrackerReader(void): Line 66  TrackerReader::TrackerReader(void):
66   */   */
67  std::string TrackerReader::GetVersionInfo(void) const {  std::string TrackerReader::GetVersionInfo(void) const {
68    return    return
69      "$Header: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v 2.1 2004/10/17 12:28:46 kusanagi Exp $";      "$Header: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v 2.2 2004/12/22 11:39:16 kusanagi Exp $";
70  }  }
71    
72  /**  /**
# Line 154  void TrackerReader::RunEvent(int EventNu Line 155  void TrackerReader::RunEvent(int EventNu
155      memcpy(tracker->alarm, level0_.alarm, sizeof(tracker->alarm));          memcpy(tracker->alarm, level0_.alarm, sizeof(tracker->alarm));    
156      memcpy(tracker->aswr, level0_.aswr, sizeof(tracker->aswr));                memcpy(tracker->aswr, level0_.aswr, sizeof(tracker->aswr));          
157      tracker->TOTDATAlength = level0_.TOTDATAlength;      tracker->TOTDATAlength = level0_.TOTDATAlength;
158      memcpy(tracker->datatracker, level0_.datatracker, sizeof(tracker->datatracker));            
159        tracker->TrackerData  = new TArrayI(level0_.TOTDATAlength, level0_.datatracker);
160        //memcpy(tracker->datatracker, level0_.datatracker, sizeof(tracker->datatracker));          
161      //}      //}
162            
163  }  }

Legend:
Removed from v.2.2  
changed lines
  Added in v.2.3

  ViewVC Help
Powered by ViewVC 1.1.23