VDColdboxOnlineChannel.h
Go to the documentation of this file.
1 // VDColdboxOnlineChannel.h
2 //
3 // David Adams
4 // November 2021
5 //
6 // Tool that converts a VD coldbox offline channel number
7 // to an online index following the FEMB convention:
8 //
9 // chanOn = 128*KFMB + KFCH
10 // KFCH 8*KASIC + KACH
11 //
12 // KFMB = FEMB number (1-14 in VD coldbox 2021)
13 // KFCH = Channel number in the FEMB (0-127)
14 // KASIC = ASCIC number in the FEMB (0-7)
15 // KACH = Channel number in the ASIC (0-15)
16 //
17 // Configuration parameters:
18 // LogLevel - 0=silent, 1=init messages, 2=message every call
19 
20 #ifndef VDColdboxOnlineChannel_H
21 #define VDColdboxOnlineChannel_H
22 
24 #include "fhiclcpp/ParameterSet.h"
26 
28 
29 public:
30 
31  using Name = std::string;
32 
34 
35  Index get(Index chanOff) const override;
36 
37 private:
38 
39  // Configuration parameters.
41 
42 };
43 
44 
45 #endif
std::string string
Definition: nybbler.cc:12
VDColdboxOnlineChannel(const fhicl::ParameterSet &ps)
static constexpr double ps
Definition: Units.h:99
unsigned int Index
Definition: IndexMapTool.h:16