Jpp 20.0.0-rc.9-29-gccc23c492-D
the software that should make you happy
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
JACOUSTICS::getEvt Struct Reference

Auxiliary data structure to convert model to event. More...

#include <JEvtToolkit.hh>

Inheritance diagram for JACOUSTICS::getEvt:
JACOUSTICS::JEvt JACOUSTICS::JHead

Public Member Functions

 getEvt (const JHead &header, const JModel &model)
 Constructor.
 
virtual JReader & read (JReader &in) override
 Read from input.
 
virtual JWriter & write (JWriter &out) const override
 Write to output.
 
 ClassDefOverride (JEvt, 9)
 
 ClassDef (JHead, 7)
 

Public Attributes

int detid
 detector identifier
 
double UNIXTimeStart
 start time
 
double UNIXTimeStop
 stop time
 
int nhit
 number of hits
 
int nfit
 number of hits used in fit (after outlier removal)
 
int npar
 number of fit parameters
 
double ndf
 weighed number of degrees of freedom
 
double chi2
 chi2
 
int numberOfIterations
 number of iterations
 

Detailed Description

Auxiliary data structure to convert model to event.

Definition at line 153 of file JEvtToolkit.hh.

Constructor & Destructor Documentation

◆ getEvt()

JACOUSTICS::getEvt::getEvt ( const JHead & header,
const JModel & model )
inline

Constructor.

Parameters
headerheader
modelmodel

Definition at line 162 of file JEvtToolkit.hh.

163 :
164 JEvt(header)
165 {
166 for (JModel::string_type::const_iterator i = model.string.begin(); i != model.string.end(); ++i) {
167 this->push_back(getFit(i->first, i->second));
168 }
169 }
JFit getFit(const int id, const JMODEL::JString &string)
Get fit parameters of string.
void model(JModel_t &value)
Auxiliary function to constrain model during fit.
Definition JGandalf.hh:57
JEvt()
Default constructor.
Definition JEvt.hh:345

Member Function Documentation

◆ read()

virtual JReader & JACOUSTICS::JEvt::read ( JReader & in)
inlineoverridevirtualinherited

Read from input.

Parameters
inreader
Returns
reader

Reimplemented in JACOUSTICS::JSuperEvt.

Definition at line 401 of file JEvt.hh.

402 {
403 in >> static_cast<JHead&> (*this);
404 in >> static_cast<std::vector<JFit>&>(*this);
405
406 return in;
407 }
JHead()
Default constructor.
Definition JEvt.hh:161

◆ write()

virtual JWriter & JACOUSTICS::JEvt::write ( JWriter & out) const
inlineoverridevirtualinherited

Write to output.

Parameters
outwriter
Returns
writer

Reimplemented in JACOUSTICS::JSuperEvt.

Definition at line 416 of file JEvt.hh.

417 {
418 out << static_cast<const JHead&> (*this);
419 out << static_cast<const std::vector<JFit>&>(*this);
420
421 return out;
422 }

◆ ClassDefOverride()

JACOUSTICS::JEvt::ClassDefOverride ( JEvt ,
9  )
inherited

◆ ClassDef()

JACOUSTICS::JHead::ClassDef ( JHead ,
7  )
inherited

Member Data Documentation

◆ detid

int JACOUSTICS::JHead::detid
inherited

detector identifier

Definition at line 260 of file JEvt.hh.

◆ UNIXTimeStart

double JACOUSTICS::JHead::UNIXTimeStart
inherited

start time

Definition at line 261 of file JEvt.hh.

◆ UNIXTimeStop

double JACOUSTICS::JHead::UNIXTimeStop
inherited

stop time

Definition at line 262 of file JEvt.hh.

◆ nhit

int JACOUSTICS::JHead::nhit
inherited

number of hits

Definition at line 263 of file JEvt.hh.

◆ nfit

int JACOUSTICS::JHead::nfit
inherited

number of hits used in fit (after outlier removal)

Definition at line 264 of file JEvt.hh.

◆ npar

int JACOUSTICS::JHead::npar
inherited

number of fit parameters

Definition at line 265 of file JEvt.hh.

◆ ndf

double JACOUSTICS::JHead::ndf
inherited

weighed number of degrees of freedom

Definition at line 266 of file JEvt.hh.

◆ chi2

double JACOUSTICS::JHead::chi2
inherited

chi2

Definition at line 267 of file JEvt.hh.

◆ numberOfIterations

int JACOUSTICS::JHead::numberOfIterations
inherited

number of iterations

Definition at line 268 of file JEvt.hh.


The documentation for this struct was generated from the following file: