LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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
22
EndPoint2D
();
23
24
private
:
25
double
fDriftTime
;
26
geo::WireID
fWireID
;
27
int
fID
;
28
double
fStrength
;
29
geo::View_t
fView
;
30
double
fTotalCharge
;
31
32
33
public
:
34
EndPoint2D
(
double
driftTime,
35
geo::WireID
wireID,
36
double
strength,
37
int
id
,
38
geo::View_t
view,
39
double
totalQ);
40
41
double
Charge
()
const
;
42
geo::View_t
View
()
const
;
43
double
DriftTime
()
const
;
44
geo::WireID
WireID
()
const
;
45
int
ID
()
const
;
46
double
Strength
()
const
;
47
48
friend
std::ostream&
operator <<
(std::ostream& o,
const
EndPoint2D
& c);
49
50
};
51
}
52
53
54
inline
double
recob::EndPoint2D::Charge
()
const
{
return
fTotalCharge
; }
55
inline
geo::View_t
recob::EndPoint2D::View
()
const
{
return
fView
; }
56
inline
double
recob::EndPoint2D::DriftTime
()
const
{
return
fDriftTime
; }
57
inline
geo::WireID
recob::EndPoint2D::WireID
()
const
{
return
fWireID
; }
58
inline
int
recob::EndPoint2D::ID
()
const
{
return
fID
; }
59
inline
double
recob::EndPoint2D::Strength
()
const
{
return
fStrength
; }
60
61
62
#endif //RECOB_ENDPOINT2D_H
recob
Reconstruction base classes.
Definition:
BeamFlashCompatibilityCheck_module.cc:31
recob::EndPoint2D::ID
int ID() const
Definition:
EndPoint2D.h:58
recob::EndPoint2D::fView
geo::View_t fView
view for this end point
Definition:
EndPoint2D.h:29
geo::View_t
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
recob::EndPoint2D::Charge
double Charge() const
Definition:
EndPoint2D.h:54
recob::EndPoint2D::fStrength
double fStrength
vertex's strength
Definition:
EndPoint2D.h:28
recob::EndPoint2D
Definition:
EndPoint2D.h:18
geo::WireID
Definition:
geo_types.h:305
recob::EndPoint2D::fTotalCharge
double fTotalCharge
total charge of hits associated with end point
Definition:
EndPoint2D.h:30
recob::EndPoint2D::DriftTime
double DriftTime() const
Definition:
EndPoint2D.h:56
recob::EndPoint2D::fWireID
geo::WireID fWireID
vertex's wireID
Definition:
EndPoint2D.h:26
geo_types.h
Definition of data types for geometry description.
recob::EndPoint2D::View
geo::View_t View() const
Definition:
EndPoint2D.h:55
recob::EndPoint2D::WireID
geo::WireID WireID() const
Definition:
EndPoint2D.h:57
recob::EndPoint2D::fDriftTime
double fDriftTime
Default constructor.
Definition:
EndPoint2D.h:25
recob::EndPoint2D::operator<<
friend std::ostream & operator<<(std::ostream &o, const EndPoint2D &c)
Definition:
EndPoint2D.cxx:47
recob::EndPoint2D::fID
int fID
vertex's ID
Definition:
EndPoint2D.h:27
recob::EndPoint2D::EndPoint2D
EndPoint2D()
Definition:
EndPoint2D.cxx:17
recob::EndPoint2D::Strength
double Strength() const
Definition:
EndPoint2D.h:59
lardataobj
v07_06_00
source
lardataobj
RecoBase
EndPoint2D.h
Generated on Wed Dec 12 2018 14:42:45 for LArSoft by
1.8.11