/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 {
14  eLost, // photon lost
15  eDetected, // photon detected
16  eDrawAndExit, // for visual debugging
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
34  eShadowed, // light hit absorbing surface within the telescope building (camera backside,...)
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
const std::string RTResultName[SIZE_RTResult]
Definition: /RTResult.h:52
const std::string RTNextName[SIZE_RTNext]
Definition: /RTResult.h:20

, generated on Tue Sep 26 2023.