Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
lardataobj
lardataobj
RecoBase
EndPoint2D.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////////
2
//
3
// \brief Definition of vertex object for LArSoft
4
//
5
// \author joshua.spitz@yale.edu
6
//
7
////////////////////////////////////////////////////////////////////////////
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
();
///Default constructor
23
24
private
:
25
double
fDriftTime
;
///< vertex's drift time
26
geo::WireID
fWireID
;
///< vertex's wireID
27
int
fID
;
///< vertex's ID
28
double
fStrength
;
///< vertex's strength
29
geo::View_t
fView
;
///< view for this end point
30
double
fTotalCharge
;
///< total charge of hits associated with end point
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::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:560
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:46
recob::EndPoint2D::fID
int fID
vertex's ID
Definition:
EndPoint2D.h:27
recob::EndPoint2D::EndPoint2D
EndPoint2D()
Definition:
EndPoint2D.cxx:16
recob::EndPoint2D::Strength
double Strength() const
Definition:
EndPoint2D.h:59
Generated by
1.8.5