Jpp  16.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 184 of file JAcoustics/JEvt.hh.

Constructor & Destructor Documentation

JACOUSTICS::JEvt::JEvt ( )
inline

Default constructor.

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

217  :
218  JHead()
219  {}
JHead()
Default constructor.
JACOUSTICS::JEvt::JEvt ( const JHead header)
inline

Constructor.

Parameters
headerheader

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

227  :
228  JHead(header)
229  {}
JHead()
Default constructor.
virtual JACOUSTICS::JEvt::~JEvt ( )
inlinevirtual

Virtual destructor.

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

236  {}

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

247  {
248  using namespace std;
249 
250  out << event.oid << endl
251  << FIXED(20,5) << event.UNIXTimeStart << endl
252  << FIXED(20,5) << event.UNIXTimeStop << endl
253  << setw(5) << event.ndf << endl
254  << FIXED(12,3) << event.chi2 << endl;
255 
256  for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
257  out << *fit << endl;
258  }
259 
260  return out;
261  }
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: