Line data Source code
1 : #include "PD2HDChannelMapSP.h"
2 : #include "PD2HDChannelMapSPPluginBase.hpp"
3 : #include "detchannelmaps/TPCChannelMap.hpp"
4 :
5 : #include "logging/Logging.hpp" // NOLINT
6 :
7 : namespace dunedaq {
8 : namespace detchannelmaps {
9 :
10 : class ICEBERGChannelMap : public PD2HDChannelMapSPPluginBase
11 : {
12 : public:
13 : // TODO: Use detdataformats::kHD_TPC instead
14 : const static uint kDetID = 3;
15 :
16 : public:
17 : /**
18 : * @brief Construct a new HDColdboxTPCChannelMap object
19 : *
20 : */
21 0 : explicit ICEBERGChannelMap()
22 0 : : PD2HDChannelMapSPPluginBase(kDetID, "iceberg/iceberg_wibeth_chanmap_v1.txt")
23 : {
24 :
25 0 : m_elem_name_id_converter = [](const std::string& /* apa_name */) -> uint { return 0; };
26 :
27 0 : TLOG_DEBUG(10) << "ICEBERGChannelMap Created";
28 0 : }
29 : };
30 :
31 0 : DEFINE_DUNE_DET_TPCCHANNEL_MAP(dunedaq::detchannelmaps::ICEBERGChannelMap)
32 :
33 : } // namespace detchannelmaps
34 : } // namespace dunedaq
|