is_in_plane_range_and_above_thr Struct Reference

List of all members.

Public Member Functions

 is_in_plane_range_and_above_thr (int pl_min, int pl_max, double threshold)
bool operator() (CandDigitHandle *digit)

Public Attributes

int _pl_min
int _pl_max
double _threshold

Detailed Description

Definition at line 90 of file LIPatternFinderSimple.cxx.


Constructor & Destructor Documentation

is_in_plane_range_and_above_thr::is_in_plane_range_and_above_thr ( int  pl_min,
int  pl_max,
double  threshold 
) [inline]

Definition at line 96 of file LIPatternFinderSimple.cxx.

00097                                                   :
00098            _pl_min(pl_min), _pl_max(pl_max), _threshold(threshold) { }


Member Function Documentation

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

Definition at line 100 of file LIPatternFinderSimple.cxx.

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

00100                                             {
00101 
00102       const PlexSEIdAltL & seid = digit->GetPlexSEIdAltL();
00103 
00104       return ( (digit->GetCharge() >  _threshold) &&
00105                              (seid.GetPlane() >= _pl_min) &&
00106                                         (seid.GetPlane() <= _pl_max) );
00107    }


Member Data Documentation

Definition at line 93 of file LIPatternFinderSimple.cxx.

Referenced by operator()().

Definition at line 93 of file LIPatternFinderSimple.cxx.

Referenced by operator()().

Definition at line 94 of file LIPatternFinderSimple.cxx.

Referenced by operator()().


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

Generated on 16 Apr 2018 for loon by  doxygen 1.6.1