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. |
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 |
/** |
/** |
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)); |
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 |
|
|