All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | Friends | List of all members
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 16 of file EndPoint2D.cxx.

17  : fDriftTime(-1.)
18  , fWireID()
19  , fID(-1)
20  , fStrength(-1.)
22  , fTotalCharge(-999.)
23  {
24  }
geo::View_t fView
view for this end point
Definition: EndPoint2D.h:29
Unknown view.
Definition: geo_types.h:136
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 27 of file EndPoint2D.cxx.

33  : fDriftTime(driftTime)
34  , fWireID(wireID)
35  , fID(id)
36  , fStrength(strength)
37  , fView(view)
38  , fTotalCharge(totalQ)
39  {
40  }
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.

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.

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.

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.

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.

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.

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 46 of file EndPoint2D.cxx.

47  {
48  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
49  o << "EndPoint2D ID " << std::setw(5) << std::right << ep.ID()
50  << " WireID : \n"
51  << "\tCryostat = " << std::setw(7) << std::right << ep.WireID().Cryostat
52  << "\tTPC = " << std::setw(7) << std::right << ep.WireID().TPC
53  << "\tPlane = " << std::setw(7) << std::right << ep.WireID().Plane
54  << "\tWire Number = " << std::setw(7) << std::right << ep.WireID().Wire
55  << " View = " << std::setw(9) << std::right << ep.View()
56  << " Time = " << std::setw(9) << std::right << ep.DriftTime();
57 
58  return o;
59  }
walls no right
Definition: selectors.fcl:105

Member Data Documentation

double recob::EndPoint2D::fDriftTime
private

Default constructor.

vertex's drift time

Definition at line 25 of file EndPoint2D.h.

int recob::EndPoint2D::fID
private

vertex's ID

Definition at line 27 of file EndPoint2D.h.

double recob::EndPoint2D::fStrength
private

vertex's strength

Definition at line 28 of file EndPoint2D.h.

double recob::EndPoint2D::fTotalCharge
private

total charge of hits associated with end point

Definition at line 30 of file EndPoint2D.h.

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

view for this end point

Definition at line 29 of file EndPoint2D.h.

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

vertex's wireID

Definition at line 26 of file EndPoint2D.h.


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