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