All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
pma::bSegmentProjLess Class Reference

#include <Utilities.h>

Inheritance diagram for pma::bSegmentProjLess:

Public Member Functions

 bSegmentProjLess (const TVector3 &s0, const TVector3 &s1)
 
bool operator() (TVector3 *p1, TVector3 *p2)
 

Private Attributes

TVector3 segStart
 
TVector3 segStop
 

Detailed Description

Definition at line 112 of file larreco/larreco/RecoAlg/PMAlg/Utilities.h.

Constructor & Destructor Documentation

pma::bSegmentProjLess::bSegmentProjLess ( const TVector3 &  s0,
const TVector3 &  s1 
)

Definition at line 354 of file larreco/larreco/RecoAlg/PMAlg/Utilities.cxx.

355  : segStart(s0), segStop(s1)
356 {
357  if (s0 == s1) mf::LogError("pma::bSegmentProjLess") << "Vectors equal!";
358 }

Member Function Documentation

bool pma::bSegmentProjLess::operator() ( TVector3 *  p1,
TVector3 *  p2 
)
inline

Definition at line 117 of file larreco/larreco/RecoAlg/PMAlg/Utilities.h.

118  {
119  if (p1 && p2) {
122  return b1 < b2;
123  }
124  else
125  return false;
126  }
double GetSegmentProjVector(const TVector2 &p, const TVector2 &p0, const TVector2 &p1)
physics associatedGroupsWithLeft p1

Member Data Documentation

TVector3 pma::bSegmentProjLess::segStart
private

Definition at line 129 of file larreco/larreco/RecoAlg/PMAlg/Utilities.h.

TVector3 pma::bSegmentProjLess::segStop
private

Definition at line 129 of file larreco/larreco/RecoAlg/PMAlg/Utilities.h.


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