LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
FlashMatch.h
Go to the documentation of this file.
1 // \version
3 //
4 // \brief Definition of data product to hold FlashMatch information
5 //
6 // \author bjpjones@mit.edu
7 //
9 #ifndef ANAB_FLASHMATCH_H
10 #define ANAB_FLASHMATCH_H
11 
12 #include <iosfwd>
13 
14 namespace anab {
15 
16  class FlashMatch {
17  public:
18  FlashMatch();
19 
20  double fChi2;
21  int fFlashID;
23  bool fInBeam;
24 
25  public:
26  FlashMatch(double Chi2, int FlashID, int SubjectID, bool InBeam);
27 
28  friend std::ostream& operator<<(std::ostream& o, FlashMatch const& a);
29 
30  const double& Chi2() const;
31  const int& FlashID() const;
32  const int& SubjectID() const;
33  const bool& InBeam() const;
34  };
35 
36 }
37 
38 inline const double& anab::FlashMatch::Chi2() const
39 {
40  return fChi2;
41 }
42 inline const int& anab::FlashMatch::FlashID() const
43 {
44  return fFlashID;
45 }
46 inline const int& anab::FlashMatch::SubjectID() const
47 {
48  return fSubjectID;
49 }
50 inline const bool& anab::FlashMatch::InBeam() const
51 {
52  return fInBeam;
53 }
54 
55 #endif //ANAB_FLASHMATCH
const double & Chi2() const
Definition: FlashMatch.h:38
const bool & InBeam() const
Definition: FlashMatch.h:50
const int & SubjectID() const
Definition: FlashMatch.h:46
friend std::ostream & operator<<(std::ostream &o, FlashMatch const &a)
Definition: FlashMatch.cxx:25
const int & FlashID() const
Definition: FlashMatch.h:42