LArSoft  v06_80_00
Liquid Argon Software toolkit - http://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 19 of file FlashMatch.h.

Constructor & Destructor Documentation

anab::FlashMatch::FlashMatch ( )

Definition at line 14 of file FlashMatch.cxx.

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

Definition at line 23 of file FlashMatch.cxx.

27  : fChi2(Chi2)
28  , fFlashID(FlashID)
30  , fInBeam(InBeam)
31  {
32 
33  }
const double & Chi2() const
Definition: FlashMatch.h:45
const bool & InBeam() const
Definition: FlashMatch.h:48
const int & SubjectID() const
Definition: FlashMatch.h:47
const int & FlashID() const
Definition: FlashMatch.h:46

Member Function Documentation

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

Definition at line 45 of file FlashMatch.h.

References fChi2.

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

Definition at line 46 of file FlashMatch.h.

References fFlashID.

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

Definition at line 48 of file FlashMatch.h.

References fInBeam.

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

Definition at line 47 of file FlashMatch.h.

References fSubjectID.

47 { return fSubjectID; }

Friends And Related Function Documentation

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

Definition at line 38 of file FlashMatch.cxx.

39  {
40  o << "Flash match with Chi2: " << a.fChi2
41  << "\n from flash: " << a.fFlashID
42  << "\n to object: " << a.fSubjectID
43  <<std::endl;
44 
45 
46  return o;
47  }

Member Data Documentation

double anab::FlashMatch::fChi2

Definition at line 24 of file FlashMatch.h.

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

int anab::FlashMatch::fFlashID

Definition at line 25 of file FlashMatch.h.

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

bool anab::FlashMatch::fInBeam

Definition at line 27 of file FlashMatch.h.

Referenced by InBeam().

int anab::FlashMatch::fSubjectID

Definition at line 26 of file FlashMatch.h.

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


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