Public Member Functions | Public Attributes | Friends | List of all members
anab::FlashMatch Class Reference

#include <FlashMatch.h>

Public Member Functions

 FlashMatch ()
 
 FlashMatch (double Chi2, int FlashID, int SubjectID, bool InBeam)
 
const double & Chi2 () const
 
const int & FlashID () const
 
const int & SubjectID () const
 
const boolInBeam () const
 

Public Attributes

double fChi2
 
int fFlashID
 
int fSubjectID
 
bool fInBeam
 

Friends

std::ostream & operator<< (std::ostream &o, FlashMatch const &a)
 

Detailed Description

Definition at line 16 of file FlashMatch.h.

Constructor & Destructor Documentation

anab::FlashMatch::FlashMatch ( )

Definition at line 15 of file FlashMatch.cxx.

16  : fChi2(0)
17  , fFlashID(0)
18  , fSubjectID(0)
19  , fInBeam(false)
20  {
21  }
anab::FlashMatch::FlashMatch ( double  Chi2,
int  FlashID,
int  SubjectID,
bool  InBeam 
)

Definition at line 24 of file FlashMatch.cxx.

28  : fChi2(Chi2)
29  , fFlashID(FlashID)
31  , fInBeam(InBeam)
32  {
33 
34  }
const double & Chi2() const
Definition: FlashMatch.h:42
const bool & InBeam() const
Definition: FlashMatch.h:45
const int & SubjectID() const
Definition: FlashMatch.h:44
const int & FlashID() const
Definition: FlashMatch.h:43

Member Function Documentation

const double & anab::FlashMatch::Chi2 ( ) const
inline

Definition at line 42 of file FlashMatch.h.

42 { return fChi2; }
const int & anab::FlashMatch::FlashID ( ) const
inline

Definition at line 43 of file FlashMatch.h.

43 { return fFlashID; }
const bool & anab::FlashMatch::InBeam ( ) const
inline

Definition at line 45 of file FlashMatch.h.

45 { return fInBeam; }
const int & anab::FlashMatch::SubjectID ( ) const
inline

Definition at line 44 of file FlashMatch.h.

44 { return fSubjectID; }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
FlashMatch const &  a 
)
friend

Definition at line 39 of file FlashMatch.cxx.

40  {
41  o << "Flash match with Chi2: " << a.fChi2
42  << "\n from flash: " << a.fFlashID
43  << "\n to object: " << a.fSubjectID
44  <<std::endl;
45 
46 
47  return o;
48  }
const double a
QTextStream & endl(QTextStream &s)

Member Data Documentation

double anab::FlashMatch::fChi2

Definition at line 21 of file FlashMatch.h.

int anab::FlashMatch::fFlashID

Definition at line 22 of file FlashMatch.h.

bool anab::FlashMatch::fInBeam

Definition at line 24 of file FlashMatch.h.

int anab::FlashMatch::fSubjectID

Definition at line 23 of file FlashMatch.h.


The documentation for this class was generated from the following files: