|
ACTS
Experiment-independent tracking
|
Specialized particle hypothesis for non-neutral particles. More...
#include <Acts/EventData/ParticleHypothesis.hpp>
Public Member Functions | |
| template<typename other_charge_t> | |
| constexpr | NonNeutralChargedParticleHypothesis (const GenericParticleHypothesis< other_charge_t > &other) |
| Convert from another particle hypothesis with different charge type. | |
| NonNeutralChargedParticleHypothesis (PdgParticle absPdg) | |
| Constructor with PDG particle code (mass from particle data table). | |
| constexpr | NonNeutralChargedParticleHypothesis (PdgParticle absPdg, float mass, NonNeutralCharge chargeType) |
| Constructor with explicit mass and charge. | |
| Public Member Functions inherited from Acts::GenericParticleHypothesis< NonNeutralCharge > | |
| constexpr | GenericParticleHypothesis (PdgParticle absPdg, float mass, ChargeType chargeType) |
| Creates a particle hypothesis using absolute PDG, mass and the charge type. | |
| constexpr float | absoluteCharge () const noexcept |
| Get the hypothesized absolute charge. | |
| constexpr PdgParticle | absolutePdg () const noexcept |
| Get the hypothesized absolute PDG. | |
| constexpr const ChargeType & | chargeType () const noexcept |
| Get the hypothesized charge type. | |
| constexpr auto | extractCharge (T qOverP) const noexcept |
| Extracts the signed charge from the q over p track parameter using the charge hypothesis. | |
| constexpr auto | extractMomentum (T qOverP) const noexcept |
| Extracts the particle momentum from the q over p track parameter using the charge hypothesis. | |
| constexpr float | mass () const noexcept |
| Get the hypothesized mass. | |
| constexpr auto | qOverP (P momentum, Q signedQ) const noexcept |
| Calculate the q over p track parameter with the given absolute momentum and charge. | |
| std::ostream & | toStream (std::ostream &os) const |
| Output stream representation of the particle hypothesis. | |
Static Public Member Functions | |
| static NonNeutralChargedParticleHypothesis | chargedGeantino () |
| Create a charged geantino particle hypothesis with unit charge. | |
| static NonNeutralChargedParticleHypothesis | chargedGeantino (float absQ) |
| Create a charged geantino particle hypothesis with custom charge. | |
| static NonNeutralChargedParticleHypothesis | electron () |
| Create an electron particle hypothesis. | |
| static NonNeutralChargedParticleHypothesis | kaon () |
| Create a charged kaon particle hypothesis. | |
| static NonNeutralChargedParticleHypothesis | muon () |
| Create a muon particle hypothesis. | |
| static NonNeutralChargedParticleHypothesis | pion () |
| Create a charged pion particle hypothesis. | |
| static NonNeutralChargedParticleHypothesis | pionLike (float absQ) |
| Create a pion-like particle hypothesis with custom charge. | |
| static NonNeutralChargedParticleHypothesis | proton () |
| Create a proton particle hypothesis. | |
Additional Inherited Members | |
| Public Types inherited from Acts::GenericParticleHypothesis< NonNeutralCharge > | |
| using | ChargeType |
| Type alias for charge type used in particle hypothesis. | |
Specialized particle hypothesis for non-neutral particles.
|
constexpr |
Constructor with explicit mass and charge.
| absPdg | The absolute PDG particle code |
| mass | The particle mass |
| chargeType | The non-neutral charge type |
|
explicit |
Constructor with PDG particle code (mass from particle data table).
| absPdg | The absolute PDG particle code |
|
explicitconstexpr |
Convert from another particle hypothesis with different charge type.
| other | The source particle hypothesis to convert from |
|
static |
Create a charged geantino particle hypothesis with unit charge.
|
static |
Create a charged geantino particle hypothesis with custom charge.
| absQ | The absolute charge value |
|
static |
Create an electron particle hypothesis.
|
static |
Create a charged kaon particle hypothesis.
|
static |
Create a muon particle hypothesis.
|
static |
Create a charged pion particle hypothesis.
|
static |
Create a pion-like particle hypothesis with custom charge.
| absQ | The absolute charge value |
|
static |
Create a proton particle hypothesis.