Jpp - 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, 2)
 
 ClassDef (JHead, 2)
 

Public Attributes

std::string oid
 detector identifier More...
 
double UNIXTimeStart
 start time More...
 
double UNIXTimeStop
 stop time More...
 
int ndf
 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 150 of file JAcoustics/JEvt.hh.

Constructor & Destructor Documentation

JACOUSTICS::JEvt::JEvt ( )
inline

Default constructor.

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

183  :
184  JHead()
185  {}
JHead()
Default constructor.
JACOUSTICS::JEvt::JEvt ( const JHead header)
inline

Constructor.

Parameters
headerheader

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

193  :
194  JHead(header)
195  {}
JHead()
Default constructor.
virtual JACOUSTICS::JEvt::~JEvt ( )
inlinevirtual

Virtual destructor.

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

202  {}

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

213  {
214  using namespace std;
215 
216  out << event.oid << endl
217  << FIXED(20,5) << event.UNIXTimeStart << endl
218  << FIXED(20,5) << event.UNIXTimeStop << endl
219  << setw(5) << event.ndf << endl
220  << FIXED(12,3) << event.chi2 << endl;
221 
222  for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
223  out << *fit << endl;
224  }
225 
226  return out;
227  }
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 139 of file JAcoustics/JEvt.hh.

double JACOUSTICS::JHead::UNIXTimeStart
inherited

start time

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

double JACOUSTICS::JHead::UNIXTimeStop
inherited

stop time

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

int JACOUSTICS::JHead::ndf
inherited

number of degrees of freedom

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

double JACOUSTICS::JHead::chi2
inherited

chi2

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


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