CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
StripLimits Struct Reference

#include <ClusterShapeHitFilter.h>

Public Member Functions

bool isInside (float pred) const
 
 StripLimits ()
 

Public Attributes

float data [2][2]
 

Detailed Description

Definition at line 112 of file ClusterShapeHitFilter.h.

Constructor & Destructor Documentation

StripLimits::StripLimits ( )
inline

Definition at line 113 of file ClusterShapeHitFilter.h.

References data.

113  {
114  data[0][0] = -10e10;
115  data[0][1] = 10e10;
116  data[1][0] = -10e10;
117  data[1][1] = 10e10;
118  }

Member Function Documentation

bool StripLimits::isInside ( float  pred) const
inline

Definition at line 122 of file ClusterShapeHitFilter.h.

References data, and MessageLogger_cff::limit.

122  {
123  float const * limit = data[0];
124  bool one = pred > limit[0] && pred < limit[1];
125  limit = data[1];
126  bool two = pred > limit[0] && pred < limit[1];
127 
128  return one || two;
129 
130  }

Member Data Documentation

float StripLimits::data[2][2]

Definition at line 120 of file ClusterShapeHitFilter.h.

Referenced by cuy.FindIssue::__init__(), isInside(), and StripLimits().