Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
test
Integration
ReadNextArbitrator.h
Go to the documentation of this file.
1
#ifndef art_test_Integration_ReadNextArbitrator_h
2
#define art_test_Integration_ReadNextArbitrator_h
3
4
#include "
fhiclcpp/ParameterSet.h
"
5
6
namespace
arttest
{
7
class
ReadNextArbitrator {
8
public
:
9
ReadNextArbitrator
(
fhicl::ParameterSet
const
&
ps
)
10
:
threshold_
{ps.
get
<
unsigned
>(
"threshold"
, 5)}
11
{}
12
auto
13
threshold
()
const
14
{
15
return
threshold_
;
16
}
17
18
private
:
19
unsigned
threshold_
;
20
};
21
}
// namespace arttest
22
23
#endif
/* art_test_Integration_ReadNextArbitrator_h */
24
25
// Local variables:
26
// mode: c++
27
// End:
genie::units::ps
static const double ps
Definition:
Units.h:103
ParameterSet.h
arttest::ReadNextArbitrator::threshold
auto threshold() const
Definition:
ReadNextArbitrator.h:13
fhicl::ParameterSet::get
T get(std::string const &key) const
Definition:
ParameterSet.h:231
arttest
Definition:
GroupSelector_t.h:4
arttest::ReadNextArbitrator::ReadNextArbitrator
ReadNextArbitrator(fhicl::ParameterSet const &ps)
Definition:
ReadNextArbitrator.h:9
arttest::ReadNextArbitrator::threshold_
unsigned threshold_
Definition:
ReadNextArbitrator.h:19
arttest::ReadNextArbitrator::threshold_
int threshold_
Definition:
ReadNext.h:19
fhicl::ParameterSet
Definition:
ParameterSet.h:34
Generated by
1.8.11