Jpp
|
Timeslice with Monte Carlo event. More...
#include <JEventTimeslice.hh>
Public Member Functions | |
JEventTimeslice (const JDAQChronometer &chronometer, const JDetectorSimulator &simbad, const Evt &event, const JTimeRange &period=JTimeRange::DEFAULT_RANGE) | |
Constructor. More... | |
void | applyHighRateVeto (const JPMTDefaultSimulatorInterface &pmtSimulator) |
Apply high-rate veto. More... | |
ClassDef (JDAQTimesliceL0, 1) | |
ClassDef (JDAQTimeslice, 4) | |
ClassDef (JDAQPreamble, 1) | |
ClassDef (JDAQTimesliceHeader, 2) | |
ClassDef (JDAQHeader, 2) | |
ClassDef (JDAQChronometer, 3) | |
void | clear () |
Clear data. More... | |
JDAQTimeslice & | add (const JDAQTimeslice ×lice) |
Add another timeslice. More... | |
std::ostream & | print (std::ostream &out, const bool lpr=false) const |
Print DAQ Timeslice. More... | |
virtual int | getSize () const |
Get size of object. More... | |
int | getLength () const |
Get length. More... | |
int | getDataType () const |
Get data type. More... | |
ClassDefNV (JDAQAbstractPreamble, 1) | |
const JDAQTimesliceHeader & | getDAQTimesliceHeader () const |
Get DAQ time slice header. More... | |
const JDAQHeader & | getDAQHeader () const |
Get DAQ header. More... | |
void | setDAQHeader (const JDAQHeader &header) |
Set DAQ header. More... | |
const JDAQChronometer & | getDAQChronometer () const |
Get DAQ chronometer. More... | |
void | setDAQChronometer (const JDAQChronometer &chronometer) |
Set DAQ chronometer. More... | |
int | getDetectorID () const |
Get detector identifier. More... | |
int | getRunNumber () const |
Get run number. More... | |
int | getFrameIndex () const |
Get frame index. More... | |
JDAQUTCExtended | getTimesliceStart () const |
Get start of timeslice. More... | |
void | setRunNumber (const int run) |
Set run number. More... | |
void | setFrameIndex (const int frame_index) |
Set frame index. More... | |
void | setTimesliceStart (const JDAQUTCExtended ×lice_start) |
Set timeslice start time. More... | |
Static Public Member Functions | |
static int | sizeOf () |
Get size of object. More... | |
static int | sizeOf () |
Get size of object. More... | |
Protected Member Functions | |
void | setLength () |
Set length. More... | |
Protected Attributes | |
int | length |
int | type |
int | detector_id |
int | run |
int | frame_index |
JDAQUTCExtended | timeslice_start |
Timeslice with Monte Carlo event.
Definition at line 33 of file JEventTimeslice.hh.
|
inline |
Constructor.
This constructor converts the Monte Carlo event to a DAQ timeslice. In this, both the PMT and CLB simulations are applied. If the K40 simulator is available and the given time window is valid, the K40 background is generated and added to the time slice data. N.B. The given time window extends the time range of hits in the event, if any.
chronometer | chronometer |
simbad | detector simulator |
event | Monte Carlo event |
period | time window [ns] |
Definition at line 51 of file JEventTimeslice.hh.
|
inlineinherited |
Apply high-rate veto.
pmtSimulator | PMT simulator |
Definition at line 40 of file JTimesliceL0.hh.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Add another timeslice.
timeslice | timeslice |
Definition at line 134 of file JDAQTimeslice.hh.
|
inlineinherited |
Print DAQ Timeslice.
out | output stream |
lpr | long print |
Definition at line 209 of file JDAQTimeslice.hh.
|
inlinevirtualinherited |
Get size of object.
Reimplemented from KM3NETDAQ::JDAQPreamble.
Definition at line 260 of file JDAQTimeslice.hh.
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
Get DAQ time slice header.
Definition at line 49 of file JDAQTimesliceHeader.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Set DAQ chronometer.
chronometer | DAQ chronometer |
Definition at line 99 of file JDAQChronometer.hh.
|
inlineinherited |
Get detector identifier.
Definition at line 110 of file JDAQChronometer.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Set frame index.
frame_index | frame index |
Definition at line 166 of file JDAQChronometer.hh.
|
inlineinherited |
Set timeslice start time.
timeslice_start | timeslice start time |
Definition at line 177 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 79 of file JDAQAbstractPreamble.hh.
|
protectedinherited |
Definition at line 80 of file JDAQAbstractPreamble.hh.
|
protectedinherited |
Definition at line 237 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 238 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 239 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 240 of file JDAQChronometer.hh.