![]() |
Iguana 1.0.0
Implementation Guardian of Analysis Algorithms
|
#include <optional>#include <string>#include <unordered_map>common objects used in algorithms
Definition in file TypeDefs.h.


Go to the source code of this file.
Classes | |
| class | iguana::DetectorLayer |
| detector layer IDs; this is a copy of coatjava's DetectorLayer class More... | |
| struct | iguana::Momentum3 |
| 3-momentum type More... | |
| struct | iguana::Momentum4 |
| 4-momentum type More... | |
Namespaces | |
| namespace | iguana::particle |
| Light-weight namespace for particle constants. | |
Typedefs | |
| using | iguana::vector_element_t = double |
| Vector element type. | |
Enumerations | |
| 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 } |
| detector IDs; this is a copy of coatjava's DetectorType enum More... | |
| 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... | |
Functions | |
| 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 | |
| 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 | |
| bool | iguana::IsValidSector (int const &sec) |
Variables | |
| const std::unordered_map< PDG, double > | iguana::particle::mass |
| Particle mass in GeV. | |
| const std::unordered_map< PDG, std::string > | iguana::particle::name |
| Particle names. | |
| const std::unordered_map< PDG, std::string > | iguana::particle::title |
| Particle titles. | |
| using iguana::vector_element_t = double |
Vector element type.
Definition at line 12 of file TypeDefs.h.
| enum iguana::DetectorType |
detector IDs; this is a copy of coatjava's DetectorType enum
Definition at line 143 of file TypeDefs.h.
|
inline |
| sec | the sector number to check |
Definition at line 137 of file TypeDefs.h.