Jpp 20.0.0-72-g597b30bc9
the software that should make you happy
Loading...
Searching...
No Matches
JK40Simulator.hh
Go to the documentation of this file.
1#ifndef __JDETECTOR__JK40SIMULATOR__
2#define __JDETECTOR__JK40SIMULATOR__
3
7
8
9/**
10 * \author mdejong
11 */
12
13namespace JDETECTOR {}
14namespace JPP { using namespace JDETECTOR; }
15
16namespace JDETECTOR {
17
18 /**
19 * Interface for simulation of K40 background.
20 */
22 public:
23 /**
24 * Virtual destructor.
25 */
27 {}
28
29
30 /**
31 * Generate hits.
32 *
33 * \param module module
34 * \param period time window [ns]
35 * \param output background data
36 */
37 virtual void generateHits(const JModule& module,
38 const JTimeRange& period,
39 JModuleData& output) const = 0;
40
41
42 /**
43 * Auxiliary data structure for argument parsing of module pair.
44 */
45 struct module_pair {
46 const JModule& first;
48 };
49
50
51 /**
52 * Auxiliary data structure for argument parsing of module data.
53 */
58
59
60 /**
61 * Generate mixed-L1/L0 hits.
62 *
63 * \param input module pair
64 * \param period time window [ns]
65 * \param output background data
66 */
67 virtual void generateHits(const module_pair& input,
68 const JTimeRange& period,
69 const module_data& output) const = 0;
70 };
71}
72
73#endif
Data structure for optical module.
Interface for simulation of K40 background.
virtual void generateHits(const JModule &module, const JTimeRange &period, JModuleData &output) const =0
Generate hits.
virtual ~JK40Simulator()
Virtual destructor.
virtual void generateHits(const module_pair &input, const JTimeRange &period, const module_data &output) const =0
Generate mixed-L1/L0 hits.
Data structure for a composite optical module.
Definition JModule.hh:76
file Auxiliary data structures and methods for detector calibration.
Definition JAnchor.hh:12
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for argument parsing of module data.
Auxiliary data structure for argument parsing of module pair.