JHUGen MELA  JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
PDGHelpers.h File Reference
#include <iostream>
#include <cmath>
#include <vector>
#include "TModParameters.hh"
#include "TVar.hh"
Include dependency graph for PDGHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 PDGHelpers
 

Functions

bool PDGHelpers::isALepton (const int id)
 
bool PDGHelpers::isANeutrino (const int id)
 
bool PDGHelpers::isAnUnknownJet (const int id)
 
bool PDGHelpers::isAKnownJet (const int id)
 
bool PDGHelpers::isAJet (const int id)
 
bool PDGHelpers::isInvalid (const int id)
 
bool PDGHelpers::isAQuark (const int id)
 
bool PDGHelpers::isALightQuark (const int id)
 
bool PDGHelpers::isUpTypeQuark (const int id)
 
bool PDGHelpers::isDownTypeQuark (const int id)
 
bool PDGHelpers::isATopQuark (const int id)
 
bool PDGHelpers::isATauLepton (const int id)
 
bool PDGHelpers::isAGluon (const int id)
 
bool PDGHelpers::isAPhoton (const int id)
 
bool PDGHelpers::isAZBoson (const int id)
 
bool PDGHelpers::isAWBoson (const int id)
 
bool PDGHelpers::isAHiggs (const int id)
 
void PDGHelpers::orderParticles (const std::vector< int > &idlist, const std::vector< bool(*)(const int)> &testlist, std::vector< int > &ordering, bool allowUnknown=false)
 
void PDGHelpers::groupIdenticalParticles (const std::vector< int > &ids, std::vector< std::vector< int >> &ordering, bool *hasUnknownParticles=0)
 
void PDGHelpers::pairIdenticalParticles (const std::vector< int > &ids, std::vector< std::pair< int, int >> &ordering, bool allowUnknown=false)
 
bool PDGHelpers::allEquivalent (std::vector< int > const &ids, bool allowUnknown=false)
 
void PDGHelpers::setCandidateDecayMode (TVar::CandidateDecayMode mode)
 
int PDGHelpers::getCoupledVertex (const int idfirst, const int idsecond, int *hel=0, int *useAHcoupl=0)
 
int PDGHelpers::convertPythiaStatus (int pSt)
 

Variables

const double PDGHelpers::Wmass = 80.399
 
const double PDGHelpers::Zmass = 91.1876
 
const double PDGHelpers::Topmass = 173.2
 
const double PDGHelpers::Bottommass = 4.75
 
const double PDGHelpers::Zeromass = 0
 
const double PDGHelpers::m_el = 0.00051100
 
const double PDGHelpers::m_mu = 0.10566
 
const double PDGHelpers::m_tau = 1.7768
 
const double PDGHelpers::Wwidth = 2.085
 
const double PDGHelpers::Zwidth = 2.4952
 
const double PDGHelpers::Topwidth = 2.
 
TVar::CandidateDecayMode PDGHelpers::HDecayMode = TVar::CandidateDecay_ZZ