CMS 3D CMS Logo

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

#include <StripClusterAboveU.h>

Public Member Functions

bool operator() (const SiStripCluster &hit) const
 
 StripClusterAboveU (float u)
 

Private Attributes

float theU
 

Detailed Description

Function object that selects StripClusters who's first coordinate in the measurement frame is bigger than some value. Looks obsolete.

Definition at line 11 of file StripClusterAboveU.h.

Constructor & Destructor Documentation

StripClusterAboveU::StripClusterAboveU ( float  u)
inline

Definition at line 13 of file StripClusterAboveU.h.

13 : theU(u) {}

Member Function Documentation

bool StripClusterAboveU::operator() ( const SiStripCluster hit) const
inline

Definition at line 14 of file StripClusterAboveU.h.

References SiStripCluster::barycenter(), and theU.

14  {
15  return hit.barycenter() > theU;
16  }
float barycenter() const

Member Data Documentation

float StripClusterAboveU::theU
private

Definition at line 18 of file StripClusterAboveU.h.

Referenced by operator()().