ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigTools
TrigInDetToolInterfaces
TrigInDetToolInterfaces
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"
16
#include "
TruthUtils/ParticleConstants.h
"
17
18
namespace
TrigVtx
19
{
20
enum
TrigParticleName
21
{
22
electron
=0,
23
muon
=1,
24
pion
=2,
25
kaon
=3,
26
proton
=4,
27
gamma
=5
28
};
29
30
struct
TrigParticleMasses
31
{
32
constexpr
TrigParticleMasses
() =
default
;
33
std::array<double,6>
mass
{
34
ParticleConstants::electronMassInMeV
,
// electron mass
35
ParticleConstants::muonMassInMeV
,
// muon mass
36
ParticleConstants::chargedPionMassInMeV
,
// charged pion mass
37
ParticleConstants::chargedKaonMassInMeV
,
// charged kaon mass
38
ParticleConstants::protonMassInMeV
,
// proton mass
39
ParticleConstants::photonMassInMeV
// photon mass
40
};
41
};
42
}
43
44
#endif
45
ParticleConstants.h
A number of constexpr particle constants to avoid hardcoding them directly in various places.
ParticleConstants::PDG2011::muonMassInMeV
constexpr double muonMassInMeV
the mass of the muon (in MeV)
Definition
ParticleConstants.h:29
ParticleConstants::PDG2011::chargedKaonMassInMeV
constexpr double chargedKaonMassInMeV
the mass of the charged kaon (in MeV)
Definition
ParticleConstants.h:50
ParticleConstants::PDG2011::protonMassInMeV
constexpr double protonMassInMeV
the mass of the proton (in MeV)
Definition
ParticleConstants.h:71
ParticleConstants::PDG2011::chargedPionMassInMeV
constexpr double chargedPionMassInMeV
the mass of the charged pion (in MeV)
Definition
ParticleConstants.h:41
ParticleConstants::PDG2011::electronMassInMeV
constexpr double electronMassInMeV
the mass of the electron (in MeV)
Definition
ParticleConstants.h:26
ParticleConstants::photonMassInMeV
constexpr double photonMassInMeV
various mass-less particles
Definition
ParticleConstants.h:136
TrigVtx
Definition
TrigParticleTable.h:19
TrigVtx::TrigParticleName
TrigParticleName
Definition
TrigParticleTable.h:21
TrigVtx::proton
@ proton
Definition
TrigParticleTable.h:26
TrigVtx::gamma
@ gamma
Definition
TrigParticleTable.h:27
TrigVtx::pion
@ pion
Definition
TrigParticleTable.h:24
TrigVtx::muon
@ muon
Definition
TrigParticleTable.h:23
TrigVtx::electron
@ electron
Definition
TrigParticleTable.h:22
TrigVtx::kaon
@ kaon
Definition
TrigParticleTable.h:25
TrigVtx::TrigParticleMasses::mass
std::array< double, 6 > mass
Definition
TrigParticleTable.h:33
TrigVtx::TrigParticleMasses::TrigParticleMasses
constexpr TrigParticleMasses()=default
Generated on
for ATLAS Offline Software by
1.17.0