Jpp  18.2.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JK40Simulator.hh
Go to the documentation of this file.
1 #ifndef __JDETECTOR__JK40SIMULATOR__
2 #define __JDETECTOR__JK40SIMULATOR__
3 
4 #include "JDetector/JModule.hh"
7 
8 
9 /**
10  * \author mdejong
11  */
12 
13 namespace JDETECTOR {}
14 namespace JPP { using namespace JDETECTOR; }
15 
16 namespace JDETECTOR {
17 
18  /**
19  * Interface for simulation of K40 background.
20  */
21  class JK40Simulator {
22  public:
23  /**
24  * Virtual destructor.
25  */
26  virtual ~JK40Simulator()
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 #endif
Interface for simulation of K40 background.
Data structure for a composite optical module.
Definition: JModule.hh:68
Data structure for PMT data corresponding to a detector module.
virtual ~JK40Simulator()
Virtual destructor.
virtual void generateHits(const JModule &module, const JTimeRange &period, JModuleData &output) const =0
Generate hits.
Data structure for optical module.