diff --git a/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx b/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx index 1d96b28ce0adcaa8be44327bc910ee60e606b9db..ef4e4d68ce9dff99596ba2b543851ec2cbd6f843 100644 --- a/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx +++ b/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.cxx @@ -108,7 +108,7 @@ void CbmMvdSensorFrameBuffer::SendInputArray(TClonesArray* inputStream) // ------------------------------------------------------------------------- -void CbmMvdSensorFrameBuffer::SetInput(CbmMvdPoint* point) +void CbmMvdSensorFrameBuffer::SetInput(TObject* point) { new ((*fBuffer)[fBuffer->GetEntriesFast()]) CbmMvdPoint(*((CbmMvdPoint*) point)); diff --git a/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h b/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h index 12d1f6cff5ef9b62c7a3db8ef71bb9bbf857829b..756529f6f4ee6f4ba6a4246f508daadde18f9cf9 100644 --- a/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h +++ b/core/detectors/mvd/plugins/buffers/CbmMvdSensorFrameBuffer.h @@ -49,7 +49,7 @@ public: // Send a new event to the buffer. The event will be absorbed but not processed. // The input - array will be emptied void SendInputArray(TClonesArray* inputStream); - void SetInput(CbmMvdPoint* point); + void SetInput(TObject* point); // Receives the current event from the buffer. The Event is defined by the functions // BuildTimeSlice or BuildMimosaFrame. The memory is not emtied, use Clear*-methods