From beca4041ea8e9862094504910e5fac62b5697ff3 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Wed, 18 Jan 2023 16:30:36 +0100 Subject: [PATCH] Cleanup dependencies in CbmMvdSensor Remove function SetProduceNoise from CbmMvdSensor and CbmMvdDetector. The function from the plugin is now called directly from the digitizer. Exchange some casts to the final taks by using the base class instead. --- core/detectors/mvd/CbmMvdDetector.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/detectors/mvd/CbmMvdDetector.h b/core/detectors/mvd/CbmMvdDetector.h index 59bfaf74a2..8e4ec00675 100644 --- a/core/detectors/mvd/CbmMvdDetector.h +++ b/core/detectors/mvd/CbmMvdDetector.h @@ -99,6 +99,11 @@ public: CbmMvdStationPar* GetParameterFile() { return fParameter; }; void PrintParameter() { fParameter->Print(); }; +/* + static void SetSensorTyp(CbmMvdSensorTyp typ) { fSensorTyp = typ; }; + + void SetSensorArrayFilled(Bool_t value = kTRUE) {fSensorArrayFilled=value;} +*/ private: static CbmMvdSensorTyp fSensorTyp; -- GitLab