Skip to content
Snippets Groups Projects
Commit bfb432bd authored by Pascal Raisig's avatar Pascal Raisig Committed by Pierre-Alain Loizeau
Browse files

Add static GetBranchName function to digis

Since, we do not use the class name in our output branches I added a GetBranchName() function for all digis connected to the mcbm2021 beamtime. @todo add the function to other digis (much,mvd).
parent 1f702353
No related branches found
No related tags found
1 merge request!415Include all unpackers in the new /reco/steer/ based scheme
...@@ -91,6 +91,12 @@ public: ...@@ -91,6 +91,12 @@ public:
UInt_t GetAddress() const { return fuAddress; }; 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 /** @brief Time
** @return Time [ns] ** @return Time [ns]
**/ **/
......
...@@ -40,6 +40,11 @@ public: ...@@ -40,6 +40,11 @@ public:
*/ */
Int_t GetAddress() const { return fAddress; } 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 /** @brief Charge
** @return Returns TOT as charge ** @return Returns TOT as charge
** **
......
...@@ -62,6 +62,12 @@ public: ...@@ -62,6 +62,12 @@ public:
Int_t GetAddress() const { return fAddress; } 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 /** @brief Channel number in module
** @value Channel number ** @value Channel number
**/ **/
......
...@@ -96,6 +96,12 @@ public: ...@@ -96,6 +96,12 @@ public:
Int_t GetAddress() const { return fuAddress; }; 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) /** @brief Class name (static)
** @return string CbmTofDigi ** @return string CbmTofDigi
**/ **/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment