Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
lardataobj
lardataobj
RecoBase
OpHit.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////////
2
//
3
// \brief Definition of OpHit object for LArSoft
4
//
5
// \author bjpjones@mit.edu
6
// cschiu@mit.edu
7
//
8
////////////////////////////////////////////////////////////////////////////
9
#ifndef OPHIT_H
10
#define OPHIT_H
11
12
namespace
recob
{
13
14
/// hits are 2D representations of charge deposited in the tdc/wire plane
15
/// hits are assumed to be made from deconvoluted, unipolar signals
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:
AdcChannelData.h:91
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
a
const double a
Definition:
gUpMuFluxGen.cxx:164
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:53
recob::OpHit::fPeakTime
double fPeakTime
Definition:
OpHit.h:24
recob::OpHit::PeakTimeAbs
double PeakTimeAbs() const
Definition:
OpHit.h:65
b
static bool * b
Definition:
config.cpp:1043
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:15
Generated by
1.8.11