/[PAMELA software]/chewbacca/PamOffLineSW/physics/S4Reader.cpp
ViewVC logotype

Diff of /chewbacca/PamOffLineSW/physics/S4Reader.cpp

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

revision 1.1 by mocchiut, Tue Sep 23 07:20:23 2008 UTC revision 1.2 by mocchiut, Fri Jul 24 13:53:42 2009 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /repository/PamOffLineSW/physics/S4Reader.cpp,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/physics/S4Reader.cpp,v $
3   * $Id: S4Reader.cpp,v 1.5 2008-03-05 11:37:37 messineo Exp $   * $Id: S4Reader.cpp,v 1.1.1.1 2008/09/23 07:20:23 mocchiut Exp $
4   * $Author: messineo $   * $Author: mocchiut $
5   *   *
6   * Implementation of the S4Reader class.   * Implementation of the S4Reader class.
7   */   */
# Line 26  S4Reader::S4Reader(void): Line 26  S4Reader::S4Reader(void):
26   */   */
27  std::string S4Reader::GetVersionInfo(void) const {  std::string S4Reader::GetVersionInfo(void) const {
28    return    return
29      "$Header: /repository/PamOffLineSW/physics/S4Reader.cpp,v 1.5 2008-03-05 11:37:37 messineo Exp $";      "$Header: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/PamOffLineSW/physics/S4Reader.cpp,v 1.1.1.1 2008/09/23 07:20:23 mocchiut Exp $";
30  }  }
31    
32  /**  /**
# Line 50  void S4Reader::RunEvent(int EventNumber) Line 50  void S4Reader::RunEvent(int EventNumber)
50   * consequently supposing the Neutron data (12 Bytes) always present S4 start 18 Bytes before the end of the packet   * consequently supposing the Neutron data (12 Bytes) always present S4 start 18 Bytes before the end of the packet
51   */   */
52  void S4Reader::RunEvent(int EventNumber, const char subData[], long int length) {  void S4Reader::RunEvent(int EventNumber, const char subData[], long int length) {
53     int offset;    //   int offset;
54     int index = haveData(&*subData, length);     int index = haveData(&*subData, length);
55        
56     if (index > 0){     if (index > 0){

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23