From 791fb41a398295c9604bc98ae4284bece9f850b6 Mon Sep 17 00:00:00 2001 From: "theodore.efremov" <theodore.efremov@cea.fr> Date: Mon, 2 Dec 2024 14:28:53 +0100 Subject: [PATCH] Fixed some bug --- NPLib/Detectors/PISTA/TTimeData.cxx | 2 +- NPLib/Detectors/PISTA/TTimeData.h | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/NPLib/Detectors/PISTA/TTimeData.cxx b/NPLib/Detectors/PISTA/TTimeData.cxx index 8334473af..0ceb7608e 100644 --- a/NPLib/Detectors/PISTA/TTimeData.cxx +++ b/NPLib/Detectors/PISTA/TTimeData.cxx @@ -6,7 +6,7 @@ *****************************************************************************/ /***************************************************************************** - * Original Author: Théodore Efremov contact address: theodore.efremov@cea.fr + * Original Author: Théodore Efremov contact address: theodore.efremov@cea.fr* * * * Creation Date : Nov 2024 * * Last update : * diff --git a/NPLib/Detectors/PISTA/TTimeData.h b/NPLib/Detectors/PISTA/TTimeData.h index 0ce7b2d65..2d036067c 100644 --- a/NPLib/Detectors/PISTA/TTimeData.h +++ b/NPLib/Detectors/PISTA/TTimeData.h @@ -101,8 +101,15 @@ class TTimeData : public TObject { inline float GetTime_MWPC24(const unsigned int &i) const {return fTime_MWPC24.at(i) ;}//! - inline UShort_t GetMWPCMult() const - {return fTS_MWPC13.size();} + inline Int_t GetMWPC13Mult() const + {return static_cast<int>(fTime_MWPC13.size());} + inline Int_t GetMWPC14Mult() const + {return static_cast<int>(fTime_MWPC14.size());} + inline Int_t GetMWPC23Mult() const + {return static_cast<int>(fTime_MWPC23.size());} + inline Int_t GetMWPC24Mult() const + {return static_cast<int>(fTime_MWPC24.size());} + ////////////////////////////////////////////////////////////// // Required for ROOT dictionnary ClassDef(TTimeData,1) // TimeData structure -- GitLab