Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/EventData/Charge.hpp>
Public Member Functions | |
constexpr | AnyCharge (float absQ) noexcept |
Construct with the magnitude of the input charge. | |
constexpr | AnyCharge (SinglyCharged) noexcept |
Charge and momentum interpretation for arbitrarily charged particles.
Only a charge magnitude identical to zero is interpreted as representing a neutral particle. This avoids ambiguities that might arise from using an approximate comparison with an arbitrary epsilon.
Definition at line 199 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 199 of file Charge.hpp
|
inlinenoexcept |
Construct with the magnitude of the input charge.
Definition at line 202 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 202 of file Charge.hpp
|
inlinenoexcept |
Definition at line 205 of file Charge.hpp.
View newest version in sPHENIX GitHub at line 205 of file Charge.hpp
References Acts::UnitConstants::e.