Jpp 19.3.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 207 of file JCompass/JEvt.hh.

Constructor & Destructor Documentation

◆ JEvt() [1/2]

JCOMPASS::JEvt::JEvt ( )
inline

Default constructor.

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

215 {}

◆ JEvt() [2/2]

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

◆ 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 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:448

Member Data Documentation

◆ UNIXTimeStart

double JCOMPASS::JHead::UNIXTimeStart
inherited

start time

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

◆ UNIXTimeStop

double JCOMPASS::JHead::UNIXTimeStop
inherited

stop time

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

◆ id

int JCOMPASS::JHead::id
inherited

string identifier

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

◆ ndf

int JCOMPASS::JHead::ndf
inherited

number of degrees of freedom

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

◆ chi2

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: