EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Functions | |
template<typename... Types> | |
constexpr std::array< const char *, sizeof...(Types)> | dtypes_codes (const std::tuple< Types...> &) |
char | dtype_endianness_modifier () |
template<typename NamedTuple > | |
std::string | dtypes_description (const NamedTuple &nt) |
Variables | |
template<typename T > | |
constexpr std::enable_if_t < false, T > | kNumpyDtypeCode |
template<> | |
constexpr const char * | kNumpyDtypeCode< uint8_t > = "u1" |
template<> | |
constexpr const char * | kNumpyDtypeCode< uint16_t > = "u2" |
template<> | |
constexpr const char * | kNumpyDtypeCode< uint32_t > = "u4" |
template<> | |
constexpr const char * | kNumpyDtypeCode< uint64_t > = "u8" |
template<> | |
constexpr const char * | kNumpyDtypeCode< int8_t > = "i1" |
template<> | |
constexpr const char * | kNumpyDtypeCode< int16_t > = "i2" |
template<> | |
constexpr const char * | kNumpyDtypeCode< int32_t > = "i4" |
template<> | |
constexpr const char * | kNumpyDtypeCode< int64_t > = "i8" |
template<> | |
constexpr const char * | kNumpyDtypeCode< float > = "f4" |
template<> | |
constexpr const char * | kNumpyDtypeCode< double > = "f8" |
template<> | |
constexpr const char * | kNumpyDtypeCode< bool > = "?" |
|
inline |
Definition at line 113 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 113 of file dfe_io_numpy.hpp
Referenced by dtypes_description().
constexpr std::array<const char*, sizeof...(Types)> dfe::io_npy_impl::dtypes_codes | ( | const std::tuple< Types...> & | ) |
Definition at line 104 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 104 of file dfe_io_numpy.hpp
Referenced by dtypes_description().
|
inline |
Definition at line 127 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 127 of file dfe_io_numpy.hpp
References dtype_endianness_modifier(), dtypes_codes(), n, eicpy.verify::names, and value.
Referenced by dfe::NamedTupleNumpyWriter< NamedTuple >::write_header().
Definition at line 78 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 78 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< bool > = "?" |
Definition at line 100 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 100 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< double > = "f8" |
Definition at line 98 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 98 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< float > = "f4" |
Definition at line 96 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 96 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< int16_t > = "i2" |
Definition at line 90 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 90 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< int32_t > = "i4" |
Definition at line 92 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 92 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< int64_t > = "i8" |
Definition at line 94 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 94 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< int8_t > = "i1" |
Definition at line 88 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 88 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< uint16_t > = "u2" |
Definition at line 82 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 82 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< uint32_t > = "u4" |
Definition at line 84 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 84 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< uint64_t > = "u8" |
Definition at line 86 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 86 of file dfe_io_numpy.hpp
constexpr const char* dfe::io_npy_impl::kNumpyDtypeCode< uint8_t > = "u1" |
Definition at line 80 of file dfe_io_numpy.hpp.
View newest version in sPHENIX GitHub at line 80 of file dfe_io_numpy.hpp