EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
blob
master
analysis
reconstruction
eiccaloreco
eicpidbase
EICPIDDefs.cc
EICPIDDefs.h
EICPIDParticle.cc
EICPIDParticle.h
EICPIDParticleContainer.cc
EICPIDParticleContainer.h
EICPIDParticleContainerLinkDef.h
EICPIDParticleLinkDef.h
EICPIDParticlev1.cc
EICPIDParticlev1.h
EICPIDParticlev1LinkDef.h
eiczdcbase
eiczdcreco
simulation
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EICPIDDefs.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EICPIDDefs.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef EICPID_EICPIDDefs_H
4
#define EICPID_EICPIDDefs_H
5
6
#include <climits>
7
#include <map>
8
#include <string>
9
10
namespace
EICPIDDefs
11
{
12
// sync PID particle keys to the key of tracks
13
typedef
unsigned
int
keytype
;
14
static
const
keytype
INVALID_KEY
= UINT_MAX;
15
16
enum
PIDDetector
17
{
18
PIDAll
= 0,
19
mRICH
= 1,
20
DIRC
= 2,
21
dRICH_AeroGel
= 3,
22
dRICH_Gas
= 4,
23
GasRICH
= 5,
24
25
ETTL
= 11,
26
CTTL
= 12,
27
FTTL
= 13,
28
29
InvalidDetector
= -1
30
};
31
32
const
std::map<std::string, PIDDetector>
PIDDetectorNameMap
= {
33
{
"PIDAll"
,
PIDAll
},
34
{
"mRICH"
,
mRICH
},
35
{
"DIRC"
,
DIRC
},
36
{
"dRICH_AeroGel"
,
dRICH_AeroGel
},
37
{
"dRICH_Gas"
,
dRICH_Gas
},
38
{
"GasRICH"
,
GasRICH
},
39
{
"ETTL"
,
ETTL
},
40
{
"CTTL"
,
CTTL
},
41
{
"FTTL"
,
FTTL
}};
42
43
// consistent with PDG encoding
44
enum
PIDCandidate
45
{
46
ElectronCandiate
= 11,
47
MuonCandiate
= 13,
48
PionCandiate
= 211,
49
KaonCandiate
= 321,
50
ProtonCandiate
= 2212,
51
InvalidCandiate
= 0
52
};
53
55
PIDDetector
getPIDDetector
(
const
std::string&
name
);
56
57
const
std::string&
getPIDDetectorName
(
const
PIDDetector
det);
58
59
}
// namespace EICPIDDefs
60
61
#endif
fun4all_eicdetectors
blob
master
reconstruction
eicpidbase
EICPIDDefs.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:51
using
1.8.2 with
EIC GitHub integration