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

is_in_tztpos_window Struct Reference

List of all members.

Public Member Functions

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

Public Attributes

CandStripHandle_ref
double _dt
double _dpln
double _tpos

Constructor & Destructor Documentation

is_in_tztpos_window::is_in_tztpos_window CandStripHandle ref,
double  dt,
double  dpln,
double  tpos
[inline]
 

Definition at line 113 of file AltAlgSliceList.cxx.

References _dpln, _dt, _ref, and _tpos.

00114                                                                              :
00115                                _ref(ref), _dt(dt), _dpln(dpln), _tpos(tpos) {}
   bool operator()(CandStripHandle * csh) {


Member Function Documentation

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

Definition at line 116 of file AltAlgSliceList.cxx.

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

00116                                           {
00117      if( csh->GetPlaneView() != _ref->GetPlaneView() ) return false;
00118      return  fabs(csh->GetCorrBegTime()  - _ref->GetCorrBegTime())  <= _dt   &&
00119              abs( csh->GetPlane() - _ref->GetPlane()) <= _dpln &&
00120              fabs( csh->GetTPos()  - _ref->GetTPos())  <= _tpos;
00121    }


Member Data Documentation

double is_in_tztpos_window::_dpln
 

Definition at line 112 of file AltAlgSliceList.cxx.

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

double is_in_tztpos_window::_dt
 

Definition at line 112 of file AltAlgSliceList.cxx.

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

CandStripHandle* is_in_tztpos_window::_ref
 

Definition at line 111 of file AltAlgSliceList.cxx.

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

double is_in_tztpos_window::_tpos
 

Definition at line 112 of file AltAlgSliceList.cxx.

Referenced by is_in_tztpos_window().


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