hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
Particle.hh File Reference

Contains the particle struct. More...

#include <optional>
#include <utility>
#include <vector>
#include "boost/rational.hpp"
#include "fastjet/PseudoJet.hh"
#include "HEJ/PDG_codes.hh"
Include dependency graph for Particle.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HEJ::Particle
 Class representing a particle. More...
 
struct  HEJ::rapidity_less
 Functor to compare rapidities. More...
 
struct  HEJ::pz_less
 Functor to compare momenta in z direction. More...
 
struct  HEJ::type_less
 Functor to compare particle type (PDG) More...
 

Namespaces

namespace  HEJ
 Main HEJ 2 Namespace.
 

Typedefs

using HEJ::Colour = std::pair< int, int >
 

Functions

std::vector< fastjet::PseudoJet > HEJ::to_PseudoJet (std::vector< Particle > const &v)
 Convert a vector of Particles to a vector of particle momenta. More...
 
constexpr bool HEJ::is_antiparticle (Particle const &p)
 Check if the argument is an antiparticle. More...
 
constexpr bool HEJ::is_parton (Particle const &p)
 Check if a particle is a parton, i.e. quark, antiquark, or gluon. More...
 
constexpr bool HEJ::is_quark (Particle const &p)
 Check if a particle is a quark. More...
 
constexpr bool HEJ::is_antiquark (Particle const &p)
 Check if a particle is an anti-quark. More...
 
constexpr bool HEJ::is_anyquark (Particle const &p)
 Check if a particle is a quark or anit-quark. More...
 
constexpr bool HEJ::is_lepton (Particle const &p)
 Function to determine if particle is a lepton. More...
 
constexpr bool HEJ::is_antilepton (Particle const &p)
 Function to determine if particle is an antilepton. More...
 
constexpr bool HEJ::is_anylepton (Particle const &p)
 Function to determine if particle is an (anti-)lepton. More...
 
constexpr bool HEJ::is_neutrino (Particle const &p)
 Function to determine if particle is a neutrino. More...
 
constexpr bool HEJ::is_antineutrino (Particle const &p)
 Function to determine if particle is an antineutrino. More...
 
constexpr bool HEJ::is_anyneutrino (Particle const &p)
 Function to determine if particle is an (anti-)neutrino. More...
 
constexpr bool HEJ::is_massless (Particle const &p)
 Check if a particle is massless. More...
 
constexpr bool HEJ::is_massive (Particle const &p)
 Check if a particle is massive. More...
 
constexpr bool HEJ::is_charged_lepton (Particle const &p)
 Function to determine if particle is a charged lepton. More...
 
constexpr bool HEJ::is_charged_antilepton (Particle const &p)
 Function to determine if particle is a charged lepton. More...
 
constexpr bool HEJ::is_charged_anylepton (Particle const &p)
 Function to determine if particle is a charged lepton or charged antilepton. More...
 
constexpr bool HEJ::is_AWZ_boson (Particle const &particle)
 Check if a particle is a photon, W or Z boson. More...
 
constexpr bool HEJ::is_AWZH_boson (Particle const &particle)
 Check if a particle is a photon, W, Z, or Higgs boson. More...
 
std::vector< Particle > HEJ::filter_partons (std::vector< Particle > const &v)
 Extract all partons from a vector of particles. More...
 
std::vector< Particle > HEJ::filter_AWZH_bosons (std::vector< Particle > const &v)
 Extract all AWZH bosons from a vector of particles. More...
 
boost::rational< int > HEJ::charge (Particle const &p)
 Particle electric charge. More...
 

Detailed Description

Contains the particle struct.

Authors
The HEJ collaboration (see AUTHORS for details)
Date
2019-2022