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

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 weight
 total weight of hits 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 154 of file JAcoustics/JEvt.hh.

Constructor & Destructor Documentation

JACOUSTICS::JEvt::JEvt ( )
inline

Default constructor.

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

187  :
188  JHead()
189  {}
JHead()
Default constructor.
JACOUSTICS::JEvt::JEvt ( const JHead header)
inline

Constructor.

Parameters
headerheader

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

197  :
198  JHead(header)
199  {}
JHead()
Default constructor.
virtual JACOUSTICS::JEvt::~JEvt ( )
inlinevirtual

Virtual destructor.

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

206  {}

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

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

double JACOUSTICS::JHead::UNIXTimeStart
inherited

start time

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

double JACOUSTICS::JHead::UNIXTimeStop
inherited

stop time

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

int JACOUSTICS::JHead::ndf
inherited

number of degrees of freedom

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

double JACOUSTICS::JHead::weight
inherited

total weight of hits

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

double JACOUSTICS::JHead::chi2
inherited

chi2

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


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