EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Charge and momentum interpretation for neutral particles. More...
#include <acts/blob/sPHENIX/Core/include/Acts/EventData/Charge.hpp>
Public Member Functions | |
Neutral ()=default | |
template<typename T > | |
constexpr | Neutral (T absQ) noexcept |
template<typename T > | |
constexpr T | extractCharge (T) const noexcept |
template<typename T > | |
constexpr T | extractMomentum (T pInv) const noexcept |
Friends | |
constexpr bool | operator== (Neutral, Neutral) noexcept |
Charge and momentum interpretation for neutral particles.
Definition at line 53 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 53 of file Charge.hpp
|
default |
|
inlinenoexcept |
Construct and verify the input charge magnitude (in debug builds).
This constructor is only provided to allow consistent construction.
Definition at line 59 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 59 of file Charge.hpp
References nlohmann::detail::void().
Definition at line 66 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 66 of file Charge.hpp
Referenced by BOOST_AUTO_TEST_CASE().
Definition at line 70 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 70 of file Charge.hpp
References kdfinder::abs().
Referenced by BOOST_AUTO_TEST_CASE().
Compare for equality.
This is always true
as Neutral
has no internal state. Must be available to provide a consistent interface.
Definition at line 80 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 80 of file Charge.hpp