ATLAS Offline Software
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
17
namespace
TrigVtx
18
{
19
enum
TrigParticleName
20
{
21
electron
=0,
22
muon
=1,
23
pion
=2,
24
kaon
=3,
25
proton
=4,
26
gamma
=5
27
};
28
29
struct
TrigParticleMasses
30
{
31
constexpr
TrigParticleMasses
() =
default
;
32
std::array<double,6>
mass
{
33
0.5109989*
Gaudi::Units::MeV
,
// electron mass
34
105.65837*
Gaudi::Units::MeV
,
// muon mass
35
139.57019*
Gaudi::Units::MeV
,
// charged pion mass
36
493.67700*
Gaudi::Units::MeV
,
// charged kaon mass
37
938.27203*
Gaudi::Units::MeV
,
// proton mass
38
0
// photon mass
39
};
40
};
41
}
42
43
#endif
44
TrigVtx
Definition:
TrigParticleTable.h:18
python.SystemOfUnits.MeV
int MeV
Definition:
SystemOfUnits.py:154
TrigVtx::pion
@ pion
Definition:
TrigParticleTable.h:23
TrigVtx::proton
@ proton
Definition:
TrigParticleTable.h:25
TrigVtx::gamma
@ gamma
Definition:
TrigParticleTable.h:26
TrigVtx::TrigParticleMasses::TrigParticleMasses
constexpr TrigParticleMasses()=default
TrigVtx::muon
@ muon
Definition:
TrigParticleTable.h:22
TrigVtx::kaon
@ kaon
Definition:
TrigParticleTable.h:24
TrigVtx::TrigParticleMasses
Definition:
TrigParticleTable.h:30
TrigVtx::electron
@ electron
Definition:
TrigParticleTable.h:21
TrigVtx::TrigParticleMasses::mass
std::array< double, 6 > mass
Definition:
TrigParticleTable.h:32
TrigVtx::TrigParticleName
TrigParticleName
Definition:
TrigParticleTable.h:20
Generated on Sun Dec 22 2024 21:21:16 for ATLAS Offline Software by
1.8.18