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

Diff of /yoda/techmodel/CalibTrk2Reader.cpp

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

revision 4.1 by kusanagi, Wed Mar 9 19:44:19 2005 UTC revision 4.2 by kusanagi, Wed Mar 16 22:51:36 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/techmodel/CalibTrk2Reader.cpp,v $   * $Source: /home/cvsmanager/yoda/techmodel/CalibTrk2Reader.cpp,v $
3   * $Id: CalibTrk2Reader.cpp,v 4.0 2005/03/06 04:33:02 kusanagi Exp $   * $Id: CalibTrk2Reader.cpp,v 4.1 2005/03/09 19:44:19 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Implementation of the LogReader class.   * Implementation of the LogReader class.
# Line 65  CalibTrk2Reader::CalibTrk2Reader(void): Line 65  CalibTrk2Reader::CalibTrk2Reader(void):
65   */   */
66  std::string CalibTrk2Reader::GetVersionInfo(void) const {  std::string CalibTrk2Reader::GetVersionInfo(void) const {
67    return    return
68      "$Header: /home/cvsmanager/yoda/techmodel/CalibTrk2Reader.cpp,v 4.0 2005/03/06 04:33:02 kusanagi Exp $\n";      "$Header: /home/cvsmanager/yoda/techmodel/CalibTrk2Reader.cpp,v 4.1 2005/03/09 19:44:19 kusanagi Exp $\n";
69  }  }
70    
71  /**  /**
# Line 129  void CalibTrk2Reader::RunEvent(int Event Line 129  void CalibTrk2Reader::RunEvent(int Event
129  //        memcpy(calibTrk2->DSPped_par,   trkcalib_.DSPped_par, sizeof(calibTrk2->DSPped_par));        //        memcpy(calibTrk2->DSPped_par,   trkcalib_.DSPped_par, sizeof(calibTrk2->DSPped_par));      
130  //        memcpy(calibTrk2->DSPsig_par,   trkcalib_.DSPsig_par, sizeof(calibTrk2->DSPsig_par));        //        memcpy(calibTrk2->DSPsig_par,   trkcalib_.DSPsig_par, sizeof(calibTrk2->DSPsig_par));      
131  //--------have to invert array because of FORTRAN <-> C different management of the indexes  //--------have to invert array because of FORTRAN <-> C different management of the indexes
132      int tempBad_par[3072][6];      int     tempBad_par[3072][6];
133      int tempPed_par[3072][6];      float   tempPed_par[3072][6];
134      int tempSig_par[3072][6];      float   tempSig_par[3072][6];
135      memcpy(tempBad_par,trkcalib_.DSPbad_par, sizeof(tempBad_par));            memcpy(tempBad_par,trkcalib_.DSPbad_par, sizeof(tempBad_par));      
136      memcpy(tempPed_par,trkcalib_.DSPped_par, sizeof(tempPed_par));            memcpy(tempPed_par,trkcalib_.DSPped_par, sizeof(tempPed_par));      
137      memcpy(tempSig_par,trkcalib_.DSPsig_par, sizeof(tempSig_par));            memcpy(tempSig_par,trkcalib_.DSPsig_par, sizeof(tempSig_par));      
# Line 147  void CalibTrk2Reader::RunEvent(int Event Line 147  void CalibTrk2Reader::RunEvent(int Event
147      oss.str("");      oss.str("");
148      oss <<  "Fortran77 function trkcalibpkt error code = " << ERROR;      oss <<  "Fortran77 function trkcalibpkt error code = " << ERROR;
149      logger->warn(oss.str().c_str());      logger->warn(oss.str().c_str());
       
     //delete [] subData;  
150  }  }
151    

Legend:
Removed from v.4.1  
changed lines
  Added in v.4.2

  ViewVC Help
Powered by ViewVC 1.1.23