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

Diff of /yoda/techmodel/EventReader.cpp

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

revision 6.10 by mocchiut, Mon Nov 13 11:45:49 2006 UTC revision 6.11 by mocchiut, Tue Nov 14 15:41:41 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: mocchiut $   * $Author: mocchiut $
3   * $Date: 2006/09/29 10:19:22 $   * $Date: 2006/11/13 11:45:49 $
4   * $Revision: 6.9 $   * $Revision: 6.10 $
5   *   *
6   * Implementation of the functions of a sample Algorithm class.   * Implementation of the functions of a sample Algorithm class.
7   * This file can be used as a templace to develop your own algorithm.   * This file can be used as a templace to develop your own algorithm.
# Line 87  EventReader::EventReader(int packetsLimi Line 87  EventReader::EventReader(int packetsLimi
87   */   */
88  std::string EventReader::GetVersionInfo(void) const {  std::string EventReader::GetVersionInfo(void) const {
89    return    return
90      "$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/EventReader.cpp,v 6.9 2006/09/29 10:19:22 mocchiut Exp $\n";      "$Header: /afs/ba.infn.it/user/pamela/src/CVS/yoda/techmodel/EventReader.cpp,v 6.10 2006/11/13 11:45:49 mocchiut Exp $\n";
91  }  }
92    
93  /**  /**
# Line 120  void EventReader::RunEvent(int EventNumb Line 120  void EventReader::RunEvent(int EventNumb
120    stringstream oss;    stringstream oss;
121    int step = 0;    int step = 0;
122    const PacketType* type;    const PacketType* type;
123    while (!InputFile->eof() && ((step++ < maxPackets) || (maxPackets == 0))){    while (InputFile->good() && !InputFile->eof() && ((step++ < maxPackets) || (maxPackets == 0))){
124      try {      try {
125        if (FindStart()) {        if (FindStart()) {
126              UnpackPscuHeader();              UnpackPscuHeader();

Legend:
Removed from v.6.10  
changed lines
  Added in v.6.11

  ViewVC Help
Powered by ViewVC 1.1.23