Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::AnyCharge Class Reference

#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
 

Detailed Description

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

Constructor & Destructor Documentation

constexpr Acts::AnyCharge::AnyCharge ( float  absQ)
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

constexpr Acts::AnyCharge::AnyCharge ( SinglyCharged  )
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.


The documentation for this class was generated from the following file: