![]() |
Iguana 0.9.0
Implementation Guardian of Analysis Algorithms
|
#include <string>
#include <optional>
#include <unordered_map>
common objects used in algorithms
Definition in file TypeDefs.h.
Go to the source code of this file.
Classes | |
struct | iguana::Momentum3 |
3-momentum type More... | |
struct | iguana::Momentum4 |
4-momentum type More... | |
class | iguana::DetectorLayer |
detector layer IDs; this is a copy of coatjava's DetectorLayer class More... |
Namespaces | |
namespace | iguana |
General, top-level namespace for algorithms and infrastructure. For algorithms and bindings, see its sub-namespaces. | |
namespace | iguana::particle |
Light-weight namespace for particle constants. |
Typedefs | |
using | iguana::vector_element_t = double |
Vector element type. |
Enumerations | |
enum | iguana::particle::PDG { electron = 11 , photon = 22 , proton = 2212 , antiproton = -2212 , neutron = 2112 , antineutron = -2112 , pi_plus = 211 , pi_minus = -211 , kaon_plus = 321 , kaon_minus = -321 } |
PDG codes. More... | |
enum | iguana::DetectorType { UNDEFINED = 0 , BMT = 1 , BST = 2 , CND = 3 , CTOF = 4 , CVT = 5 , DC = 6 , ECAL = 7 , FMT = 8 , FT = 9 , FTCAL = 10 , FTHODO = 11 , FTOF = 12 , FTTRK = 13 , HTCC = 15 , LTCC = 16 , RF = 17 , RICH = 18 , RTPC = 19 , HEL = 20 , BAND = 21 , RASTER = 22 , URWELL = 23 , AHDC = 24 , ATOF = 25 , RECOIL = 26 , TARGET = 100 , MAGNETS = 101 , ECIN = 110 , ECOUT = 111 , ECTOT = 112 , LAC = 113 , SC = 114 , CC = 115 } |
detector IDs; this is a copy of coatjava's DetectorType enum More... |
Functions | |
template<typename VALUE_TYPE> | |
std::optional< VALUE_TYPE > const | iguana::particle::get (std::unordered_map< PDG, VALUE_TYPE > const &property, PDG const &pdg_code) |
get a particle property given a PDG code | |
template<typename VALUE_TYPE> | |
std::optional< VALUE_TYPE > const | iguana::particle::get (std::unordered_map< PDG, VALUE_TYPE > const &property, int const &pdg_code) |
get a particle property given a PDG code |
Variables | |
const std::unordered_map< PDG, std::string > | iguana::particle::name |
Particle names. | |
const std::unordered_map< PDG, std::string > | iguana::particle::title |
Particle titles. | |
const std::unordered_map< PDG, double > | iguana::particle::mass |
Particle mass in GeV. |