1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v $ |
3 |
* $Id: TrackerReader.cpp,v 1.3 2004/07/26 23:09:47 kusanagi Exp $ |
* $Id: TrackerReader.cpp,v 1.4 2004/08/19 15:24:58 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the TrackerPhysicsReader class. |
* Implementation of the TrackerPhysicsReader class. |
66 |
*/ |
*/ |
67 |
std::string TrackerReader::GetVersionInfo(void) const { |
std::string TrackerReader::GetVersionInfo(void) const { |
68 |
return |
return |
69 |
"$Header: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v 1.3 2004/07/26 23:09:47 kusanagi Exp $"; |
"$Header: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v 1.4 2004/08/19 15:24:58 kusanagi Exp $"; |
70 |
} |
} |
71 |
|
|
72 |
/** |
/** |
106 |
|
|
107 |
remove((char*)pathDir.c_str()); |
remove((char*)pathDir.c_str()); |
108 |
|
|
109 |
|
/*if (ERROR != 0) { |
110 |
|
char *errmsg; |
111 |
|
switch (ERROR){ |
112 |
|
case 1: errmsg = "---------------------"; |
113 |
|
} |
114 |
|
cat << log4cpp::Priority::ERROR |
115 |
|
<< "Fortran77 function trkcalibpkt error code = " << ERROR |
116 |
|
<< "\n " << log4cpp::CategoryStream::ENDLINE; |
117 |
|
} else {*/ |
118 |
//Store the unpacked data |
//Store the unpacked data |
119 |
memcpy(tracker->DAQmode, level0_.DAQmode, sizeof(tracker->DAQmode)); |
memcpy(tracker->DAQmode, level0_.DAQmode, sizeof(tracker->DAQmode)); |
120 |
memcpy(tracker->DSPnumber, level0_.DSPnumber, sizeof(tracker->DSPnumber)); |
memcpy(tracker->DSPnumber, level0_.DSPnumber, sizeof(tracker->DSPnumber)); |
152 |
memcpy(tracker->aswr, level0_.aswr, sizeof(tracker->aswr)); |
memcpy(tracker->aswr, level0_.aswr, sizeof(tracker->aswr)); |
153 |
tracker->TOTDATAlength = level0_.TOTDATAlength; |
tracker->TOTDATAlength = level0_.TOTDATAlength; |
154 |
memcpy(tracker->datatracker, level0_.datatracker, sizeof(tracker->datatracker)); |
memcpy(tracker->datatracker, level0_.datatracker, sizeof(tracker->datatracker)); |
155 |
|
//} |
156 |
|
|
|
cat << log4cpp::Priority::ERROR |
|
|
<< "Fortran77 function trkcalibpkt error code = " << ERROR |
|
|
<< "\n " << log4cpp::CategoryStream::ENDLINE; |
|
157 |
} |
} |