VDColdboxChannelGroups.h
Go to the documentation of this file.
1 // VDColdboxChannelGroups.h
2 //
3 // Returns groups for the vertical drift coldbox test in 2021.
4 // At present, single ranges from channelranges ar returned.
5 
6 #ifndef VDColdboxChannelGroups_H
7 #define VDColdboxChannelGroups_H
8 
10 #include "fhiclcpp/ParameterSet.h"
12 #include <map>
13 
14 class IndexRangeTool;
15 
17 
18 public:
19 
20  // Ctor.
22 
23  // Dtor.
24  ~VDColdboxChannelGroups() override =default;
25 
26  // Return a range.
27  IndexRangeGroup get(std::string nam) const override;
28 
29 private:
30 
31  // Configuration parameters.
33 
34  // Derived paramters.
36 
37  // Create a group from range names.
38  using Name = std::string;
39  using NameVector = std::vector<Name>;
40  IndexRangeGroup makeGroup(Name nam, NameVector rnams, Name lab) const;
41 
42 };
43 
44 
45 #endif
std::string string
Definition: nybbler.cc:12
~VDColdboxChannelGroups() override=default
IndexRangeGroup makeGroup(Name nam, NameVector rnams, Name lab) const
VDColdboxChannelGroups(fhicl::ParameterSet const &ps)
static constexpr double ps
Definition: Units.h:99
std::vector< Name > NameVector
IndexRangeGroup::Name Name