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

Particle hypothesis used in reconstruction. More...

#include <acts/blob/sPHENIX/Core/include/Acts/EventData/GenericParticleHypothesis.hpp>

+ Collaboration diagram for Acts::GenericParticleHypothesis< charge_t >:

Public Types

using ChargeType = charge_t
 

Public Member Functions

constexpr GenericParticleHypothesis (PdgParticle absPdg, float mass, ChargeType chargeType)
 

Public Attributes

 m_mass {mass}
 
 m_chargeType
 
float m_mass
 
ChargeType m_chargeType
 

Friends

bool operator== (const GenericParticleHypothesis< ChargeType > &lhs, const GenericParticleHypothesis< ChargeType > &rhs)
 
bool operator!= (const GenericParticleHypothesis< ChargeType > &lhs, const GenericParticleHypothesis< ChargeType > &rhs)
 

Detailed Description

template<ACTS_CONCEPT(ChargeConcept) charge_t>
class Acts::GenericParticleHypothesis< charge_t >

Particle hypothesis used in reconstruction.

The reconstruction hypothesis consists of absolute PDG code, mass and absolute charge.

Definition at line 27 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 27 of file GenericParticleHypothesis.hpp

Member Typedef Documentation

template<ACTS_CONCEPT(ChargeConcept) charge_t>
using Acts::GenericParticleHypothesis< charge_t >::ChargeType = charge_t

Definition at line 29 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 29 of file GenericParticleHypothesis.hpp

Constructor & Destructor Documentation

template<ACTS_CONCEPT(ChargeConcept) charge_t>
constexpr Acts::GenericParticleHypothesis< charge_t >::GenericParticleHypothesis ( PdgParticle  absPdg,
float  mass,
ChargeType  chargeType 
)
inline

Creates a particle hypothesis using absolute PDG, mass and the charge type.

Parameters
absPdgthe absolute PDG
massthe particle mass
chargeTypethe type of charge

Definition at line 37 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 37 of file GenericParticleHypothesis.hpp

Friends And Related Function Documentation

template<ACTS_CONCEPT(ChargeConcept) charge_t>
bool operator!= ( const GenericParticleHypothesis< ChargeType > &  lhs,
const GenericParticleHypothesis< ChargeType > &  rhs 
)
friend

Definition at line 137 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 137 of file GenericParticleHypothesis.hpp

template<ACTS_CONCEPT(ChargeConcept) charge_t>
bool operator== ( const GenericParticleHypothesis< ChargeType > &  lhs,
const GenericParticleHypothesis< ChargeType > &  rhs 
)
friend

Definition at line 132 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 132 of file GenericParticleHypothesis.hpp

Member Data Documentation

template<ACTS_CONCEPT(ChargeConcept) charge_t>
Acts::GenericParticleHypothesis< charge_t >::m_chargeType
Initial value:
{std::move(chargeType)} {
assert(absPdg == makeAbsolutePdgParticle(absPdg) &&
"pdg is expected to be absolute");
}
: m_absPdg{absPdg}

Definition at line 39 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 39 of file GenericParticleHypothesis.hpp

template<ACTS_CONCEPT(ChargeConcept) charge_t>
ChargeType Acts::GenericParticleHypothesis< charge_t >::m_chargeType

Definition at line 130 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 130 of file GenericParticleHypothesis.hpp

template<ACTS_CONCEPT(ChargeConcept) charge_t>
Acts::GenericParticleHypothesis< charge_t >::m_mass {mass}

Definition at line 39 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 39 of file GenericParticleHypothesis.hpp

template<ACTS_CONCEPT(ChargeConcept) charge_t>
float Acts::GenericParticleHypothesis< charge_t >::m_mass

Definition at line 129 of file GenericParticleHypothesis.hpp.

View newest version in sPHENIX GitHub at line 129 of file GenericParticleHypothesis.hpp


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