Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JACOUSTICS::JHead Struct Reference

Acoustic event header. More...

#include <JEvt.hh>

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

Public Member Functions

 JHead ()
 Default constructor.
 
 JHead (const int detid, const JTimeRange &range, const int nhit, const int nfit, const int npar, const double ndf, const double chi2, const int ns)
 Constructor.
 
virtual ~JHead ()
 Virtual destructor.
 
 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
 

Friends

JReaderoperator>> (JReader &in, JHead &object)
 Read head from input.
 
JWriteroperator<< (JWriter &out, const JHead &object)
 Write head to output.
 

Detailed Description

Acoustic event header.

Definition at line 157 of file JAcoustics/JEvt.hh.

Constructor & Destructor Documentation

◆ JHead() [1/2]

JACOUSTICS::JHead::JHead ( )
inline

Default constructor.

Definition at line 161 of file JAcoustics/JEvt.hh.

161 :
162 detid(),
163 UNIXTimeStart(0.0),
164 UNIXTimeStop (0.0),
165 nhit(0),
166 nfit(0),
167 npar(0),
168 ndf (0.0),
169 chi2(0.0),
171 {}
int nhit
number of hits
double UNIXTimeStop
stop time
double ndf
weighed number of degrees of freedom
int detid
detector identifier
int nfit
number of hits used in fit (after outlier removal)
int npar
number of fit parameters
double UNIXTimeStart
start time
int numberOfIterations
number of iterations

◆ JHead() [2/2]

JACOUSTICS::JHead::JHead ( const int detid,
const JTimeRange & range,
const int nhit,
const int nfit,
const int npar,
const double ndf,
const double chi2,
const int ns )
inline

Constructor.

Parameters
detiddetector identifer
rangeUNIX start and stop time [s]
nhitnumber of hits
nfitnumber of hits used in fit (after outlier removal)
nparnumber of fit parameters
ndfweighed number of degrees of freedom
chi2chi2
nsnumber of iterations

Definition at line 186 of file JAcoustics/JEvt.hh.

193 :
194 detid(detid),
195 UNIXTimeStart(range.getLowerLimit()),
196 UNIXTimeStop (range.getUpperLimit()),
197 nhit(nhit),
198 nfit(nfit),
199 npar(npar),
200 ndf (ndf),
201 chi2(chi2),
203 {}

◆ ~JHead()

virtual JACOUSTICS::JHead::~JHead ( )
inlinevirtual

Virtual destructor.

Definition at line 209 of file JAcoustics/JEvt.hh.

210 {}

Member Function Documentation

◆ ClassDef()

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

Friends And Related Symbol Documentation

◆ operator>>

JReader & operator>> ( JReader & in,
JHead & object )
friend

Read head from input.

Parameters
inreader
objecthead
Returns
reader

Definition at line 220 of file JAcoustics/JEvt.hh.

221 {
222 in >> object.detid;
223 in >> object.UNIXTimeStart;
224 in >> object.UNIXTimeStop;
225 in >> object.nhit;
226 in >> object.nfit;
227 in >> object.npar;
228 in >> object.ndf;
229 in >> object.chi2;
230 in >> object.numberOfIterations;
231
232 return in;
233 }

◆ operator<<

JWriter & operator<< ( JWriter & out,
const JHead & object )
friend

Write head to output.

Parameters
outwriter
objecthead
Returns
writer

Definition at line 243 of file JAcoustics/JEvt.hh.

244 {
245 out << object.detid;
246 out << object.UNIXTimeStart;
247 out << object.UNIXTimeStop;
248 out << object.nhit;
249 out << object.nfit;
250 out << object.npar;
251 out << object.ndf;
252 out << object.chi2;
253 out << object.numberOfIterations;
254
255 return out;
256 }

Member Data Documentation

◆ detid

int JACOUSTICS::JHead::detid

detector identifier

Definition at line 260 of file JAcoustics/JEvt.hh.

◆ UNIXTimeStart

double JACOUSTICS::JHead::UNIXTimeStart

start time

Definition at line 261 of file JAcoustics/JEvt.hh.

◆ UNIXTimeStop

double JACOUSTICS::JHead::UNIXTimeStop

stop time

Definition at line 262 of file JAcoustics/JEvt.hh.

◆ nhit

int JACOUSTICS::JHead::nhit

number of hits

Definition at line 263 of file JAcoustics/JEvt.hh.

◆ nfit

int JACOUSTICS::JHead::nfit

number of hits used in fit (after outlier removal)

Definition at line 264 of file JAcoustics/JEvt.hh.

◆ npar

int JACOUSTICS::JHead::npar

number of fit parameters

Definition at line 265 of file JAcoustics/JEvt.hh.

◆ ndf

double JACOUSTICS::JHead::ndf

weighed number of degrees of freedom

Definition at line 266 of file JAcoustics/JEvt.hh.

◆ chi2

double JACOUSTICS::JHead::chi2

chi2

Definition at line 267 of file JAcoustics/JEvt.hh.

◆ numberOfIterations

int JACOUSTICS::JHead::numberOfIterations

number of iterations

Definition at line 268 of file JAcoustics/JEvt.hh.


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