#include <ClusterShapeHitFilter.h>
Public Member Functions | |
bool | isInside (const std::pair< float, float > &pred) const |
PixelLimits () | |
Public Attributes | |
float | data [2][2][2] |
Definition at line 78 of file ClusterShapeHitFilter.h.
PixelLimits::PixelLimits | ( | ) | [inline] |
Definition at line 79 of file ClusterShapeHitFilter.h.
References data, and MessageLogger_cff::limit.
bool PixelLimits::isInside | ( | const std::pair< float, float > & | pred | ) | const [inline] |
Definition at line 95 of file ClusterShapeHitFilter.h.
References data, and MessageLogger_cff::limit.
{ auto limit = data[0]; bool one = (pred.first > limit[0][0]) && ( pred.first < limit[0][1] ) && (pred.second > limit[1][0]) && (pred.second < limit[1][1]); limit = data[1]; bool two = (pred.first > limit[0][0]) && ( pred.first < limit[0][1] ) && (pred.second > limit[1][0]) && (pred.second < limit[1][1]); return one || two; }
float PixelLimits::data[2][2][2] |
Definition at line 93 of file ClusterShapeHitFilter.h.
Referenced by isInside(), and PixelLimits().