Id.hh File Reference
#include <string>
#include <vector>
#include "boca/units/ElectronVolt.hh"
Include dependency graph for Id.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 boca
 Boosted Collider Analysis.
 

Enumerations

enum  boca::Id {
  boca::Id::none = 0, boca::Id::down = 1, boca::Id::up = 2, boca::Id::strange = 3,
  boca::Id::charm = 4, boca::Id::bottom = 5, boca::Id::top = 6, boca::Id::bottom_partner = 7,
  boca::Id::top_partner = 8, boca::Id::electron = 11, boca::Id::electron_neutrino = 12, boca::Id::muon = 13,
  boca::Id::muon_neutrino = 14, boca::Id::tau = 15, boca::Id::tau_neutrino = 16, boca::Id::tau_partner = 17,
  boca::Id::tau_neutrino_partner = 18, boca::Id::gluon = 21, boca::Id::photon = 22, boca::Id::Z = 23,
  boca::Id::W = 24, boca::Id::higgs = 25, boca::Id::Z_partner = 32, boca::Id::Z_partner_2 = 33,
  boca::Id::W_partner = 34, boca::Id::heavy_higgs = 35, boca::Id::CP_odd_higgs = 36, boca::Id::charged_higgs = 37,
  boca::Id::any = 86, boca::Id::isr = 87, boca::Id::marker = 88, boca::Id::mixed_jet = 90,
  boca::Id::cluster = 91, boca::Id::string = 92, boca::Id::pi0 = 111, boca::Id::rho0 = 113,
  boca::Id::K0l = 130, boca::Id::pion = 211, boca::Id::rho = 213, boca::Id::eta = 221,
  boca::Id::omega = 223, boca::Id::K0s = 310, boca::Id::K0 = 311, boca::Id::K0S = 313,
  boca::Id::K = 321, boca::Id::KS = 323, boca::Id::etaP = 331, boca::Id::Dpm = 411,
  boca::Id::DS = 413, boca::Id::DS2 = 415, boca::Id::D0 = 421, boca::Id::DS0 = 423,
  boca::Id::etac = 441, boca::Id::B0 = 511, boca::Id::B0S = 513, boca::Id::Bpm = 521,
  boca::Id::BS = 523, boca::Id::BS0 = 531, boca::Id::BsS0 = 533, boca::Id::ypsilon = 553,
  boca::Id::down_down_1 = 1103, boca::Id::up_down_0 = 2101, boca::Id::up_down_1 = 2103, boca::Id::Delta = 1114,
  boca::Id::neutron = 2112, boca::Id::up_up_1 = 2203, boca::Id::proton = 2212, boca::Id::Delta_2 = 2224,
  boca::Id::CP_violating_higgs = 5000000, boca::Id::higgs_coupling = 9010221
}
 PDG particle naming conventions. More...
 
enum  boca::MultiId {
  boca::MultiId::quark, boca::MultiId::five_quark, boca::MultiId::charged_lepton, boca::MultiId::neutrino,
  boca::MultiId::neutral_boson, boca::MultiId::bosons
}
 Groups of PDG particles. More...
 

Functions

std::string boca::Name (int id)
 Name of a particle with given PDG number. More...
 
std::string boca::Name (Id id)
 Name of a particle with given Id. More...
 
std::ostream & boca::operator<< (std::ostream &stream, Id id)
 Stream the name of a particle with given Id. More...
 
Mass boca::MassOf (Id id)
 Mass of particle with given Id. More...
 
std::string boca::Name (MultiId multi_id)
 Names of PDG particle groups. More...
 
std::ostream & boca::operator<< (std::ostream &stream, MultiId id)
 Stream the name of a particle with given MultiId. More...
 
Mass boca::MassOf (MultiId multi_id)
 Common mass of a multi particle. More...
 
std::vector< Id > boca::Resolve (MultiId multi_id)
 Vector if PDG particle Ids for a given MultiId. More...
 
Id boca::Lightest (MultiId multi_id)
 Lightest particle of a given MultiID. More...
 
Id boca::Heavyest (MultiId multi_id)
 Heaviest particle of a given MultiId. More...