Jpp  18.0.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Public Attributes | Friends | List of all members
JACOUSTICS::JEvt Struct Reference

Acoustic event fit. More...

#include <JEvt.hh>

Inheritance diagram for JACOUSTICS::JEvt:
JACOUSTICS::JHead std::vector< JFit > TObject JACOUSTICS::JSuperEvt

Classes

struct  JEvaluator
 Auxiliary class to determine value of acoustic events. More...
 

Public Member Functions

 JEvt ()
 Default constructor. More...
 
 JEvt (const JHead &header)
 Constructor. More...
 
virtual ~JEvt ()
 Virtual destructor. More...
 
 ClassDef (JEvt, 7)
 
 ClassDef (JHead, 5)
 

Public Attributes

std::string oid
 detector identifier More...
 
double UNIXTimeStart
 start time More...
 
double UNIXTimeStop
 stop time More...
 
int nhit
 number of hits More...
 
int nfit
 number of hits used in fit (after outlier removal) More...
 
int npar
 number of fit parameters More...
 
double ndf
 weighed number of degrees of freedom More...
 
double chi2
 chi2 More...
 

Friends

std::ostream & operator<< (std::ostream &out, const JEvt &event)
 Write event to output. More...
 

Detailed Description

Acoustic event fit.

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

Constructor & Destructor Documentation

JACOUSTICS::JEvt::JEvt ( )
inline

Default constructor.

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

245  :
246  JHead()
247  {}
JHead()
Default constructor.
JACOUSTICS::JEvt::JEvt ( const JHead header)
inline

Constructor.

Parameters
headerheader

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

255  :
256  JHead(header)
257  {}
JHead()
Default constructor.
virtual JACOUSTICS::JEvt::~JEvt ( )
inlinevirtual

Virtual destructor.

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

264  {}

Member Function Documentation

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

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const JEvt event 
)
friend

Write event to output.

Parameters
outoutput stream
eventevent
Returns
output stream

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

275  {
276  using namespace std;
277 
278  out << event.oid << endl
279  << FIXED(20,5) << event.UNIXTimeStart << endl
280  << FIXED(20,5) << event.UNIXTimeStop << endl
281  << setw(5) << event.nhit << ' '
282  << setw(5) << event.nfit << ' '
283  << setw(4) << event.npar << endl
284  << FIXED(12,3) << event.chi2 << ' '
285  << FIXED(7,1) << event.ndf << endl;
286 
287  for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
288  out << *fit << endl;
289  }
290 
291  return out;
292  }
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:446

Member Data Documentation

std::string JACOUSTICS::JHead::oid
inherited

detector identifier

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

double JACOUSTICS::JHead::UNIXTimeStart
inherited

start time

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

double JACOUSTICS::JHead::UNIXTimeStop
inherited

stop time

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

int JACOUSTICS::JHead::nhit
inherited

number of hits

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

int JACOUSTICS::JHead::nfit
inherited

number of hits used in fit (after outlier removal)

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

int JACOUSTICS::JHead::npar
inherited

number of fit parameters

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

double JACOUSTICS::JHead::ndf
inherited

weighed number of degrees of freedom

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

double JACOUSTICS::JHead::chi2
inherited

chi2

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


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