/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/src/TrkMdcHotSelector.cxx

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: TrkMdcHotSelector.cxx,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 //#include "BaBar/BaBar.hh"
00020 #include "TrkBase/TrkMdcHotSelector.h"
00021 #include "TrkBase/TrkHitOnTrk.h"
00022 
00023 TrkMdcHotSelector::TrkMdcHotSelector(bool activeOnly) :
00024   _ignoreActive(!activeOnly)
00025 {}
00026 
00027 TrkMdcHotSelector::~TrkMdcHotSelector()
00028 {}
00029 
00030 bool
00031 TrkMdcHotSelector::useHot(const TrkHitOnTrk& hot) const {
00032   return (hot.mdcHitOnTrack() != 0) &&
00033     (_ignoreActive || hot.isActive());
00034 }
00035 

Generated on Tue Nov 29 23:13:40 2016 for BOSS_7.0.2 by  doxygen 1.4.7