Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
test
Utilities
tools
NestedClassTool.h
Go to the documentation of this file.
1
#ifndef art_test_Utilities_tools_NestedClassTool_h
2
#define art_test_Utilities_tools_NestedClassTool_h
3
4
#include "
art/Utilities/make_tool.h
"
5
#include "
art/test/Utilities/tools/ClassTool.h
"
6
#include "
fhiclcpp/ParameterSet.h
"
7
8
namespace
arttest
{
9
class
NestedClassTool
{
10
public
:
11
explicit
NestedClassTool
(
fhicl::ParameterSet
const
&
ps
) :
pset_
{ps} {}
12
13
int
14
callThroughToAddOne
(
int
const
i)
15
{
16
auto
t
= art::make_tool<ClassTool>(
pset_
);
17
return
t
->addOne(i);
18
}
19
20
private
:
21
fhicl::ParameterSet
pset_
;
22
};
23
}
// namespace arttest
24
25
#endif
/* art_test_Utilities_tools_NestedClassTool_h */
26
27
// Local variables:
28
// mode: c++
29
// End:
arttest::NestedClassTool::NestedClassTool
NestedClassTool(fhicl::ParameterSet const &ps)
Definition:
NestedClassTool.h:11
ParameterSet.h
arttest::NestedClassTool::pset_
fhicl::ParameterSet pset_
Definition:
NestedClassTool.h:21
ClassTool.h
reco_momentum_tuples.t
t
Definition:
reco_momentum_tuples.py:25
arttest
Definition:
GroupSelector_t.h:4
genie::units::ps
static constexpr double ps
Definition:
Units.h:99
make_tool.h
arttest::NestedClassTool::callThroughToAddOne
int callThroughToAddOne(int const i)
Definition:
NestedClassTool.h:14
arttest::NestedClassTool
Definition:
NestedClassTool.h:9
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11