LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
EndPoint2D.h
Go to the documentation of this file.
1
//
3
// \brief Definition of vertex object for LArSoft
4
//
5
// \author joshua.spitz@yale.edu
6
//
8
9
#ifndef RECOB_ENDPOINT2D_H
10
#define RECOB_ENDPOINT2D_H
11
12
#include "
larcoreobj/SimpleTypesAndConstants/geo_types.h
"
13
14
#include <iosfwd>
15
16
namespace
recob
{
17
18
class
EndPoint2D
{
19
20
public
:
21
EndPoint2D
();
22
23
private
:
24
double
fDriftTime
;
25
geo::WireID
fWireID
;
26
int
fID
;
27
double
fStrength
;
28
geo::View_t
fView
;
29
double
fTotalCharge
;
30
31
public
:
32
EndPoint2D
(
double
driftTime,
33
geo::WireID
wireID,
34
double
strength,
35
int
id
,
36
geo::View_t
view,
37
double
totalQ);
38
39
double
Charge
()
const
;
40
geo::View_t
View
()
const
;
41
double
DriftTime
()
const
;
42
geo::WireID
WireID
()
const
;
43
int
ID
()
const
;
44
double
Strength
()
const
;
45
46
friend
std::ostream&
operator<<
(std::ostream& o,
const
EndPoint2D
& c);
47
};
48
}
49
50
inline
double
recob::EndPoint2D::Charge
()
const
51
{
52
return
fTotalCharge
;
53
}
54
inline
geo::View_t
recob::EndPoint2D::View
()
const
55
{
56
return
fView
;
57
}
58
inline
double
recob::EndPoint2D::DriftTime
()
const
59
{
60
return
fDriftTime
;
61
}
62
inline
geo::WireID
recob::EndPoint2D::WireID
()
const
63
{
64
return
fWireID
;
65
}
66
inline
int
recob::EndPoint2D::ID
()
const
67
{
68
return
fID
;
69
}
70
inline
double
recob::EndPoint2D::Strength
()
const
71
{
72
return
fStrength
;
73
}
74
75
#endif //RECOB_ENDPOINT2D_H
recob
Reconstruction base classes.
Definition:
FlashHypothesisCreator.h:18
recob::EndPoint2D::ID
int ID() const
Definition:
EndPoint2D.h:66
recob::EndPoint2D::fView
geo::View_t fView
view for this end point
Definition:
EndPoint2D.h:28
geo::View_t
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
recob::EndPoint2D::Charge
double Charge() const
Definition:
EndPoint2D.h:50
recob::EndPoint2D::fStrength
double fStrength
vertex's strength
Definition:
EndPoint2D.h:27
recob::EndPoint2D
Definition:
EndPoint2D.h:18
geo::WireID
Definition:
geo_types.h:545
recob::EndPoint2D::fTotalCharge
double fTotalCharge
total charge of hits associated with end point
Definition:
EndPoint2D.h:29
recob::EndPoint2D::DriftTime
double DriftTime() const
Definition:
EndPoint2D.h:58
recob::EndPoint2D::fWireID
geo::WireID fWireID
vertex's wireID
Definition:
EndPoint2D.h:25
geo_types.h
Definition of data types for geometry description.
recob::EndPoint2D::View
geo::View_t View() const
Definition:
EndPoint2D.h:54
recob::EndPoint2D::WireID
geo::WireID WireID() const
Definition:
EndPoint2D.h:62
recob::EndPoint2D::fDriftTime
double fDriftTime
Default constructor.
Definition:
EndPoint2D.h:24
recob::EndPoint2D::operator<<
friend std::ostream & operator<<(std::ostream &o, const EndPoint2D &c)
Definition:
EndPoint2D.cxx:39
recob::EndPoint2D::fID
int fID
vertex's ID
Definition:
EndPoint2D.h:26
recob::EndPoint2D::EndPoint2D
EndPoint2D()
Definition:
EndPoint2D.cxx:16
recob::EndPoint2D::Strength
double Strength() const
Definition:
EndPoint2D.h:70
lardataobj
v09_18_03
source
lardataobj
RecoBase
EndPoint2D.h
Generated on Thu May 2 2024 20:59:37 for LArSoft by
1.8.11