Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

is_in_tz_window Struct Reference

List of all members.

Public Member Functions

 is_in_tz_window (CandStripHandle *ref, double dt, double dpln)
bool operator() (CandStripHandle *csh)

Public Attributes

CandStripHandle_ref
double _dt
double _dpln

Constructor & Destructor Documentation

is_in_tz_window::is_in_tz_window CandStripHandle ref,
double  dt,
double  dpln
[inline]
 

Definition at line 102 of file AltAlgSliceList.cxx.

References _dpln, _dt, and _ref.

00102                                                                   :
00103                                             _ref(ref), _dt(dt), _dpln(dpln) {}
   bool operator()(CandStripHandle * csh) {


Member Function Documentation

bool is_in_tz_window::operator() CandStripHandle csh  )  [inline]
 

Definition at line 104 of file AltAlgSliceList.cxx.

References _dt, _ref, abs(), CandStripHandle::GetCorrBegTime(), and CandStripHandle::GetPlane().

00104                                           {
00105      return  fabs( csh->GetCorrBegTime()  - _ref->GetCorrBegTime() )  <= _dt  &&
00106              abs(  csh->GetPlane() - _ref->GetPlane() ) <= _dpln;
00107    }


Member Data Documentation

double is_in_tz_window::_dpln
 

Definition at line 101 of file AltAlgSliceList.cxx.

Referenced by is_in_tz_window().

double is_in_tz_window::_dt
 

Definition at line 101 of file AltAlgSliceList.cxx.

Referenced by is_in_tz_window(), and operator()().

CandStripHandle* is_in_tz_window::_ref
 

Definition at line 100 of file AltAlgSliceList.cxx.

Referenced by is_in_tz_window(), and operator()().


The documentation for this struct was generated from the following file:
Generated on Mon Feb 15 11:09:20 2010 for loon by  doxygen 1.3.9.1