LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RootBranchInfoList.h
Go to the documentation of this file.
1
#ifndef art_Framework_IO_Root_RootBranchInfoList_h
2
#define art_Framework_IO_Root_RootBranchInfoList_h
3
4
#include "
art/Framework/IO/Root/RootBranchInfo.h
"
5
#include "
art/Utilities/fwd.h
"
6
#include "
canvas/Utilities/TypeID.h
"
7
8
#include <vector>
9
10
#include "TTree.h"
11
12
namespace
art
{
13
class
RootBranchInfoList;
14
}
15
16
class
art::RootBranchInfoList
{
17
public
:
18
RootBranchInfoList
();
19
explicit
RootBranchInfoList
(TTree* tree);
20
void
reset
(TTree* tree);
21
22
template
<
class
PROD>
23
bool
findBranchInfo
(
InputTag
const
& tag,
RootBranchInfo
& rbInfo)
const
;
24
25
bool
findBranchInfo
(
TypeID
const
& type,
26
InputTag
const
& tag,
27
RootBranchInfo
& rbInfo)
const
;
28
29
private
:
30
std::vector<RootBranchInfo>
data_
;
31
};
32
33
template
<
class
PROD>
34
bool
35
art::RootBranchInfoList::findBranchInfo
(
InputTag
const
& tag,
36
RootBranchInfo
& rbInfo)
const
37
{
38
return
findBranchInfo
(
TypeID
{
typeid
(PROD)}, tag, rbInfo);
39
}
40
41
#endif
/* art_Framework_IO_Root_RootBranchInfoList_h */
42
43
// Local Variables:
44
// mode: c++
45
// End:
art::RootBranchInfoList::findBranchInfo
bool findBranchInfo(InputTag const &tag, RootBranchInfo &rbInfo) const
Definition:
RootBranchInfoList.h:35
art::RootBranchInfoList::reset
void reset(TTree *tree)
Definition:
RootBranchInfoList.cc:19
fwd.h
art::InputTag
Definition:
InputTag.h:18
art::RootBranchInfoList::data_
std::vector< RootBranchInfo > data_
Definition:
RootBranchInfoList.h:30
RootBranchInfo.h
TypeID.h
art::RootBranchInfoList::RootBranchInfoList
RootBranchInfoList()
Definition:
RootBranchInfoList.cc:11
art::RootBranchInfo
Definition:
RootBranchInfo.h:12
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art::TypeID
Definition:
TypeID.h:39
art::RootBranchInfoList
Definition:
RootBranchInfoList.h:16
art
Framework
IO
Root
RootBranchInfoList.h
Generated on Wed Dec 12 2018 14:42:32 for LArSoft by
1.8.11