Line data Source code
1 : #ifndef CRPROPA_OUTPUTSHELL_H
2 : #define CRPROPA_OUTPUTSHELL_H
3 :
4 : #include "crpropa/Module.h"
5 : #include "crpropa/AssocVector.h"
6 : #include "crpropa/Variant.h"
7 :
8 : namespace crpropa {
9 : /**
10 : * \addtogroup Output
11 : * @{
12 : */
13 :
14 : /**
15 : @class ShellOutput
16 : @brief Show the trajectory in the shell.
17 : */
18 0 : class ShellOutput: public Module {
19 : public:
20 : void process(Candidate *candidate) const;
21 : std::string getDescription() const;
22 : };
23 :
24 : /**
25 : @class ShellOutput1D
26 : @brief Show the trajectory in the shell.
27 : */
28 0 : class ShellOutput1D: public Module {
29 : public:
30 : void process(Candidate *candidate) const;
31 : std::string getDescription() const;
32 : };
33 :
34 : /**
35 : @class ShellPropertyOutput
36 : @brief Show the candidate properties in the shell.
37 : */
38 0 : class ShellPropertyOutput: public Module {
39 : public:
40 : typedef Loki::AssocVector<std::string, Variant> PropertyMap;
41 : void process(Candidate *candidate) const;
42 : std::string getDescription() const;
43 : };
44 : /** @}*/
45 :
46 : } // namespace cprpropa
47 :
48 : #endif // CRPROPA_OUTPUTSHELL_H
|