Line data Source code
1 : #include "detchannelmaps/TPCChannelMap.hpp"
2 : #include "PD2HDChannelMapSPPluginBase.hpp"
3 : #include "PD2HDChannelMapSP.h"
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 0 : m_elem_name_id_converter = [](const std::string& /* apa_name */ ) -> uint {
25 0 : return 0;
26 0 : };
27 :
28 0 : TLOG_DEBUG(10) << "ICEBERGChannelMap Created";
29 0 : }
30 :
31 : };
32 :
33 0 : DEFINE_DUNE_DET_TPCCHANNEL_MAP(dunedaq::detchannelmaps::ICEBERGChannelMap)
34 :
35 :
36 : } // namespace detchannelmaps
37 : } // namespace dunedaq
|