EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Charge and momentum interpretation for particles with +-e charge. More...
#include <acts/blob/sPHENIX/Core/include/Acts/EventData/Charge.hpp>
Public Member Functions | |
SinglyCharged ()=default | |
template<typename T > | |
constexpr | SinglyCharged (T absQ) noexcept |
template<typename T > | |
constexpr T | extractCharge (T qOverP) const noexcept |
template<typename T > | |
constexpr T | extractMomentum (T qOverP) const noexcept |
Friends | |
constexpr bool | operator== (SinglyCharged, SinglyCharged) noexcept |
Charge and momentum interpretation for particles with +-e charge.
Definition at line 84 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 84 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 90 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 90 of file Charge.hpp
References Acts::UnitConstants::e, dfe::static_cast< T >(), and nlohmann::detail::void().
|
inlinenoexcept |
Definition at line 98 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 98 of file Charge.hpp
References Acts::UnitConstants::e, and dfe::static_cast< T >().
Referenced by BOOST_AUTO_TEST_CASE().
|
inlinenoexcept |
Definition at line 102 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 102 of file Charge.hpp
References kdfinder::abs(), Acts::UnitConstants::e, and dfe::static_cast< T >().
Referenced by BOOST_AUTO_TEST_CASE().
|
friend |
Compare for equality.
This is always true
as SinglyCharged
has no internal state. Must be available to provide a consistent interface.
Definition at line 110 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 110 of file Charge.hpp