|
ACTS
Experiment-independent tracking
|
Particle hypothesis used in reconstruction. More...
#include <Acts/EventData/ParticleHypothesis.hpp>
Public Member Functions | |
| ParticleHypothesis (PdgParticle absPdg) | |
| Creates a particle hypothesis using the absolute PDG. | |
| constexpr | ParticleHypothesis (PdgParticle absPdg, float mass, ChargeHypothesis charge) |
| Creates a particle hypothesis using absolute PDG, mass and the charge type. | |
| constexpr | ParticleHypothesis (PdgParticle absPdg, float mass, float absCharge) |
| Creates a particle hypothesis using absolute PDG, mass and the charge type. | |
| float | absoluteCharge () const noexcept |
| Get the hypothesized absolute charge. | |
| constexpr PdgParticle | absolutePdg () const noexcept |
| Get the hypothesized absolute PDG. | |
| constexpr const ChargeHypothesis & | charge () const noexcept |
| Get the hypothesized charge. | |
| constexpr float | extractCharge (double qOverP) const noexcept |
| Extracts the signed charge from the q over p track parameter using the charge hypothesis. | |
| constexpr double | extractMomentum (double 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 double | qOverP (double momentum, float 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 ParticleHypothesis | chargedGeantino () |
| Create a charged geantino particle hypothesis with unit charge. | |
| static ParticleHypothesis | chargedGeantino (float absoluteCharge) |
| Create a charged geantino particle hypothesis with custom charge. | |
| static ParticleHypothesis | electron () |
| Create an electron particle hypothesis. | |
| static ParticleHypothesis | geantino () |
| Create a neutral geantino particle hypothesis (massless neutral particle). | |
| static ParticleHypothesis | kaon () |
| Create a charged kaon particle hypothesis. | |
| static ParticleHypothesis | muon () |
| Create a muon particle hypothesis. | |
| static ParticleHypothesis | photon () |
| Create a photon particle hypothesis. | |
| static ParticleHypothesis | pion () |
| Create a charged pion particle hypothesis. | |
| static ParticleHypothesis | pion0 () |
| Create a neutral pion particle hypothesis. | |
| static ParticleHypothesis | pionLike (float absoluteCharge) |
| Create a pion-like particle hypothesis with custom charge. | |
| static ParticleHypothesis | proton () |
| Create a proton particle hypothesis. | |
Particle hypothesis used in reconstruction.
The reconstruction hypothesis consists of absolute PDG code, mass and absolute charge.
|
constexpr |
Creates a particle hypothesis using absolute PDG, mass and the charge type.
| absPdg | the absolute PDG |
| mass | the particle mass |
| absCharge | the absolute charge |
|
constexpr |
Creates a particle hypothesis using absolute PDG, mass and the charge type.
| absPdg | the absolute PDG |
| mass | the particle mass |
| charge | the charge type |
|
explicit |
Creates a particle hypothesis using the absolute PDG.
The mass and charge is looked up using findMass and findCharge. If the lookup fails an exception is thrown.
| absPdg | the absolute PDG |
|
noexcept |
Get the hypothesized absolute charge.
|
constexprnoexcept |
Get the hypothesized absolute PDG.
|
constexprnoexcept |
Get the hypothesized charge.
|
static |
Create a charged geantino particle hypothesis with unit charge.
|
static |
Create a charged geantino particle hypothesis with custom charge.
| absoluteCharge | The absolute charge value |
|
static |
Create an electron particle hypothesis.
|
constexprnoexcept |
Extracts the signed charge from the q over p track parameter using the charge hypothesis.
| qOverP | the q over p track parameter. |
|
constexprnoexcept |
Extracts the particle momentum from the q over p track parameter using the charge hypothesis.
| qOverP | the q over p track parameter. |
|
static |
Create a neutral geantino particle hypothesis (massless neutral particle).
|
static |
Create a charged kaon particle hypothesis.
|
constexprnoexcept |
Get the hypothesized mass.
|
static |
Create a muon particle hypothesis.
|
static |
Create a photon particle hypothesis.
|
static |
Create a charged pion particle hypothesis.
|
static |
Create a neutral pion particle hypothesis.
|
static |
Create a pion-like particle hypothesis with custom charge.
| absoluteCharge | The absolute charge value |
|
static |
Create a proton particle hypothesis.
|
constexprnoexcept |
Calculate the q over p track parameter with the given absolute momentum and charge.
| momentum | the absolute momentum. |
| signedQ | the signed charge. |
| std::ostream & Acts::ParticleHypothesis::toStream | ( | std::ostream & | os | ) | const |
Output stream representation of the particle hypothesis.
| os | Output stream to write to |