12#ifndef O2_FT0_PMLOOKUPTABLE_H_
13#define O2_FT0_PMLOOKUPTABLE_H_
34 using PMMap = std::map<PMHash, bool>;
46 const PMMap&
getPMs() const noexcept {
return mPMHash2IsASide; }
51 std::array<PMHash, Constants::sNCHANNELS_PM> mChannelID2PMHash{};
52 std::array<bool, Constants::sNCHANNELS_PM> mChannelIsMapped{};
53 PMMap mPMHash2IsASide;
General constants in FT0.
unsigned short int uint16_t
bool isASide(PMHash pmHash) const
Return true for an A-side PM and false for a C-side PM.
PMHash getPMHash(ChannelID channelID) const
Return the PM hash assigned to a detector channel.
static const PMLookupTable & Instance()
Return the process-wide immutable lookup table.
std::map< PMHash, bool > PMMap
const PMMap & getPMs() const noexcept
Return all PM hashes and their sides. TCM entries are not included.