-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[WIP] Make the TTree based ROOT backend store the GenericPara…
…meters t…" (#624) This reverts commit 50bfe41. Co-authored-by: Thomas Madlener <[email protected]>
- Loading branch information
Showing
20 changed files
with
193 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#ifndef PODIO_COLLECTIONBRANCHES_H | ||
#define PODIO_COLLECTIONBRANCHES_H | ||
|
||
#include "TBranch.h" | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace podio::root_utils { | ||
/// Small helper struct to collect all branches that are necessary to read or | ||
/// write a collection. Needed to cache the branch pointers and avoid having to | ||
/// get them from a TTree/TChain for every event. | ||
struct CollectionBranches { | ||
TBranch* data{nullptr}; | ||
std::vector<TBranch*> refs{}; | ||
std::vector<TBranch*> vecs{}; | ||
std::vector<std::string> refNames{}; ///< The names of the relation branches | ||
std::vector<std::string> vecNames{}; ///< The names of the vector member branches | ||
}; | ||
|
||
} // namespace podio::root_utils | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.