mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
changes for new chipterboard -now works with reduced dynamic range and analog/digital readout
This commit is contained in:
@ -632,13 +632,24 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
int getMaxMods(){return thisDetector->nModsMax;}; //
|
||||
|
||||
|
||||
int getTotalNumberOfChannels(){return thisDetector->nChans*thisDetector->nChips*thisDetector->nMods;};
|
||||
/** number of rois defined */
|
||||
int nROI;
|
||||
/** list of rois */
|
||||
ROI roiLimits[MAX_ROIS];
|
||||
|
||||
/** readout flags */
|
||||
readOutFlags roFlags;
|
||||
|
||||
int getTotalNumberOfChannels(dimension d){return thisDetector->nChan[d]*thisDetector->nChip[d]*thisDetector->nMod[d];};
|
||||
|
||||
int getMaxNumberOfChannels(){return thisDetector->nChans*thisDetector->nChips*thisDetector->nModsMax;};
|
||||
int getTotalNumberOfChannels();
|
||||
//{return thisDetector->nChans*thisDetector->nChips*thisDetector->nMods;};
|
||||
|
||||
int getMaxNumberOfChannels(dimension d){return thisDetector->nChan[d]*thisDetector->nChip[d]*thisDetector->nModMax[d];};
|
||||
int getTotalNumberOfChannels(dimension d);
|
||||
//{return thisDetector->nChan[d]*thisDetector->nChip[d]*thisDetector->nMod[d];};
|
||||
|
||||
int getMaxNumberOfChannels();//{return thisDetector->nChans*thisDetector->nChips*thisDetector->nModsMax;};
|
||||
|
||||
int getMaxNumberOfChannels(dimension d);//{return thisDetector->nChan[d]*thisDetector->nChip[d]*thisDetector->nModMax[d];};
|
||||
|
||||
/** Returns number of rois */
|
||||
int getNRoi(){return thisDetector->nROI;};
|
||||
@ -1253,7 +1264,7 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
\param datain data from the detector
|
||||
\returns pointer to a double array with a data per channel
|
||||
*/
|
||||
double* decodeData(int *datain, double *fdata=NULL);
|
||||
double* decodeData(int *datain, int &nn, double *fdata=NULL);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user