Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
pandora::DetectorGap Class Referenceabstract

DetectorGap class. More...

#include "DetectorGap.h"

Inheritance diagram for pandora::DetectorGap:

Public Member Functions

virtual ~DetectorGap ()
 Destructor.
 
virtual bool IsInGap (const CartesianVector &positionVector, const HitType hitType, const float gapTolerance=0.f) const =0
 Whether a specified position lies within the gap.
 

Detailed Description

DetectorGap class.

Definition at line 24 of file DetectorGap.h.

Constructor & Destructor Documentation

◆ ~DetectorGap()

pandora::DetectorGap::~DetectorGap ( )
virtual

Destructor.

Definition at line 14 of file DetectorGap.cc.

Member Function Documentation

◆ IsInGap()

virtual bool pandora::DetectorGap::IsInGap ( const CartesianVector positionVector,
const HitType  hitType,
const float  gapTolerance = 0.f 
) const
pure virtual

Whether a specified position lies within the gap.

Parameters
positionVectorthe position vector
hitTypethe hit type, providing context to aid interpretation of provided position vector
gapTolerancetolerance allowed when declaring a point to be "in" a gap region, units mm
Returns
boolean

Implemented in pandora::LineGap, pandora::BoxGap, and pandora::ConcentricGap.


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