LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
FlashMatch.cxx
Go to the documentation of this file.
1
//
3
// \brief Definition of FlashMatch analysis object
4
//
5
// \author bjpjones@mit.edu
7
8
#include "
lardataobj/AnalysisBase/FlashMatch.h
"
9
#include "
messagefacility/MessageLogger/MessageLogger.h
"
10
11
namespace
anab
{
12
13
//----------------------------------------------------------------------
14
FlashMatch::FlashMatch
()
15
: fChi2(0)
16
, fFlashID(0)
17
, fSubjectID(0)
18
, fInBeam(false)
19
{
20
}
21
22
//----------------------------------------------------------------------
23
FlashMatch::FlashMatch
(
double
Chi2
,
24
int
FlashID
,
25
int
SubjectID
,
26
bool
InBeam
)
27
:
fChi2
(Chi2)
28
,
fFlashID
(FlashID)
29
,
fSubjectID
(SubjectID)
30
,
fInBeam
(InBeam)
31
{
32
33
}
34
35
//----------------------------------------------------------------------
36
// ostream operator.
37
//
38
std::ostream&
operator<<
(std::ostream & o,
FlashMatch
const
& a)
39
{
40
o <<
"Flash match with Chi2: "
<< a.
fChi2
41
<<
"\n from flash: "
<< a.
fFlashID
42
<<
"\n to object: "
<< a.
fSubjectID
43
<<std::endl;
44
45
46
return
o;
47
}
48
49
}
anab::FlashMatch::fChi2
double fChi2
Definition:
FlashMatch.h:24
anab::FlashMatch::FlashMatch
FlashMatch()
Definition:
FlashMatch.cxx:14
anab::FlashMatch::Chi2
const double & Chi2() const
Definition:
FlashMatch.h:45
FlashMatch.h
MessageLogger.h
anab::FlashMatch::InBeam
const bool & InBeam() const
Definition:
FlashMatch.h:48
anab
Definition:
Chi2PIDAlg.h:21
anab::FlashMatch::SubjectID
const int & SubjectID() const
Definition:
FlashMatch.h:47
anab::FlashMatch::operator<<
friend std::ostream & operator<<(std::ostream &o, FlashMatch const &a)
Definition:
FlashMatch.cxx:38
anab::FlashMatch::FlashID
const int & FlashID() const
Definition:
FlashMatch.h:46
anab::FlashMatch::fSubjectID
int fSubjectID
Definition:
FlashMatch.h:26
anab::FlashMatch::fFlashID
int fFlashID
Definition:
FlashMatch.h:25
anab::FlashMatch::fInBeam
bool fInBeam
Definition:
FlashMatch.h:27
anab::FlashMatch
Definition:
FlashMatch.h:19
lardataobj
v1_36_00
source
lardataobj
AnalysisBase
FlashMatch.cxx
Generated on Thu Jul 26 2018 13:09:57 for LArSoft by
1.8.11