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 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 0 : m_elem_name_id_converter = [](const std::string& apa_name) -> uint {
24 : // Brute force approack
25 0 : return 0;
26 0 : };
27 :
28 0 : TLOG_DEBUG(10) << "VDColdboxTPCChannelMap Created";
29 0 : }
30 :
31 : };
32 :
33 0 : DEFINE_DUNE_DET_TPCCHANNEL_MAP(dunedaq::detchannelmaps::VDColdboxTPCChannelMap)
34 :
35 :
36 : } // namespace detchannelmaps
37 : } // namespace dunedaq
|