BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkMdcHotSelector.cxx
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkMdcHotSelector.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4//
5// Description:
6// class TrkMdcHotSelector. Trivial implementation of TrkHotSelector for
7// selecting Mdc hots.
8//
9// Environment:
10// Software developed for the BaBar Detector at the SLAC B-Factory.
11//
12// Copyright Information:
13// Copyright (C) 2001 Lawrence Berkeley Laboratory
14//
15// Author List:
16// Dave Brown 7/17/01
17//------------------------------------------------------------------------
18
19//#include "BaBar/BaBar.hh"
20#include "TrkBase/TrkMdcHotSelector.h"
21#include "TrkBase/TrkHitOnTrk.h"
22
24 _ignoreActive(!activeOnly)
25{}
26
28{}
29
30bool
32 return (hot.mdcHitOnTrack() != 0) &&
33 (_ignoreActive || hot.isActive());
34}
35
virtual const MdcHitOnTrack * mdcHitOnTrack() const
Definition: TrkHitOnTrk.cxx:30
TrkMdcHotSelector(bool activeOnly=true)
virtual bool useHot(const TrkHitOnTrk &hot) const