Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hammer::ParticleData::Signature Struct Reference

Decay signature information. More...

#include <ParticleData.hh>

+ Collaboration diagram for Hammer::ParticleData::Signature:

Public Member Functions

void calcIds (size_t numDaughters)
 computes the unique IDs from the PDG codes More...
 
void addMass (PdgId id)
 appends the mass of a particle to the mass list More...
 
void addMasses (const std::vector< PdgId > &ids)
 appends the masses of a list of particles to the mass list More...
 

Public Attributes

PdgId parent
 particle ID of the parent particle More...
 
std::vector< PdgIddaughters
 particle IDs of the (ordered) daughter (and granddaughter) particles. More...
 
HashId id
 unique ID of the decay process More...
 
HashId hadronicId
 unique ID of the hadronic part of the decay (parent + hadronic daughters) for form factor associations More...
 
std::vector< double > masses
 list of particle mass values parent + daughters (in the same order as the particle ID vector) More...
 

Detailed Description

Decay signature information.

Contains all the necessary information for a decay vertex

Definition at line 54 of file ParticleData.hh.

Member Function Documentation

void Hammer::ParticleData::Signature::addMass ( PdgId  id)

appends the mass of a particle to the mass list

Parameters
[in]idthe particle PDG code

Definition at line 88 of file ParticleData.cc.

void Hammer::ParticleData::Signature::addMasses ( const std::vector< PdgId > &  ids)

appends the masses of a list of particles to the mass list

Parameters
[in]idsthe list of PDG codes of the particles

Definition at line 93 of file ParticleData.cc.

void Hammer::ParticleData::Signature::calcIds ( size_t  numDaughters)

computes the unique IDs from the PDG codes

Parameters
[in]numDaughtersnumber of daughters to consider for the hadronic signature calculation (necessary for processes which combines two decays, e.g. \( B\rightarrow D^*\ell\nu, D^*->D\pi \))

Definition at line 79 of file ParticleData.cc.

Member Data Documentation

std::vector<PdgId> Hammer::ParticleData::Signature::daughters

particle IDs of the (ordered) daughter (and granddaughter) particles.

the ordering is: daughters first, then grand-daughters (if available); within each group different type of particles are ordered according to abs(PDG code) and according to ascending PDG code for particles/anti-particles of the same type

Definition at line 57 of file ParticleData.hh.

HashId Hammer::ParticleData::Signature::hadronicId

unique ID of the hadronic part of the decay (parent + hadronic daughters) for form factor associations

Definition at line 62 of file ParticleData.hh.

HashId Hammer::ParticleData::Signature::id

unique ID of the decay process

Definition at line 61 of file ParticleData.hh.

std::vector<double> Hammer::ParticleData::Signature::masses

list of particle mass values parent + daughters (in the same order as the particle ID vector)

Definition at line 64 of file ParticleData.hh.

PdgId Hammer::ParticleData::Signature::parent

particle ID of the parent particle

Definition at line 56 of file ParticleData.hh.


The documentation for this struct was generated from the following files: