Fixed build of the moenchZmqExecutables (#706)

* changed to pure virtual methods for Clone and setClusterSize

* added std::

* added moench to the github actions build
This commit is contained in:
Erik Fröjdh
2023-03-29 15:01:22 +02:00
committed by GitHub
parent 08c0c59a28
commit 3b8c612103
5 changed files with 52 additions and 53 deletions

View File

@ -220,7 +220,7 @@ template <class dataType> class analogDetector {
clone. Must be virtual!
\returns a clone of the original analog detector
*/
virtual analogDetector *Clone() { return new analogDetector(this); }
virtual analogDetector *Clone() = 0;
/**
Gives an id to the structure. For debugging purposes in case of
@ -1097,8 +1097,7 @@ template <class dataType> class analogDetector {
return thr;
};
virtual int setClusterSize(int n = -1) {
};
virtual int setClusterSize(int n = -1) = 0;
/**
gets threshold value for conversion into number of photons