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 2.4 2005/01/13 14:50:01 kusanagi Exp $ |
* $Id: TrackerReader.cpp,v 4.0 2005/03/06 04:33:02 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the TrackerPhysicsReader class. |
* Implementation of the TrackerPhysicsReader class. |
67 |
*/ |
*/ |
68 |
std::string TrackerReader::GetVersionInfo(void) const { |
std::string TrackerReader::GetVersionInfo(void) const { |
69 |
return |
return |
70 |
"$Header: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v 2.4 2005/01/13 14:50:01 kusanagi Exp $"; |
"$Header: /home/cvsmanager/yoda/techmodel/physics/TrackerReader.cpp,v 4.0 2005/03/06 04:33:02 kusanagi Exp $"; |
71 |
} |
} |
72 |
|
|
73 |
/** |
/** |
113 |
|
|
114 |
remove(oss.str().c_str()); |
remove(oss.str().c_str()); |
115 |
|
|
116 |
/*if (ERROR != 0) { |
if (ERROR != 0) { |
117 |
char *errmsg; |
char *errmsg; |
118 |
switch (ERROR){ |
switch (ERROR){ |
119 |
case 1: errmsg = "---------------------"; |
case 1: errmsg = "GENERIC TRACKER ERROR"; |
120 |
|
break; |
121 |
|
default: errmsg = "TRACKER ERRROR CODE UNIDENTIFIED"; |
122 |
} |
} |
123 |
} else {*/ |
oss.str(""); |
124 |
|
oss << "Fortran77 function trkeventpkt: " << errmsg; |
125 |
|
logger->warn(oss.str().c_str()); |
126 |
|
} |
127 |
//Store the unpacked data |
//Store the unpacked data |
128 |
tracker->unpackError = ERROR; |
tracker->unpackError = ERROR; |
129 |
tracker->good0 = level0_.good0; |
tracker->good0 = level0_.good0; |
165 |
memcpy(tracker->aswr, level0_.aswr, sizeof(tracker->aswr)); |
memcpy(tracker->aswr, level0_.aswr, sizeof(tracker->aswr)); |
166 |
|
|
167 |
tracker->TOTDATAlength = level0_.TOTDATAlength; |
tracker->TOTDATAlength = level0_.TOTDATAlength; |
168 |
tracker->TrackerData = new TArrayI(level0_.TOTDATAlength, level0_.datatracker); |
//tracker->TrackerData = new TArrayI(level0_.TOTDATAlength, level0_.datatracker); |
169 |
|
tracker->TrackerData = TArrayI(level0_.TOTDATAlength, level0_.datatracker); |
170 |
|
|
171 |
//memcpy(tracker->datatracker, level0_.datatracker, sizeof(tracker->datatracker)); |
//memcpy(tracker->datatracker, level0_.datatracker, sizeof(tracker->datatracker)); |
172 |
//} |
//} |