Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
Decay signature information. More...
#include <ParticleData.hh>
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< PdgId > | daughters |
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... | |
Decay signature information.
Contains all the necessary information for a decay vertex
Definition at line 54 of file ParticleData.hh.
void Hammer::ParticleData::Signature::addMass | ( | PdgId | id | ) |
appends the mass of a particle to the mass list
[in] | id | the 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
[in] | ids | the 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
[in] | numDaughters | number 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.
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.