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
23
TrkMdcHotSelector::TrkMdcHotSelector
(
bool
activeOnly) :
24
_ignoreActive(!activeOnly)
25
{}
26
27
TrkMdcHotSelector::~TrkMdcHotSelector
()
28
{}
29
30
bool
31
TrkMdcHotSelector::useHot
(
const
TrkHitOnTrk
& hot)
const
{
32
return
(hot.
mdcHitOnTrack
() != 0) &&
33
(_ignoreActive || hot.
isActive
());
34
}
35
TrkHitOnTrk
Definition:
InstallArea/include/TrkBase/TrkBase/TrkHitOnTrk.h:52
TrkHitOnTrk::mdcHitOnTrack
virtual const MdcHitOnTrack * mdcHitOnTrack() const
Definition:
TrkHitOnTrk.cxx:30
TrkHitOnTrk::isActive
bool isActive() const
Definition:
InstallArea/include/TrkBase/TrkBase/TrkHitOnTrk.h:200
TrkMdcHotSelector::~TrkMdcHotSelector
virtual ~TrkMdcHotSelector()
Definition:
TrkMdcHotSelector.cxx:27
TrkMdcHotSelector::TrkMdcHotSelector
TrkMdcHotSelector(bool activeOnly=true)
Definition:
TrkMdcHotSelector.cxx:23
TrkMdcHotSelector::useHot
virtual bool useHot(const TrkHitOnTrk &hot) const
Definition:
TrkMdcHotSelector.cxx:31
source
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-12
src
TrkMdcHotSelector.cxx
Generated by
1.9.6