ATLAS Offline Software
Loading...
Searching...
No Matches
TrigParticleTable.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6// TrigParticleTable.h, (c) ATLAS Detector software
7// LVL2 adaptation of the offline code ParticleHypothesis.h
8// by A.Salzburger
10
11#ifndef __TRIG_PARTICLE_TABLE__
12#define __TRIG_PARTICLE_TABLE__
13
14#include <array>
15#include "GaudiKernel/SystemOfUnits.h"
17
18namespace TrigVtx
19{
29
31 {
32 constexpr TrigParticleMasses() = default;
33 std::array<double,6> mass{
36 ParticleConstants::chargedPionMassInMeV, // charged pion mass
37 ParticleConstants::chargedKaonMassInMeV, // charged kaon mass
40 };
41 };
42}
43
44#endif
45
A number of constexpr particle constants to avoid hardcoding them directly in various places.
constexpr double muonMassInMeV
the mass of the muon (in MeV)
constexpr double chargedKaonMassInMeV
the mass of the charged kaon (in MeV)
constexpr double protonMassInMeV
the mass of the proton (in MeV)
constexpr double chargedPionMassInMeV
the mass of the charged pion (in MeV)
constexpr double electronMassInMeV
the mass of the electron (in MeV)
constexpr double photonMassInMeV
various mass-less particles
std::array< double, 6 > mass
constexpr TrigParticleMasses()=default