All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FlashMatch.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // \brief Definition of FlashMatch analysis object
4 //
5 // \author bjpjones@mit.edu
6 ////////////////////////////////////////////////////////////////////////
7 
9 
10 #include <ostream>
11 
12 namespace anab{
13 
14  //----------------------------------------------------------------------
16  : fChi2(0)
17  , fFlashID(0)
18  , fSubjectID(0)
19  , fInBeam(false)
20  {
21  }
22 
23  //----------------------------------------------------------------------
25  int FlashID,
26  int SubjectID,
27  bool InBeam)
28  : fChi2(Chi2)
29  , fFlashID(FlashID)
30  , fSubjectID(SubjectID)
31  , fInBeam(InBeam)
32  {
33 
34  }
35 
36  //----------------------------------------------------------------------
37  // ostream operator.
38  //
39  std::ostream& operator<< (std::ostream & o, FlashMatch const& a)
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  }
49 
50 }
std::ostream & operator<<(std::ostream &o, Calorimetry const &a)
process_name gaushit a
def InBeam
Definition: selection.py:4