Auxiliary data structure to convert model to super event.
More...
#include <JSuperEvtToolkit.hh>
Auxiliary data structure to convert model to super event.
Definition at line 41 of file JSuperEvtToolkit.hh.
◆ tx_type
◆ rx_type
◆ getSuperEvt()
template<class T >
JACOUSTICS::getSuperEvt::getSuperEvt |
( |
const JHead & | header, |
|
|
const JModel & | model, |
|
|
T | begin, |
|
|
T | end ) |
|
inline |
Constructor.
- Parameters
-
header | header |
model | model |
begin | begin of hit data |
end | end of hit data |
Definition at line 53 of file JSuperEvtToolkit.hh.
56 :
58 {
60 this->
tx.push_back(JSuperEvt::tx_t(i->first.getID(), i->first.getCounter(), i->second.t1));
61 }
62
63 for (T i = begin; i != end; ++i) {
64 this->
rx.push_back(JSuperEvt::rx_t(i->getID(), i->getCounter(), i->getString(), i->getFloor(), i->getValue(), i->getWeight()));
65 }
66 }
JEvt getEvt(const JHead &header, const JModel &model)
Get event.
JSuperEvt()
Default constructor.
◆ read()
|
inlineoverridevirtualinherited |
Read from input.
- Parameters
-
- Returns
- reader
Implements JIO::JSerialisable.
Definition at line 233 of file JSuperEvt.hh.
234 {
236
239
240 return in;
241 }
virtual JReader & read(JReader &in) override
Read from input.
◆ write()
|
inlineoverridevirtualinherited |
Write to output.
- Parameters
-
- Returns
- writer
Implements JIO::JSerialisable.
Definition at line 250 of file JSuperEvt.hh.
251 {
253
256
257 return out;
258 }
virtual JWriter & write(JWriter &out) const override
Write to output.
◆ ClassDefOverride() [1/2]
JACOUSTICS::JSuperEvt::ClassDefOverride |
( |
JSuperEvt | , |
|
|
1 | ) |
|
inherited |
◆ ClassDefOverride() [2/2]
JACOUSTICS::JEvt::ClassDefOverride |
( |
JEvt | , |
|
|
9 | ) |
|
inherited |
◆ ClassDef()
JACOUSTICS::JHead::ClassDef |
( |
JHead | , |
|
|
7 | ) |
|
inherited |
◆ tx
◆ rx
◆ detid
int JACOUSTICS::JHead::detid |
|
inherited |
◆ UNIXTimeStart
double JACOUSTICS::JHead::UNIXTimeStart |
|
inherited |
◆ UNIXTimeStop
double JACOUSTICS::JHead::UNIXTimeStop |
|
inherited |
◆ nhit
int JACOUSTICS::JHead::nhit |
|
inherited |
◆ nfit
int JACOUSTICS::JHead::nfit |
|
inherited |
◆ npar
int JACOUSTICS::JHead::npar |
|
inherited |
◆ ndf
double JACOUSTICS::JHead::ndf |
|
inherited |
◆ chi2
double JACOUSTICS::JHead::chi2 |
|
inherited |
◆ numberOfIterations
int JACOUSTICS::JHead::numberOfIterations |
|
inherited |
The documentation for this struct was generated from the following file: