Jpp 20.0.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
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.
 
 JEvt (const JHead &header)
 Constructor.
 
 ClassDef (JEvt, 1)
 
 ClassDef (JHead, 1)
 

Public Attributes

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

Friends

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

Detailed Description

Compass single fit.

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

Constructor & Destructor Documentation

◆ JEvt() [1/2]

JCOMPASS::JEvt::JEvt ( )
inline

Default constructor.

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

227 {}

◆ JEvt() [2/2]

JCOMPASS::JEvt::JEvt ( const JHead & header)
inline

Constructor.

Parameters
headerheader

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

235 :
236 JHead(header)
237 {}
JHead()
Default constructor.

Member Function Documentation

◆ ClassDef() [1/2]

JCOMPASS::JEvt::ClassDef ( JEvt ,
1  )

◆ ClassDef() [2/2]

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

Friends And Related Symbol Documentation

◆ operator<<

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

Write event to output.

Parameters
outoutput stream
evtevent
Returns
output stream

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

248 {
249 using namespace std;
250
251 out << FIXED(20,5) << evt.UNIXTimeStart << endl
252 << FIXED(20,5) << evt.UNIXTimeStop << endl
253 << setw(4) << evt.id << endl
254 << setw(5) << evt.ndf << endl
255 << FIXED(12,3) << evt.chi2 << endl;
256
257 for (JEvt::const_iterator i = evt.begin(); i != evt.end(); ++i) {
258 out << *i << endl;
259 }
260
261 return out;
262 }
Auxiliary data structure for floating point format specification.
Definition JManip.hh:448

Member Data Documentation

◆ UNIXTimeStart

double JCOMPASS::JHead::UNIXTimeStart
inherited

start time

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

◆ UNIXTimeStop

double JCOMPASS::JHead::UNIXTimeStop
inherited

stop time

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

◆ id

int JCOMPASS::JHead::id
inherited

string identifier

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

◆ ndf

int JCOMPASS::JHead::ndf
inherited

number of degrees of freedom

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

◆ chi2

double JCOMPASS::JHead::chi2
inherited

chi2

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


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