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

PlaneCandStripHandleKeyFunctor Class Reference

List of all members.

Public Member Functions

 PlaneCandStripHandleKeyFunctor (int pln, float Q, const char *comp)
 ~PlaneCandStripHandleKeyFunctor ()
virtual NavKey operator() (const CandStripHandle *csh) const
virtual CandStripHandleKeyFunctor * Clone () const

Private Attributes

int fPln
float fQ
std::string fComp

Constructor & Destructor Documentation

PlaneCandStripHandleKeyFunctor::PlaneCandStripHandleKeyFunctor int  pln,
float  Q,
const char *  comp
[inline]
 

Definition at line 181 of file AltAlgSliceList.cxx.

References fComp, fPln, and fQ.

Referenced by Clone().

00181                                                                       :
00182                            fPln(pln), fQ(Q), fComp(std::string(comp)) { }
  ~PlaneCandStripHandleKeyFunctor() { }

PlaneCandStripHandleKeyFunctor::~PlaneCandStripHandleKeyFunctor  )  [inline]
 

Definition at line 183 of file AltAlgSliceList.cxx.

00183 { }


Member Function Documentation

virtual CandStripHandleKeyFunctor* PlaneCandStripHandleKeyFunctor::Clone  )  const [inline, virtual]
 

Definition at line 192 of file AltAlgSliceList.cxx.

References PlaneCandStripHandleKeyFunctor().

00193                     { return new PlaneCandStripHandleKeyFunctor(*this); }

virtual NavKey PlaneCandStripHandleKeyFunctor::operator() const CandStripHandle csh  )  const [inline, virtual]
 

Definition at line 184 of file AltAlgSliceList.cxx.

References fComp, fPln, CandStripHandle::GetCharge(), and CandStripHandle::GetPlane().

00184                                                                  {
00185           if(fComp.compare("le") == 0)
00186                  return csh->GetPlane() <= fPln && csh->GetCharge() > fQ;
00187           else if(fComp.compare("g")  == 0)
00188                  return csh->GetPlane() >  fPln && csh->GetCharge() > fQ;
00189           else
00190                  return false;
00191    }


Member Data Documentation

std::string PlaneCandStripHandleKeyFunctor::fComp [private]
 

Definition at line 197 of file AltAlgSliceList.cxx.

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

int PlaneCandStripHandleKeyFunctor::fPln [private]
 

Definition at line 195 of file AltAlgSliceList.cxx.

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

float PlaneCandStripHandleKeyFunctor::fQ [private]
 

Definition at line 196 of file AltAlgSliceList.cxx.

Referenced by PlaneCandStripHandleKeyFunctor().


The documentation for this class was generated from the following file:
Generated on Mon Feb 15 11:10:03 2010 for loon by  doxygen 1.3.9.1