ReadNextArbitrator.h
Go to the documentation of this file.
1 #ifndef art_test_Integration_ReadNextArbitrator_h
2 #define art_test_Integration_ReadNextArbitrator_h
3 
5 
6 namespace arttest {
7  class ReadNextArbitrator {
8  public:
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:
static const double ps
Definition: Units.h:103
T get(std::string const &key) const
Definition: ParameterSet.h:231
ReadNextArbitrator(fhicl::ParameterSet const &ps)