class Rivet::Particles

Rivet::Particles

Specialised vector of Particle objects. More…

#include <Particle.hh>

Inherits from std::vector< Particle >

Public Types

Name
using std::vector< Particle >base

Public Functions

Name
Particles()
Particles(const std::vector< Particle > & vps)
FourMomentamoms() const
PseudoJetspseudojets() const
operator FourMomenta() const
operator PseudoJets() const
Particles &operator+=(const Particle & p)
Particles &operator+=(const Particles & ps)

Detailed Description

class Rivet::Particles;

Specialised vector of Particle objects.

Todo: Add explicit and implicit conversion to PseudoJets

A specialised version of vector which is able to implicitly and explicitly convert to a vector of FourMomentum.

Public Types Documentation

using base

using Rivet::Particles::base =  std::vector<Particle>;

Public Functions Documentation

function Particles

Particles()

function Particles

Particles(
    const std::vector< Particle > & vps
)

function moms

FourMomenta moms() const

function pseudojets

PseudoJets pseudojets() const

function operator FourMomenta

inline operator FourMomenta() const

function operator PseudoJets

inline operator PseudoJets() const

function operator+=

Particles & operator+=(
    const Particle & p
)

function operator+=

Particles & operator+=(
    const Particles & ps
)

Updated on 2022-08-07 at 20:17:17 +0100