Jpp  17.3.2
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

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, 6)
 
 ClassDef (JHead, 4)
 

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 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 207 of file JAcoustics/JEvt.hh.

Constructor & Destructor Documentation

JACOUSTICS::JEvt::JEvt ( )
inline

Default constructor.

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

240  :
241  JHead()
242  {}
JHead()
Default constructor.
JACOUSTICS::JEvt::JEvt ( const JHead header)
inline

Constructor.

Parameters
headerheader

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

250  :
251  JHead(header)
252  {}
JHead()
Default constructor.
virtual JACOUSTICS::JEvt::~JEvt ( )
inlinevirtual

Virtual destructor.

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

259  {}

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 269 of file JAcoustics/JEvt.hh.

270  {
271  using namespace std;
272 
273  out << event.oid << endl
274  << FIXED(20,5) << event.UNIXTimeStart << endl
275  << FIXED(20,5) << event.UNIXTimeStop << endl
276  << setw(5) << event.nhit << ' '
277  << setw(4) << event.npar << endl
278  << FIXED(12,3) << event.chi2 << ' '
279  << FIXED(7,1) << event.ndf << endl;
280 
281  for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
282  out << *fit << endl;
283  }
284 
285  return out;
286  }
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 164 of file JAcoustics/JEvt.hh.

double JACOUSTICS::JHead::UNIXTimeStart
inherited

start time

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

double JACOUSTICS::JHead::UNIXTimeStop
inherited

stop time

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

int JACOUSTICS::JHead::nhit
inherited

number of hits

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

int JACOUSTICS::JHead::npar
inherited

number of fit parameters

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

double JACOUSTICS::JHead::ndf
inherited

weighed number of degrees of freedom

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

double JACOUSTICS::JHead::chi2
inherited

chi2

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


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