Skip to content

Commit

Permalink
Merge pull request #396 from rest-for-physics/nkx111-patch-2
Browse files Browse the repository at this point in the history
TRestAnalysisTree add branch types of unsigned xx
  • Loading branch information
jgalan authored Apr 28, 2023
2 parents 324cf3d + 966d0bc commit fd98a95
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/framework/core/src/TRestAnalysisTree.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,18 @@ void TRestAnalysisTree::UpdateBranches() {
this->Branch(brName, (int*)ref);
} else if (typeName == "short") {
this->Branch(brName, (short*)ref);
} else if (typeName == "unsigned char") {
this->Branch(brName, (unsigned char*)ref);
} else if (typeName == "unsigned int") {
this->Branch(brName, (unsigned int*)ref);
} else if (typeName == "unsigned short") {
this->Branch(brName, (unsigned short*)ref);
} else if (typeName == "long") {
this->Branch(brName, (long*)ref);
} else if (typeName == "long long") {
this->Branch(brName, (long long*)ref);
} else if (typeName == "unsigned long") {
this->Branch(brName, (unsigned long*)ref);
} else if (typeName == "unsigned long long") {
this->Branch(brName, (unsigned long long*)ref);
} else {
Expand Down

0 comments on commit fd98a95

Please sign in to comment.