LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 <vector>
13 #include <iosfwd>
14 #include <iostream>
15 #include <iomanip>
16 
17 namespace anab {
18 
19  class FlashMatch{
20  public:
21 
22  FlashMatch();
23 
24  double fChi2;
25  int fFlashID;
26  int fSubjectID;
27  bool fInBeam;
28 
29  public:
30 
31  FlashMatch(double Chi2, int FlashID, int SubjectID, bool InBeam);
32 
33  friend std::ostream& operator << (std::ostream &o, FlashMatch const& a);
34 
35  const double& Chi2() const;
36  const int& FlashID() const;
37  const int& SubjectID() const;
38  const bool& InBeam() const;
39 
40  };
41 
42 }
43 
44 
45 inline const double& anab::FlashMatch::Chi2() const { return fChi2; }
46 inline const int& anab::FlashMatch::FlashID() const { return fFlashID; }
47 inline const int& anab::FlashMatch::SubjectID() const { return fSubjectID; }
48 inline const bool& anab::FlashMatch::InBeam() const { return fInBeam; }
49 
50 
51 
52 #endif //ANAB_FLASHMATCH
const double & Chi2() const
Definition: FlashMatch.h:45
const bool & InBeam() const
Definition: FlashMatch.h:48
const int & SubjectID() const
Definition: FlashMatch.h:47
friend std::ostream & operator<<(std::ostream &o, FlashMatch const &a)
Definition: FlashMatch.cxx:38
const int & FlashID() const
Definition: FlashMatch.h:46