Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
lardataobj
lardataobj
AnalysisBase
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
8
#include "
lardataobj/AnalysisBase/FlashMatch.h
"
9
10
#include <ostream>
11
12
namespace
anab{
13
14
//----------------------------------------------------------------------
15
FlashMatch::FlashMatch
()
16
: fChi2(0)
17
, fFlashID(0)
18
, fSubjectID(0)
19
, fInBeam(
false
)
20
{
21
}
22
23
//----------------------------------------------------------------------
24
FlashMatch::FlashMatch
(
double
Chi2,
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
}
anab::operator<<
std::ostream & operator<<(std::ostream &o, Calorimetry const &a)
Definition:
Calorimetry.cxx:152
anab::FlashMatch::fChi2
double fChi2
Definition:
lardataobj/lardataobj/AnalysisBase/FlashMatch.h:21
anab::FlashMatch::FlashMatch
FlashMatch()
Definition:
FlashMatch.cxx:15
larg4::false
return false
Definition:
OpFastScintillation.hh:592
a
process_name gaushit a
Definition:
decode_signalprocess_icarus.fcl:37
anab::FlashMatch::fSubjectID
int fSubjectID
Definition:
lardataobj/lardataobj/AnalysisBase/FlashMatch.h:23
FlashMatch.h
anab::FlashMatch::fFlashID
int fFlashID
Definition:
lardataobj/lardataobj/AnalysisBase/FlashMatch.h:22
anab::FlashMatch
Definition:
lardataobj/lardataobj/AnalysisBase/FlashMatch.h:16
selection.InBeam
def InBeam
Definition:
selection.py:4
Generated by
1.8.5