LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
OpHit.h
Go to the documentation of this file.
1
//
3
// \brief Definition of OpHit object for LArSoft
4
//
5
// \author bjpjones@mit.edu
6
// cschiu@mit.edu
7
//
9
#ifndef OPHIT_H
10
#define OPHIT_H
11
12
namespace
recob
{
13
16
class
OpHit
{
17
public
:
18
OpHit
();
// Default constructor
19
20
private
:
21
22
int
fOpChannel
;
23
unsigned
short
fFrame
;
24
double
fPeakTime
;
25
double
fPeakTimeAbs
;
26
double
fWidth
;
27
double
fArea
;
28
double
fAmplitude
;
29
double
fPE
;
30
double
fFastToTotal
;
31
32
33
public
:
34
35
OpHit
(
int
opchannel,
36
double
peaktime,
37
double
peaktimeabs,
38
unsigned
short
frame,
39
double
width,
40
double
area,
41
double
peakheight,
42
double
pe,
43
double
fasttototal);
44
45
// Get Methods
46
int
OpChannel
()
const
;
47
double
PeakTimeAbs
()
const
;
48
double
PeakTime
()
const
;
49
unsigned
short
Frame
()
const
;
50
double
Width
()
const
;
51
double
Area
()
const
;
52
double
Amplitude
()
const
;
53
double
PE
()
const
;
54
double
FastToTotal
()
const
;
55
friend
bool
operator <
(
const
OpHit
& a,
const
OpHit
& b);
56
57
58
};
59
}
60
61
62
inline
int
recob::OpHit::OpChannel
()
const
{
return
fOpChannel
; }
63
inline
unsigned
short
recob::OpHit::Frame
()
const
{
return
fFrame
; }
64
inline
double
recob::OpHit::PeakTime
()
const
{
return
fPeakTime
; }
65
inline
double
recob::OpHit::PeakTimeAbs
()
const
{
return
fPeakTimeAbs
; }
66
inline
double
recob::OpHit::Width
()
const
{
return
fWidth
; }
67
inline
double
recob::OpHit::Area
()
const
{
return
fArea
; }
68
inline
double
recob::OpHit::Amplitude
()
const
{
return
fAmplitude
; }
69
inline
double
recob::OpHit::PE
()
const
{
return
fPE
; }
70
inline
double
recob::OpHit::FastToTotal
()
const
{
return
fFastToTotal
; }
71
72
73
#endif
recob::OpHit::FastToTotal
double FastToTotal() const
Definition:
OpHit.h:70
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
recob::OpHit::PeakTime
double PeakTime() const
Definition:
OpHit.h:64
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::Width
double Width() const
Definition:
OpHit.h:66
recob::OpHit
Definition:
OpHit.h:16
recob::OpHit::Frame
unsigned short Frame() const
Definition:
OpHit.h:63
recob::OpHit::Amplitude
double Amplitude() const
Definition:
OpHit.h:68
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::PeakTimeAbs
double PeakTimeAbs() const
Definition:
OpHit.h:65
recob::OpHit::Area
double Area() const
Definition:
OpHit.h:67
recob::OpHit::fPE
double fPE
Definition:
OpHit.h:29
recob::OpHit::OpChannel
int OpChannel() const
Definition:
OpHit.h:62
recob::OpHit::fArea
double fArea
Definition:
OpHit.h:27
recob::OpHit::OpHit
OpHit()
Definition:
OpHit.cxx:16
lardataobj
v07_06_00
source
lardataobj
RecoBase
OpHit.h
Generated on Wed Dec 12 2018 14:42:45 for LArSoft by
1.8.11