LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 bool & InBeam () 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.

15 : fChi2(0), fFlashID(0), fSubjectID(0), fInBeam(false) {}
anab::FlashMatch::FlashMatch ( double  Chi2,
int  FlashID,
int  SubjectID,
bool  InBeam 
)

Definition at line 18 of file FlashMatch.cxx.

20  {}
const double & Chi2() const
Definition: FlashMatch.h:38
const bool & InBeam() const
Definition: FlashMatch.h:50
const int & SubjectID() const
Definition: FlashMatch.h:46
const int & FlashID() const
Definition: FlashMatch.h:42

Member Function Documentation

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

Definition at line 38 of file FlashMatch.h.

References fChi2.

39 {
40  return fChi2;
41 }
const int & anab::FlashMatch::FlashID ( ) const
inline

Definition at line 42 of file FlashMatch.h.

References fFlashID.

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

Definition at line 50 of file FlashMatch.h.

References fInBeam.

51 {
52  return fInBeam;
53 }
const int & anab::FlashMatch::SubjectID ( ) const
inline

Definition at line 46 of file FlashMatch.h.

References fSubjectID.

47 {
48  return fSubjectID;
49 }

Friends And Related Function Documentation

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

Definition at line 25 of file FlashMatch.cxx.

26  {
27  o << "Flash match with Chi2: " << a.fChi2 << "\n from flash: " << a.fFlashID
28  << "\n to object: " << a.fSubjectID << std::endl;
29 
30  return o;
31  }

Member Data Documentation

double anab::FlashMatch::fChi2

Definition at line 20 of file FlashMatch.h.

Referenced by Chi2(), and anab::operator<<().

int anab::FlashMatch::fFlashID

Definition at line 21 of file FlashMatch.h.

Referenced by FlashID(), and anab::operator<<().

bool anab::FlashMatch::fInBeam

Definition at line 23 of file FlashMatch.h.

Referenced by InBeam().

int anab::FlashMatch::fSubjectID

Definition at line 22 of file FlashMatch.h.

Referenced by anab::operator<<(), and SubjectID().


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