Main Page
Class Categories
Classes
Namespaces
File List
File Members
exper-sw
cosmosw
AugerSW
Offline
source
main
Modules
FdSimulation
TelescopeSimulatorKG2
/RTResult.h
Go to the documentation of this file.
1
#ifndef _TelescopeSimulatorKG2_RTResult_h_
2
#define _TelescopeSimulatorKG2_RTResult_h_
3
4
#include <string>
5
6
namespace
TelescopeSimulatorKG2 {
7
8
enum
RTNext
{
9
eFilter
,
10
eLens
,
11
eCameraShadow
,
12
eMirror
,
13
eCamera
,
14
eLost
,
// photon lost
15
eDetected
,
// photon detected
16
eDrawAndExit
,
// for visual debugging
17
SIZE_RTNext
18
};
19
20
const
std::string
RTNextName
[
SIZE_RTNext
] = {
"eFilter"
,
21
"eLens"
,
22
"eCameraShadow"
,
23
"eMirror"
,
24
"eCamera"
,
25
"eLost"
,
26
"eDetected"
,
27
"eDrawAndExit"
};
28
29
enum
RTResult
{
30
eOK
= 0,
// nothing happened to photon
31
eMissedDiaphragm
,
32
eMissedPixels
,
33
eMissedFocalSurface
,
34
eShadowed
,
// light hit absorbing surface within the telescope building (camera backside,...)
35
eAbsorbed
,
36
eReflected
,
37
eReflectedByFilter
,
38
eReflectedByLens
,
39
eAbsorbedByFilter
,
40
eAbsorbedByLens
,
41
eAbsorbedByMirror
,
42
eBackscattered
,
43
eInvalidMercedes
,
44
eInvalidHitMercedes
,
45
eInvalidLens
,
46
eTooManyReflections
,
47
eTerminate
,
48
SIZE_RTResult
49
};
50
51
// the clear text expression of the above enum. MAKE SURE THEY MATCH!
52
const
std::string
RTResultName
[
SIZE_RTResult
] = {
"eOK"
,
53
"MissedDiaphragm"
,
54
"eMissedPixels"
,
55
"eMissedFocalSurface"
,
56
"eShadowed"
,
57
"eAbsorbed"
,
58
"eReflected"
,
59
"eReflectedByFilter"
,
60
"eReflectedByLens"
,
61
"eAbsorbedByFilter"
,
62
"eAbsorbedByLens"
,
63
"eAbsorbedByMirror"
,
64
"eBackscattered"
,
65
"eInvalidMercedes"
,
66
"eInvalidHitMercedes"
,
67
"eInvalidLens"
,
68
"eTooManyReflections"
,
69
"eTerminate"
};
70
71
72
}
73
74
#endif
TelescopeSimulatorKG2::eFilter
Definition:
/RTResult.h:9
TelescopeSimulatorKG2::eDrawAndExit
Definition:
/RTResult.h:16
TelescopeSimulatorKG2::eReflectedByFilter
Definition:
/RTResult.h:37
TelescopeSimulatorKG2::eDetected
Definition:
/RTResult.h:15
TelescopeSimulatorKG2::eLens
Definition:
/RTResult.h:10
TelescopeSimulatorKG2::eCamera
Definition:
/RTResult.h:13
TelescopeSimulatorKG2::eCameraShadow
Definition:
/RTResult.h:11
TelescopeSimulatorKG2::eShadowed
Definition:
/RTResult.h:34
TelescopeSimulatorKG2::RTNext
RTNext
Definition:
/RTResult.h:8
TelescopeSimulatorKG2::eMissedDiaphragm
Definition:
/RTResult.h:31
TelescopeSimulatorKG2::eMissedPixels
Definition:
/RTResult.h:32
TelescopeSimulatorKG2::eReflected
Definition:
/RTResult.h:36
TelescopeSimulatorKG2::eMissedFocalSurface
Definition:
/RTResult.h:33
TelescopeSimulatorKG2::eOK
Definition:
/RTResult.h:30
TelescopeSimulatorKG2::SIZE_RTNext
Definition:
/RTResult.h:17
TelescopeSimulatorKG2::eAbsorbedByMirror
Definition:
/RTResult.h:41
TelescopeSimulatorKG2::eInvalidLens
Definition:
/RTResult.h:45
TelescopeSimulatorKG2::eInvalidMercedes
Definition:
/RTResult.h:43
TelescopeSimulatorKG2::eInvalidHitMercedes
Definition:
/RTResult.h:44
TelescopeSimulatorKG2::eBackscattered
Definition:
/RTResult.h:42
TelescopeSimulatorKG2::eMirror
Definition:
/RTResult.h:12
TelescopeSimulatorKG2::SIZE_RTResult
Definition:
/RTResult.h:48
TelescopeSimulatorKG2::eAbsorbed
Definition:
/RTResult.h:35
TelescopeSimulatorKG2::RTResultName
const std::string RTResultName[SIZE_RTResult]
Definition:
/RTResult.h:52
TelescopeSimulatorKG2::eAbsorbedByLens
Definition:
/RTResult.h:40
TelescopeSimulatorKG2::eReflectedByLens
Definition:
/RTResult.h:38
TelescopeSimulatorKG2::eTerminate
Definition:
/RTResult.h:47
TelescopeSimulatorKG2::RTNextName
const std::string RTNextName[SIZE_RTNext]
Definition:
/RTResult.h:20
TelescopeSimulatorKG2::eTooManyReflections
Definition:
/RTResult.h:46
TelescopeSimulatorKG2::eLost
Definition:
/RTResult.h:14
TelescopeSimulatorKG2::eAbsorbedByFilter
Definition:
/RTResult.h:39
TelescopeSimulatorKG2::RTResult
RTResult
Definition:
/RTResult.h:29
, generated on Tue Sep 26 2023.