Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
JModuleHeader.hh
Go to the documentation of this file.
1#ifndef __JTRIGGER__JMODULEHEADER__
2#define __JTRIGGER__JMODULEHEADER__
3
7
8
9/**
10 * \author mdejong
11 */
12
13namespace JTRIGGER {}
14namespace JPP { using namespace JTRIGGER; }
15
16namespace JTRIGGER {
17
21
22
23 /**
24 * Header for Module.
25 */
27 public JDAQChronometer,
29 public JPosition3D
30 {
31 /**
32 * Default constructor.
33 */
39
40
41 /**
42 * Constructor.
43 *
44 * \param chronometer DAQ chronometer
45 * \param id module identifier
46 * \param pos module position
47 */
55
56
57 /**
58 * Get module header.
59 *
60 * \return module header
61 */
63 {
64 return static_cast<const JModuleHeader&>(*this);
65 }
66
67
68 /**
69 * Set module header.
70 *
71 * \param header module header
72 */
73 void setModuleHeader(const JModuleHeader& header)
74 {
75 static_cast<JModuleHeader&>(*this) = header;
76 }
77 };
78}
79
80#endif
Data structure for position in three dimensions.
Template definition of a multi-dimensional oscillation probability interpolation table.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
Header for Module.
JModuleHeader(const JDAQChronometer &chronometer, const JDAQModuleIdentifier &id, const JPosition3D &pos)
Constructor.
JModuleHeader()
Default constructor.
const JModuleHeader & getModuleHeader() const
Get module header.
void setModuleHeader(const JModuleHeader &header)
Set module header.