LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
OpHit.cxx
Go to the documentation of this file.
1
//
3
// \brief Definition of OpHit reconstruction object
4
//
5
// \author bjpjones@mit.edu
6
// cschiu@mit.edu
7
//
9
10
#include "
lardataobj/RecoBase/OpHit.h
"
11
#include "
messagefacility/MessageLogger/MessageLogger.h
"
12
13
namespace
recob
{
14
15
//----------------------------------------------------------------------
16
OpHit::OpHit
()
17
: fOpChannel (-1)
18
, fFrame (0 )
19
, fPeakTime (0 )
20
, fPeakTimeAbs (0 )
21
, fWidth (0 )
22
, fArea (0 )
23
, fAmplitude (0.)
24
, fPE (0.)
25
, fFastToTotal (0.)
26
{
27
28
}
29
30
//----------------------------------------------------------------------
31
OpHit::OpHit
(
int
opchannel,
32
double
peaktime,
33
double
peaktimeabs,
34
unsigned
short
frame,
35
double
width,
36
double
area,
37
double
amplitude,
38
double
pe,
39
double
fasttototal)
40
:
fOpChannel
(opchannel )
41
,
fFrame
(frame )
42
,
fPeakTime
(peaktime )
43
,
fPeakTimeAbs
(peaktimeabs )
44
,
fWidth
(width )
45
,
fArea
(area )
46
,
fAmplitude
(amplitude )
47
,
fPE
(pe )
48
,
fFastToTotal
(fasttototal )
49
{
50
51
}
52
53
//----------------------------------------------------------------------
54
bool
operator <
(
const
OpHit
& a,
const
OpHit
& b)
55
{
56
return
a.
PE
() < b.
PE
();
57
}
58
59
}
recob
Reconstruction base classes.
Definition:
BeamFlashCompatibilityCheck_module.cc:31
recob::OpHit::fAmplitude
double fAmplitude
Definition:
OpHit.h:28
recob::OpHit::fFastToTotal
double fFastToTotal
Definition:
OpHit.h:30
MessageLogger.h
recob::OpHit::fWidth
double fWidth
Definition:
OpHit.h:26
recob::OpHit::fFrame
unsigned short fFrame
Definition:
OpHit.h:23
recob::OpHit::fPeakTimeAbs
double fPeakTimeAbs
Definition:
OpHit.h:25
recob::OpHit
Definition:
OpHit.h:16
recob::OpHit::PE
double PE() const
Definition:
OpHit.h:69
recob::OpHit::fOpChannel
int fOpChannel
Definition:
OpHit.h:22
recob::OpHit::operator<
friend bool operator<(const OpHit &a, const OpHit &b)
Definition:
OpHit.cxx:54
recob::OpHit::fPeakTime
double fPeakTime
Definition:
OpHit.h:24
recob::OpHit::fPE
double fPE
Definition:
OpHit.h:29
OpHit.h
recob::OpHit::fArea
double fArea
Definition:
OpHit.h:27
recob::OpHit::OpHit
OpHit()
Definition:
OpHit.cxx:16
lardataobj
v1_36_00
source
lardataobj
RecoBase
OpHit.cxx
Generated on Thu Jul 26 2018 13:09:57 for LArSoft by
1.8.11