LDMX Software
Mask.h
1#ifndef PACKING_UTILITY_MASK_H_
2#define PACKING_UTILITY_MASK_H_
3
4#include <cstdint>
5
6namespace packing {
7namespace utility {
8
18template <short N>
21 static const uint64_t VALUE = (1ul << N) - 1ul;
22};
23
43template <short N>
44constexpr uint64_t MASK = MaskBackend<N>::VALUE;
45
46} // namespace utility
47} // namespace packing
48
49#endif // PACKING_UTILITY_MASK_H_
static const uint64_t VALUE
value of mask
Definition Mask.h:21