Jpp
|
Auxiliary class to set DAQ system clock parameters. More...
#include <JDAQClock.hh>
Public Types | |
enum | JDAQClock_t { KM3NET = 1, PPM_DU = 3, ANTARES = 101 } |
Clock types. More... | |
Public Member Functions | |
JDAQClock (const JDAQClock_t clock=KM3NET) | |
Constructor. More... | |
JDAQClock_t | get () const |
Get clock type. More... | |
void | set (const JDAQClock_t clock) |
Set clock type. More... | |
void | set () |
Set DAQ clock parameters. More... | |
Protected Attributes | |
JDAQClock_t | clock |
Friends | |
std::istream & | operator>> (std::istream &in, JDAQClock &clock) |
Read clock from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JDAQClock &clock) |
Write clock to output. More... | |
Auxiliary class to set DAQ system clock parameters.
Definition at line 27 of file JDAQClock.hh.
Clock types.
Enumerator | |
---|---|
KM3NET | |
PPM_DU | |
ANTARES |
Definition at line 32 of file JDAQClock.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Set DAQ clock parameters.
Definition at line 75 of file JDAQClock.hh.
|
friend |
Read clock from input.
in | input stream |
clock | JClock |
Definition at line 107 of file JDAQClock.hh.
|
friend |
Write clock to output.
out | output stream |
clock | JClock |
Definition at line 133 of file JDAQClock.hh.
|
protected |
Definition at line 140 of file JDAQClock.hh.