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 VDColdboxTPCChannelMap : public PD2HDChannelMapSPPluginBase
11 : {
12 : public:
13 : // TODO: Use detdataformats::kHD_TPC instead
14 : const static uint kDetID = 10;
15 :
16 : /**
17 : * @brief Construct a new HDColdboxTPCChannelMap object
18 : *
19 : */
20 0 : explicit VDColdboxTPCChannelMap()
21 0 : : PD2HDChannelMapSPPluginBase(kDetID, "vdcoldbox/vdcbce_chanmap_v4.txt")
22 : {
23 :
24 0 : m_elem_name_id_converter = [](const std::string& apa_name) -> uint {
25 : // Brute force approack
26 : return 0;
27 0 : };
28 :
29 0 : TLOG_DEBUG(10) << "VDColdboxTPCChannelMap Created";
30 0 : }
31 : };
32 :
33 0 : DEFINE_DUNE_DET_TPCCHANNEL_MAP(dunedaq::detchannelmaps::VDColdboxTPCChannelMap)
34 :
35 : } // namespace detchannelmaps
36 : } // namespace dunedaq
|