Commit fb0c0236 authored by Munken's avatar Munken
Browse files

Thinking about how to write multiplicities

parent 33d6a4c9
......@@ -38,7 +38,7 @@ namespace AUSA {
*/
explicit CopyableOutput(int maxMultiplicity, std::shared_ptr<Detector> detector = std::shared_ptr<Detector>{}) :
_detector(detector), max(maxMultiplicity) {
_strips = std::shared_ptr<S>(new S[max]);
_strips = std::shared_ptr<S>(new S[max], std::default_delete<S[]>());
_adc = std::shared_ptr<A>(new A[max]);
_time = std::shared_ptr<T>(new T[max]);
_multiplicity = std::shared_ptr<M>(new M[1]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment