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 Types | Public Member Functions | Public Attributes | Friends | List of all members
JACOUSTICS::JSuperEvt Struct Reference

Acoustic super event fit. More...

#include <JSuperEvt.hh>

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

Classes

struct  rx_t
 Acoustics transmission. More...
 
struct  tx_t
 Acoustics emission. More...
 

Public Types

typedef std::vector< tx_ttx_type
 
typedef std::vector< rx_trx_type
 

Public Member Functions

 JSuperEvt ()
 Default constructor. More...
 
 JSuperEvt (const JEvt &event)
 Constructor. More...
 
 ClassDef (JSuperEvt, 1)
 
 ClassDef (JEvt, 7)
 
 ClassDef (JHead, 5)
 

Public Attributes

tx_type tx
 
rx_type rx
 
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 JSuperEvt &event)
 Write super event to output. More...
 

Detailed Description

Acoustic super event fit.

Definition at line 30 of file JSuperEvt.hh.

Member Typedef Documentation

Definition at line 109 of file JSuperEvt.hh.

Definition at line 110 of file JSuperEvt.hh.

Constructor & Destructor Documentation

JACOUSTICS::JSuperEvt::JSuperEvt ( )
inline

Default constructor.

Definition at line 36 of file JSuperEvt.hh.

36  :
37  JEvt()
38  {}
JEvt()
Default constructor.
JACOUSTICS::JSuperEvt::JSuperEvt ( const JEvt event)
inline

Constructor.

Parameters
eventevent

Definition at line 46 of file JSuperEvt.hh.

46  :
47  JEvt(event)
48  {}
JEvt()
Default constructor.

Member Function Documentation

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

Friends And Related Function Documentation

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

Write super event to output.

Parameters
outoutput stream
eventsuper event
Returns
output stream

Definition at line 122 of file JSuperEvt.hh.

123  {
124  using namespace std;
125 
126  out << static_cast<const JEvt&>(event);
127 
128  for (JSuperEvt::tx_type::const_iterator i = event.tx.begin(); i != event.tx.end(); ++i) {
129  out << setw(2) << i->id << ' '
130  << setw(6) << i->counter << ' '
131  << FIXED(20,6) << i->toe << endl;
132  }
133 
134  for (JSuperEvt::rx_type::const_iterator i = event.rx.begin(); i != event.rx.end(); ++i) {
135  out << setw(2) << i->id << ' '
136  << setw(6) << i->counter << ' '
137  << setw(4) << i->string << ' '
138  << setw(2) << i->floor << ' '
139  << FIXED(20,6) << i->toa << ' '
140  << FIXED( 5,2) << i->weight << endl;
141  }
142 
143  return out;
144  }
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:446

Member Data Documentation

tx_type JACOUSTICS::JSuperEvt::tx

Definition at line 112 of file JSuperEvt.hh.

rx_type JACOUSTICS::JSuperEvt::rx

Definition at line 113 of file JSuperEvt.hh.

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: