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:
l_msdetect
2013-10-18 14:42:38 +00:00
parent b5992ed5b8
commit b652a8560d
3 changed files with 100 additions and 32 deletions

View File

@ -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]);