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

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

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

revision 2.1 by kusanagi, Sat Jan 29 00:31:36 2005 UTC revision 4.4 by kusanagi, Sat May 28 10:44:13 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/physics/CalorimeterReader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/physics/TofReader.cpp,v $
3   * $Id: CalorimeterReader.cpp,v 2.3 2004/10/18 14:28:03 kusanagi Exp $   * $Id: TofReader.cpp,v 4.0 2005/03/06 04:33:02 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the CalorimeterReader class.   * Implementation of the CalorimeterReader class.
# Line 50  TofReader::TofReader(void): Line 50  TofReader::TofReader(void):
50   */   */
51  std::string TofReader::GetVersionInfo(void) const {  std::string TofReader::GetVersionInfo(void) const {
52    return    return
53      "$Header: /home/cvsmanager/yoda/techmodel/physics/TofReader.cpp,v 2.3 2004/10/18 14:28:03 kusanagi Exp $";      "$Header: /home/cvsmanager/yoda/techmodel/physics/TofReader.cpp,v 4.0 2005/03/06 04:33:02 kusanagi Exp $";
54  }  }
55    
56  /**  /**
# Line 93  void TofReader::RunEvent(int EventNumber Line 93  void TofReader::RunEvent(int EventNumber
93          char *errmsg;          char *errmsg;
94          switch (ERROR){          switch (ERROR){
95              case 1: errmsg = "GENERIC TOF ERROR";              case 1: errmsg = "GENERIC TOF ERROR";
96                break;
97                default: errmsg = "TOF ERRROR CODE UNIDENTIFIED";
98          }          }
99          oss.flush();          oss.str("");
100          oss << "Fortran77 function tofunpack: " <<  errmsg;          oss << "Fortran77 function tofunpack: " <<  errmsg;
101          logger->warn(oss.str().c_str());          logger->warn(oss.str().c_str());
102      }      }
# Line 130  void TofReader::RunEvent(int EventNumber Line 132  void TofReader::RunEvent(int EventNumber
132                  //            }                  //            }
133          //        }          //        }
134    
   
135          int        tmpadc[12][4];          int        tmpadc[12][4];
136          int        tmptdc[12][4];          int        tmptdc[12][4];
137                
# Line 144  void TofReader::RunEvent(int EventNumber Line 145  void TofReader::RunEvent(int EventNumber
145              }              }
146          }          }
147    
148      delete[] data;      delete [] data;
149  }  }

Legend:
Removed from v.2.1  
changed lines
  Added in v.4.4

  ViewVC Help
Powered by ViewVC 1.1.23