00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: TrkMdcHotSelector.h,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $ 00004 // 00005 // Description: 00006 // class TrkMdcHotSelector. Trivial implementation of TrkHotSelector for 00007 // selecting Mdc hots. 00008 // 00009 // Environment: 00010 // Software developed for the BaBar Detector at the SLAC B-Factory. 00011 // 00012 // Copyright Information: 00013 // Copyright (C) 2001 Lawrence Berkeley Laboratory 00014 // 00015 // Author List: 00016 // Dave Brown 7/17/01 00017 //------------------------------------------------------------------------ 00018 00019 #ifndef TRKDCHHOTSELECTOR_HH 00020 #define TRKDCHHOTSELECTOR_HH 00021 00022 #include "TrkBase/TrkHotSelector.h" 00023 00024 class TrkMdcHotSelector : public TrkHotSelector{ 00025 public: 00026 // only a default constructor 00027 TrkMdcHotSelector(bool activeOnly = true); 00028 virtual ~TrkMdcHotSelector(); 00029 // The Function 00030 virtual bool useHot(const TrkHitOnTrk& hot) const; 00031 private: 00032 bool _ignoreActive; 00033 // disallow 00034 TrkMdcHotSelector(const TrkMdcHotSelector&); 00035 TrkMdcHotSelector& operator = (const TrkMdcHotSelector&); 00036 }; 00037 #endif