Jpp  15.0.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
JCOMPASS::JEvt Struct Reference

Compass single fit. More...

#include <JEvt.hh>

Inheritance diagram for JCOMPASS::JEvt:
JCOMPASS::JHead std::vector< JQuaternion > TObject

Public Member Functions

 JEvt ()
 Default constructor. More...
 
 JEvt (const JHead &header)
 Constructor. More...
 
 ClassDef (JEvt, 1)
 
 ClassDef (JHead, 1)
 

Public Attributes

double UNIXTimeStart
 start time More...
 
double UNIXTimeStop
 stop time More...
 
int id
 string identifier More...
 
int ndf
 number of degrees of freedom More...
 
double chi2
 chi2 More...
 

Friends

std::ostream & operator<< (std::ostream &out, const JEvt &evt)
 Write event to output. More...
 

Detailed Description

Compass single fit.

Definition at line 207 of file JCompass/JEvt.hh.

Constructor & Destructor Documentation

JCOMPASS::JEvt::JEvt ( )
inline

Default constructor.

Definition at line 214 of file JCompass/JEvt.hh.

215  {}
JCOMPASS::JEvt::JEvt ( const JHead header)
inline

Constructor.

Parameters
headerheader

Definition at line 223 of file JCompass/JEvt.hh.

223  :
224  JHead(header)
225  {}
JHead()
Default constructor.

Member Function Documentation

JCOMPASS::JEvt::ClassDef ( JEvt  ,
 
)
JCOMPASS::JHead::ClassDef ( JHead  ,
 
)
inherited

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const JEvt evt 
)
friend

Write event to output.

Parameters
outoutput stream
evtevent
Returns
output stream

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

236  {
237  using namespace std;
238 
239  out << FIXED(20,5) << evt.UNIXTimeStart << endl
240  << FIXED(20,5) << evt.UNIXTimeStop << endl
241  << setw(4) << evt.id << endl
242  << setw(5) << evt.ndf << endl
243  << FIXED(12,3) << evt.chi2 << endl;
244 
245  for (JEvt::const_iterator i = evt.begin(); i != evt.end(); ++i) {
246  out << *i << endl;
247  }
248 
249  return out;
250  }
Auxiliary data structure for floating point format specification.
Definition: JManip.hh:446
int ndf
number of degrees of freedom
double UNIXTimeStart
start time
double chi2
chi2
int id
string identifier
double UNIXTimeStop
stop time

Member Data Documentation

double JCOMPASS::JHead::UNIXTimeStart
inherited

start time

Definition at line 196 of file JCompass/JEvt.hh.

double JCOMPASS::JHead::UNIXTimeStop
inherited

stop time

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

int JCOMPASS::JHead::id
inherited

string identifier

Definition at line 198 of file JCompass/JEvt.hh.

int JCOMPASS::JHead::ndf
inherited

number of degrees of freedom

Definition at line 199 of file JCompass/JEvt.hh.

double JCOMPASS::JHead::chi2
inherited

chi2

Definition at line 200 of file JCompass/JEvt.hh.


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