ATLAS Offline Software
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 
18 namespace TrigVtx
19 {
21  {
23  muon=1,
24  pion=2,
25  kaon=3,
26  proton=4,
27  gamma=5
28  };
29 
31  {
32  constexpr TrigParticleMasses() = default;
33  std::array<double,6> mass{
34  ParticleConstants::electronMassInMeV, // electron mass
36  ParticleConstants::chargedPionMassInMeV, // charged pion mass
37  ParticleConstants::chargedKaonMassInMeV, // charged kaon mass
40  };
41  };
42 }
43 
44 #endif
45 
ParticleConstants::photonMassInMeV
constexpr double photonMassInMeV
various mass-less particles
Definition: ParticleConstants.h:136
ParticleConstants::PDG2011::muonMassInMeV
constexpr double muonMassInMeV
the mass of the muon (in MeV)
Definition: ParticleConstants.h:29
TrigVtx
Definition: TrigParticleTable.h:19
ParticleConstants::PDG2011::chargedKaonMassInMeV
constexpr double chargedKaonMassInMeV
the mass of the charged kaon (in MeV)
Definition: ParticleConstants.h:50
TrigVtx::pion
@ pion
Definition: TrigParticleTable.h:24
ParticleConstants::PDG2011::chargedPionMassInMeV
constexpr double chargedPionMassInMeV
the mass of the charged pion (in MeV)
Definition: ParticleConstants.h:41
TrigVtx::proton
@ proton
Definition: TrigParticleTable.h:26
TrigVtx::gamma
@ gamma
Definition: TrigParticleTable.h:27
ParticleConstants.h
TrigVtx::TrigParticleMasses::TrigParticleMasses
constexpr TrigParticleMasses()=default
TrigVtx::muon
@ muon
Definition: TrigParticleTable.h:23
TrigVtx::kaon
@ kaon
Definition: TrigParticleTable.h:25
TrigVtx::TrigParticleMasses
Definition: TrigParticleTable.h:31
TrigVtx::electron
@ electron
Definition: TrigParticleTable.h:22
ParticleConstants::PDG2011::protonMassInMeV
constexpr double protonMassInMeV
the mass of the proton (in MeV)
Definition: ParticleConstants.h:71
TrigVtx::TrigParticleMasses::mass
std::array< double, 6 > mass
Definition: TrigParticleTable.h:33
TrigVtx::TrigParticleName
TrigParticleName
Definition: TrigParticleTable.h:21
ParticleConstants::PDG2011::electronMassInMeV
constexpr double electronMassInMeV
the mass of the electron (in MeV)
Definition: ParticleConstants.h:26