ElectronNeutrinoSelection
 All Classes Functions Variables Groups
Public Member Functions | Private Attributes | List of all members
lee::GeometryHelper Class Reference
Inheritance diagram for lee::GeometryHelper:
lee::HelperBase

Public Member Functions

bool isInside (std::vector< double > P, std::vector< std::vector< double > > V)
 Determine if a point is within a rectangle (in 2D) More...
 
bool isFiducial (const std::vector< double > &x) const
 Determine if the specified point is in the fiducial volume. More...
 
bool isFiducial (const TVector3 &x) const
 Determine if the specified point is in the fiducial volume. More...
 
bool isFiducial (const double x[3]) const
 Determine if the specified point is in the fiducial volume Not recommended, no array size checking is done. More...
 
bool isActive (const std::vector< double > &x) const
 Determine if the specified point is in the active volume. More...
 
bool isActive (const double x[3]) const
 Determine if the specified point is in the active volume Not recommended, no array size checking is done. More...
 
double distance (const std::vector< double > &a, const std::vector< double > &b) const
 Compute the 3D distance between two points. More...
 
double distance (const TVector3 &a, const TVector3 &b) const
 Compute the 3D distance between two points. More...
 
double getPitch (const TVector3 &direction, const int &pl) const
 Returns the 3D effective pitch give a direction and a plane. More...
 
void setFiducialVolumeCuts (float m_fidvolXstart, float m_fidvolXend, float m_fidvolYstart, float m_fidvolYend, float m_fidvolZstart, float m_fidvolZend)
 Sets the fiducial volume cuts. More...
 
TVector3 getAveragePosition (std::vector< art::Ptr< recob::SpacePoint >> &spcpnts)
 Return the average position of a set of space points. More...
 
void buildRectangle (double length, double width, std::vector< double > &start, std::vector< double > &axis, std::vector< std::vector< double >> &points)
 Builds a rectangle. More...
 
- Public Member Functions inherited from lee::HelperBase
void setDebug (bool b)
 Sets the debug parameter. More...
 

Private Attributes

float m_fidvolXstart
 
float m_fidvolXend
 
float m_fidvolYstart
 
float m_fidvolYend
 
float m_fidvolZstart
 
float m_fidvolZend
 

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