mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
Fix bug to allow larger clusters
This commit is contained in:
@ -19,7 +19,7 @@ using namespace std;
|
||||
|
||||
class multiThreadedCountingDetector : public multiThreadedAnalogDetector {
|
||||
public:
|
||||
multiThreadedCountingDetector(singlePhotonDetector *d, int n, int fs = 1000)
|
||||
multiThreadedCountingDetector(singlePhotonDetector *d, int n, int fs = 1000)
|
||||
: multiThreadedAnalogDetector(d, n, fs){};
|
||||
// virtual
|
||||
// ~multiThreadedCountingDetector{multiThreadedAnalogDetector::~multiThreadedAnalogDetector();};
|
||||
@ -33,6 +33,11 @@ class multiThreadedCountingDetector : public multiThreadedAnalogDetector {
|
||||
for (int i = 0; i < nThreads; i++)
|
||||
(dets[i])->setEnergyRange(emi, ema);
|
||||
};
|
||||
virtual void setClusterSize(int sizex, int sizey) {
|
||||
for (int i = 0; i < nThreads; i++)
|
||||
((dets[i]))->setClusterSize(sizex, sizey);
|
||||
//std::cout << "+++++++++++++ sizex " << sizex << std::endl;
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user