LArSoft  v08_32_01
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 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.

References fChi2.

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

Definition at line 43 of file FlashMatch.h.

References fFlashID.

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

Definition at line 45 of file FlashMatch.h.

References fInBeam.

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

Definition at line 44 of file FlashMatch.h.

References fSubjectID.

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  }

Member Data Documentation

double anab::FlashMatch::fChi2

Definition at line 21 of file FlashMatch.h.

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

int anab::FlashMatch::fFlashID

Definition at line 22 of file FlashMatch.h.

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

bool anab::FlashMatch::fInBeam

Definition at line 24 of file FlashMatch.h.

Referenced by InBeam().

int anab::FlashMatch::fSubjectID

Definition at line 23 of file FlashMatch.h.

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


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