LDMX Software
Mask.h
1#ifndef PACKING_UTILITY_MASK_H_
2#define PACKING_UTILITY_MASK_H_
3
4namespace packing {
5namespace utility {
6
16template <short N>
19 static const uint64_t value = (1ul << N) - 1ul;
20};
21
41template <short N>
42constexpr uint64_t mask = mask_backend<N>::value;
43
44} // namespace utility
45} // namespace packing
46
47#endif // PACKING_UTILITY_MASK_H_
static const uint64_t value
value of mask
Definition Mask.h:19