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