All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
lardataobj/lardataobj/AnalysisBase/FlashMatch.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////////
2 // \version
3 //
4 // \brief Definition of data product to hold FlashMatch information
5 //
6 // \author bjpjones@mit.edu
7 //
8 ////////////////////////////////////////////////////////////////////////////
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 
19  FlashMatch();
20 
21  double fChi2;
22  int fFlashID;
24  bool fInBeam;
25 
26  public:
27 
28  FlashMatch(double Chi2, int FlashID, int SubjectID, bool InBeam);
29 
30  friend std::ostream& operator << (std::ostream &o, FlashMatch const& a);
31 
32  const double& Chi2() const;
33  const int& FlashID() const;
34  const int& SubjectID() const;
35  const bool& InBeam() const;
36 
37  };
38 
39 }
40 
41 
42 inline const double& anab::FlashMatch::Chi2() const { return fChi2; }
43 inline const int& anab::FlashMatch::FlashID() const { return fFlashID; }
44 inline const int& anab::FlashMatch::SubjectID() const { return fSubjectID; }
45 inline const bool& anab::FlashMatch::InBeam() const { return fInBeam; }
46 
47 
48 
49 #endif //ANAB_FLASHMATCH
process_name gaushit a
friend std::ostream & operator<<(std::ostream &o, FlashMatch const &a)
Definition: FlashMatch.cxx:39