mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 17:47:59 +02:00
moench multithread tree maker
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@5 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
@ -92,7 +92,7 @@ class slsDetectorData {
|
||||
*/
|
||||
|
||||
|
||||
int getChannel(char *data, int ix, int iy=1) {
|
||||
inline int getChannel(char *data, int ix, int iy=1) {
|
||||
return (*(data+dataMap[iy][ix]))^dataMask[iy][ix];
|
||||
};
|
||||
|
||||
@ -107,7 +107,7 @@ class slsDetectorData {
|
||||
|
||||
*/
|
||||
|
||||
u_int16_t getChannelShort(char *data, int ix, int iy=1) {
|
||||
inline u_int16_t getChannelShort(char *data, int ix, int iy=1) {
|
||||
u_int16_t m=dataMask[iy][ix], d=*(u_int16_t*)(data+dataMap[iy][ix]);
|
||||
// cout << ix << " " << iy << " " << dataMap[ix][iy] << endl;
|
||||
// return (*(dd+dataMap[ix][iy]))^((u_int16_t)dataMask[ix][iy]);
|
||||
|
Reference in New Issue
Block a user