LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
recob::EndPoint2D Class Reference

#include "EndPoint2D.h"

Public Member Functions

 EndPoint2D ()
 
 EndPoint2D (double driftTime, geo::WireID wireID, double strength, int id, geo::View_t view, double totalQ)
 
double Charge () const
 
geo::View_t View () const
 
double DriftTime () const
 
geo::WireID WireID () const
 
int ID () const
 
double Strength () const
 

Private Attributes

double fDriftTime
 Default constructor. More...
 
geo::WireID fWireID
 vertex's wireID More...
 
int fID
 vertex's ID More...
 
double fStrength
 vertex's strength More...
 
geo::View_t fView
 view for this end point More...
 
double fTotalCharge
 total charge of hits associated with end point More...
 

Friends

std::ostream & operator<< (std::ostream &o, const EndPoint2D &c)
 

Detailed Description

Definition at line 18 of file EndPoint2D.h.

Constructor & Destructor Documentation

recob::EndPoint2D::EndPoint2D ( )

Definition at line 17 of file EndPoint2D.cxx.

18  : fDriftTime(-1.)
19  , fWireID()
20  , fID(-1)
21  , fStrength(-1.)
23  , fTotalCharge(-999.)
24  {
25  }
geo::View_t fView
view for this end point
Definition: EndPoint2D.h:29
Unknown view.
Definition: geo_types.h:83
double fStrength
vertex&#39;s strength
Definition: EndPoint2D.h:28
double fTotalCharge
total charge of hits associated with end point
Definition: EndPoint2D.h:30
geo::WireID fWireID
vertex&#39;s wireID
Definition: EndPoint2D.h:26
double fDriftTime
Default constructor.
Definition: EndPoint2D.h:25
int fID
vertex&#39;s ID
Definition: EndPoint2D.h:27
recob::EndPoint2D::EndPoint2D ( double  driftTime,
geo::WireID  wireID,
double  strength,
int  id,
geo::View_t  view,
double  totalQ 
)

Definition at line 28 of file EndPoint2D.cxx.

34  : fDriftTime(driftTime)
35  , fWireID(wireID)
36  , fID(id)
37  , fStrength(strength)
38  , fView(view)
39  , fTotalCharge(totalQ)
40  {
41  }
geo::View_t fView
view for this end point
Definition: EndPoint2D.h:29
double fStrength
vertex&#39;s strength
Definition: EndPoint2D.h:28
double fTotalCharge
total charge of hits associated with end point
Definition: EndPoint2D.h:30
geo::WireID fWireID
vertex&#39;s wireID
Definition: EndPoint2D.h:26
double fDriftTime
Default constructor.
Definition: EndPoint2D.h:25
int fID
vertex&#39;s ID
Definition: EndPoint2D.h:27

Member Function Documentation

double recob::EndPoint2D::Charge ( ) const
inline

Definition at line 54 of file EndPoint2D.h.

References fTotalCharge.

54 { return fTotalCharge; }
double fTotalCharge
total charge of hits associated with end point
Definition: EndPoint2D.h:30
double recob::EndPoint2D::DriftTime ( ) const
inline

Definition at line 56 of file EndPoint2D.h.

References fDriftTime.

Referenced by recob::operator<<().

56 { return fDriftTime; }
double fDriftTime
Default constructor.
Definition: EndPoint2D.h:25
int recob::EndPoint2D::ID ( ) const
inline

Definition at line 58 of file EndPoint2D.h.

References fID.

Referenced by recob::operator<<(), vertex::AggregateVertex::produce(), and shwf::ShowerFinder::produce().

58 { return fID; }
int fID
vertex&#39;s ID
Definition: EndPoint2D.h:27
double recob::EndPoint2D::Strength ( ) const
inline

Definition at line 59 of file EndPoint2D.h.

References fStrength.

Referenced by shwf::ShowerFinder::produce().

59 { return fStrength; }
double fStrength
vertex&#39;s strength
Definition: EndPoint2D.h:28
geo::View_t recob::EndPoint2D::View ( ) const
inline

Definition at line 55 of file EndPoint2D.h.

References fView.

Referenced by recob::operator<<().

55 { return fView; }
geo::View_t fView
view for this end point
Definition: EndPoint2D.h:29
geo::WireID recob::EndPoint2D::WireID ( ) const
inline

Definition at line 57 of file EndPoint2D.h.

References fWireID.

Referenced by recob::operator<<().

57 { return fWireID; }
geo::WireID fWireID
vertex&#39;s wireID
Definition: EndPoint2D.h:26

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const EndPoint2D c 
)
friend

Definition at line 47 of file EndPoint2D.cxx.

48  {
49  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
50  o << "EndPoint2D ID " << std::setw(5) << std::right << ep.ID()
51  << " WireID : \n"
52  << "\tCryostat = " << std::setw(7) << std::right << ep.WireID().Cryostat
53  << "\tTPC = " << std::setw(7) << std::right << ep.WireID().TPC
54  << "\tPlane = " << std::setw(7) << std::right << ep.WireID().Plane
55  << "\tWire Number = " << std::setw(7) << std::right << ep.WireID().Wire
56  << " View = " << std::setw(9) << std::right << ep.View()
57  << " Time = " << std::setw(9) << std::right << ep.DriftTime();
58 
59  return o;
60  }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:112

Member Data Documentation

double recob::EndPoint2D::fDriftTime
private

Default constructor.

vertex's drift time

Definition at line 25 of file EndPoint2D.h.

Referenced by DriftTime().

int recob::EndPoint2D::fID
private

vertex's ID

Definition at line 27 of file EndPoint2D.h.

Referenced by ID().

double recob::EndPoint2D::fStrength
private

vertex's strength

Definition at line 28 of file EndPoint2D.h.

Referenced by Strength().

double recob::EndPoint2D::fTotalCharge
private

total charge of hits associated with end point

Definition at line 30 of file EndPoint2D.h.

Referenced by Charge().

geo::View_t recob::EndPoint2D::fView
private

view for this end point

Definition at line 29 of file EndPoint2D.h.

Referenced by View().

geo::WireID recob::EndPoint2D::fWireID
private

vertex's wireID

Definition at line 26 of file EndPoint2D.h.

Referenced by WireID().


The documentation for this class was generated from the following files: