00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: TrkActiveHotSelector.h,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $ 00004 // 00005 // Description: 00006 // class TrkActiveHotSelector. Trivial implementation of TrkHotSelector for 00007 // selecting active 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 TRKACTIVEHOTSELECTOR_HH 00020 #define TRKACTIVEHOTSELECTOR_HH 00021 00022 #include "TrkBase/TrkHotSelector.h" 00023 00024 class TrkActiveHotSelector : public TrkHotSelector{ 00025 public: 00026 // only a default constructor 00027 TrkActiveHotSelector(); 00028 virtual ~TrkActiveHotSelector(); 00029 // The Function 00030 virtual bool useHot(const TrkHitOnTrk& hot) const; 00031 private: 00032 bool _ignoreActive; 00033 // disallow 00034 TrkActiveHotSelector(const TrkActiveHotSelector&); 00035 TrkActiveHotSelector& operator = (const TrkActiveHotSelector&); 00036 }; 00037 #endif