Jpp - the software that should make you happy
|
Auxiliary class to create summary data. More...
#include <JSummaryslice.hh>
Public Member Functions | |
JSummaryslice () | |
Default constructor. More... | |
JSummaryslice (const JDAQChronometer &chronometer, JObjectIterator< JDAQSummaryslice > &input, const JDetector &detector) | |
Constructor. More... | |
JSummaryslice (const JDAQChronometer &chronometer, const JDetectorSimulator &simbad) | |
Constructor. More... | |
void | correct (const JPMTDefaultSimulatorInterface &simulator) |
Correct measured singles rates for the probability that a hit survives the simulation of the PMT. More... | |
std::ostream & | print (std::ostream &out, const bool lpr=false) const |
Print DAQ summary. More... | |
ClassDef (JDAQSummaryslice, 6) | |
ClassDef (JDAQPreamble, 1) | |
ClassDef (JDAQSummarysliceHeader, 2) | |
ClassDef (JDAQHeader, 2) | |
ClassDef (JDAQChronometer, 3) | |
int | getLength () const |
Get length. More... | |
int | getDataType () const |
Get data type. More... | |
ClassDefNV (JDAQAbstractPreamble, 1) | |
const JDAQSummarysliceHeader & | getDAQSummarysliceHeader () const |
Get DAQ summary 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 void | actionAtFileOpen (int version) |
Action method at file open. More... | |
template<class T > | |
static JDAQPreamble | getDAQPreamble (const T &object) |
Get DAQ preamble. More... | |
Static Public Attributes | |
static const int | NPE = 1 |
Number of photo-electrons corresponding to singles rate. More... | |
Protected Attributes | |
int | length |
int | type |
int | detector_id |
int | run |
int | frame_index |
JDAQUTCExtended | timeslice_start |
Auxiliary class to create summary data.
Definition at line 36 of file JSummaryslice.hh.
|
inline |
|
inline |
Constructor.
This constructor blends multiple KM3NETDAQ::JDAQSummaryslice's from an incomplete detector to a single KM3NETDAQ::JDAQSummaryslice for a complete detector.
chronometer | DAQ chronometer |
input | summary data |
detector | detector |
Definition at line 56 of file JSummaryslice.hh.
|
inline |
Constructor.
This constructor directly creates a KM3NETDAQ::JDAQSummaryslice for a given detector simulation without the need to create first a KM3NETDAQ::JDAQTimeslice.
The high-rate veto of a given PMT is set to true when:
chronometer | chronometer |
simbad | detector simulator |
Definition at line 88 of file JSummaryslice.hh.
|
inline |
Correct measured singles rates for the probability that a hit survives the simulation of the PMT.
simulator | PMT simulator |
Definition at line 146 of file JSummaryslice.hh.
|
inlineinherited |
Print DAQ summary.
out | output stream |
lpr | long print |
Definition at line 88 of file JDAQSummaryslice.hh.
|
inlinestaticinherited |
Action method at file open.
version | version |
Definition at line 122 of file JDAQSummaryslice.hh.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlinestaticinherited |
Get DAQ preamble.
This method should be used for binary I/O to get the actual data for the given object.
To this end, the following method should be overloaded for the corresponding data type.
size_t getSizeof(const T&);
object | object |
Definition at line 76 of file JDAQPreamble.hh.
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
Get DAQ summary slice header.
Definition at line 44 of file JDAQSummarysliceHeader.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 |
Get start of timeslice.
Definition at line 144 of file JDAQChronometer.hh.
|
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.
|
static |
Number of photo-electrons corresponding to singles rate.
Definition at line 167 of file JSummaryslice.hh.
|
protectedinherited |
Definition at line 69 of file JDAQAbstractPreamble.hh.
|
protectedinherited |
Definition at line 70 of file JDAQAbstractPreamble.hh.
|
protectedinherited |
Definition at line 187 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 188 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 189 of file JDAQChronometer.hh.
|
protectedinherited |
Definition at line 190 of file JDAQChronometer.hh.