|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TPCChannelMapSP.h>
Classes | |
| struct | TPCChanInfo |
Public Types | |
| typedef struct dune::TPCChannelMapSP::TPCChanInfo | TPCChanInfo_t |
Public Member Functions | |
| TPCChannelMapSP () | |
| void | ReadMapFromFile (std::string &fullname) |
| TPCChanInfo_t | GetChanInfoFromElectronicsIDs (unsigned int detid, unsigned int crate, unsigned int slot, unsigned int stream, unsigned int streamchan) const |
| TPCChanInfo_t | GetChanInfoFromOfflChan (unsigned int offlchan) const |
| unsigned int | GetNChannels () |
| void | SetSubstituteCrate (unsigned int sc) |
| unsigned int | GetSubstituteCrate () |
Private Member Functions | |
| void | check_offline_channel (unsigned int offlineChannel) const |
| size_t | make_hash (unsigned int detid, unsigned int crate, unsigned int slot, unsigned int stream, unsigned int streamch) const |
Private Attributes | |
| unsigned int | fNChans |
| unsigned int | fSubstituteCrate |
| std::unordered_map< size_t, TPCChanInfo_t > | DetToChanInfo |
| std::unordered_map< unsigned int, TPCChanInfo_t > | OfflToChanInfo |
Definition at line 23 of file TPCChannelMapSP.h.
| dune::TPCChannelMapSP::TPCChannelMapSP | ( | ) |
Definition at line 17 of file TPCChannelMapSP.cpp.
|
inlineprivate |
Definition at line 83 of file TPCChannelMapSP.h.
| dune::TPCChannelMapSP::TPCChanInfo_t dune::TPCChannelMapSP::GetChanInfoFromElectronicsIDs | ( | unsigned int | detid, |
| unsigned int | crate, | ||
| unsigned int | slot, | ||
| unsigned int | stream, | ||
| unsigned int | streamchan ) const |
Definition at line 65 of file TPCChannelMapSP.cpp.
| dune::TPCChannelMapSP::TPCChanInfo_t dune::TPCChannelMapSP::GetChanInfoFromOfflChan | ( | unsigned int | offlchan | ) | const |
Definition at line 86 of file TPCChannelMapSP.cpp.
|
inline |
Definition at line 60 of file TPCChannelMapSP.h.
|
inline |
Definition at line 66 of file TPCChannelMapSP.h.
|
private |
Definition at line 98 of file TPCChannelMapSP.cpp.
| void dune::TPCChannelMapSP::ReadMapFromFile | ( | std::string & | fullname | ) |
Definition at line 24 of file TPCChannelMapSP.cpp.
|
inline |
Definition at line 64 of file TPCChannelMapSP.h.
|
private |
Definition at line 75 of file TPCChannelMapSP.h.
|
private |
Definition at line 69 of file TPCChannelMapSP.h.
|
private |
Definition at line 70 of file TPCChannelMapSP.h.
|
private |
Definition at line 79 of file TPCChannelMapSP.h.