diff --git a/core/data/psd/CbmPsdDigi.h b/core/data/psd/CbmPsdDigi.h index 935b274d3a91c8f29812b5aa734e95fc28f59721..629e0f7e96a0f0f7935e7cae9df4e0ee9771cec7 100644 --- a/core/data/psd/CbmPsdDigi.h +++ b/core/data/psd/CbmPsdDigi.h @@ -91,6 +91,12 @@ public: UInt_t GetAddress() const { return fuAddress; }; + /** @brief Get the desired name of the branch for this obj in the cbm output tree (static) + ** @return "PsdDigi" + **/ + static const char* GetBranchName() { return "PsdDigi"; } + + /** @brief Time ** @return Time [ns] **/ diff --git a/core/data/rich/CbmRichDigi.h b/core/data/rich/CbmRichDigi.h index 4b6ac8e6eb9bb45a3e0ba517b2d573a72c29b8dc..ea4af41355ee2e406e048371c5c2da6de7209e4f 100644 --- a/core/data/rich/CbmRichDigi.h +++ b/core/data/rich/CbmRichDigi.h @@ -40,6 +40,11 @@ public: */ Int_t GetAddress() const { return fAddress; } + /** @brief Get the desired name of the branch for this obj in the cbm output tree (static) + ** @return "RichDigi" + **/ + static const char* GetBranchName() { return "RichDigi"; } + /** @brief Charge ** @return Returns TOT as charge ** diff --git a/core/data/sts/CbmStsDigi.h b/core/data/sts/CbmStsDigi.h index c78e56c7872a3921ea9dea66936580d6ba924296..43d6be737588596b6f2cea9dfee89765ed8980c0 100644 --- a/core/data/sts/CbmStsDigi.h +++ b/core/data/sts/CbmStsDigi.h @@ -62,6 +62,12 @@ public: Int_t GetAddress() const { return fAddress; } + /** @brief Get the desired name of the branch for this obj in the cbm output tree (static) + ** @return "StsDigi" + **/ + static const char* GetBranchName() { return "StsDigi"; } + + /** @brief Channel number in module ** @value Channel number **/ diff --git a/core/data/tof/CbmTofDigi.h b/core/data/tof/CbmTofDigi.h index 9546b838df892c1a9f91abf326921261fd1c5289..7e19338110946e9f1dfff1a3594830178e880c77 100644 --- a/core/data/tof/CbmTofDigi.h +++ b/core/data/tof/CbmTofDigi.h @@ -96,6 +96,12 @@ public: Int_t GetAddress() const { return fuAddress; }; + /** @brief Get the desired name of the branch for this obj in the cbm output tree (static) + ** @return "TofDigi" + **/ + static const char* GetBranchName() { return "TofDigi"; } + + /** @brief Class name (static) ** @return string CbmTofDigi **/