rootNames.cc
Go to the documentation of this file.
2 
3 #include <array>
4 
5 namespace {
6  using namespace std::string_literals;
7 
8  std::string const parentageTree = "Parentage";
9  std::string const parentageIDBranch = "Hash";
10  std::string const parentageBranch = "Description";
11 
12  std::string const metaDataTree = "MetaData";
13  std::string const fileIndexTree = "FileIndex";
14  std::string const eventHistory = "EventHistory";
15 
16  std::array<std::string const, art::NumBranchTypes> dataTrees = {
17  {"Events"s, "SubRuns"s, "Runs"s, "Results"s}};
18  std::string const eventMeta = "EventMetaData";
19 }
20 
21 // Parentage tree.
22 std::string const&
24 {
25  return parentageTree;
26 }
27 
28 std::string const&
30 {
31  return parentageIDBranch;
32 }
33 
34 std::string const&
36 {
37  return parentageBranch;
38 }
39 
40 // MetaData Tree (1 entry per file)
41 std::string const&
43 {
44  return metaDataTree;
45 }
46 
47 // FileIndex Tree
48 std::string const&
50 {
51  return fileIndexTree;
52 }
53 
54 // EventHistory Tree
55 std::string const&
57 {
58  return eventHistory;
59 }
60 
61 // Branch on Event History Tree
62 std::string const&
64 {
65  return eventHistory;
66 }
67 
68 std::string const&
70 {
71  return dataTrees[InEvent];
72 }
73 
74 std::string const&
76 {
77  return dataTrees[bt];
78 }
79 
80 std::string const&
82 {
83  return eventMeta;
84 }
std::string string
Definition: nybbler.cc:12
std::string const & dataTreeName(BranchType bt)
Definition: rootNames.cc:75
std::string const & parentageTreeName()
Definition: rootNames.cc:23
std::string const & eventHistoryTreeName()
Definition: rootNames.cc:56
std::string const & metaDataTreeName()
Definition: rootNames.cc:42
bt
Definition: tracks.py:83
std::string const & parentageBranchName()
Definition: rootNames.cc:35
std::string const & parentageIDBranchName()
Definition: rootNames.cc:29
std::string const & eventMetaDataTreeName()
Definition: rootNames.cc:81
std::string const & fileIndexTreeName()
Definition: rootNames.cc:49
std::string const & eventHistoryBranchName()
Definition: rootNames.cc:63
BranchType
Definition: BranchType.h:20
std::string const & eventTreeName()
Definition: rootNames.cc:69
static QCString * s
Definition: config.cpp:1042