is_in_plane_and_above_thr Struct Reference

List of all members.

Public Member Functions

 is_in_plane_and_above_thr (int plane, double threshold)
bool operator() (CandDigitHandle *digit)

Public Attributes

int _plane
double _threshold

Detailed Description

Definition at line 72 of file LIPatternFinderSimple.cxx.


Constructor & Destructor Documentation

is_in_plane_and_above_thr::is_in_plane_and_above_thr ( int  plane,
double  threshold 
) [inline]

Definition at line 78 of file LIPatternFinderSimple.cxx.

00078                                                           :
00079                               _plane(plane), _threshold(threshold) { }
                              


Member Function Documentation

bool is_in_plane_and_above_thr::operator() ( CandDigitHandle digit  )  [inline]

Definition at line 81 of file LIPatternFinderSimple.cxx.

References _plane, _threshold, CandDigitHandle::GetCharge(), PlexSEIdAltL::GetPlane(), and CandDigitHandle::GetPlexSEIdAltL().

00081                                             {
00082 
00083       const PlexSEIdAltL & seid = digit->GetPlexSEIdAltL();
00084       
00085       return ( (digit->GetCharge() > _threshold) &&
00086                                         (seid.GetPlane() == _plane) );
00087    }


Member Data Documentation

Definition at line 75 of file LIPatternFinderSimple.cxx.

Referenced by operator()().

Definition at line 76 of file LIPatternFinderSimple.cxx.

Referenced by operator()().


The documentation for this struct was generated from the following file:

Generated on 17 Jun 2018 for loon by  doxygen 1.6.1