CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkMdcHotSelector Class Reference

#include <TrkMdcHotSelector.h>

+ Inheritance diagram for TrkMdcHotSelector:

Public Member Functions

 TrkMdcHotSelector (bool activeOnly=true)
 
virtual ~TrkMdcHotSelector ()
 
virtual bool useHot (const TrkHitOnTrk &hot) const
 
- Public Member Functions inherited from TrkHotSelector
 TrkHotSelector ()
 
virtual ~TrkHotSelector ()
 
virtual bool useHot (const TrkHitOnTrk &hot) const =0
 

Detailed Description

Definition at line 24 of file TrkMdcHotSelector.h.

Constructor & Destructor Documentation

◆ TrkMdcHotSelector()

TrkMdcHotSelector::TrkMdcHotSelector ( bool  activeOnly = true)

Definition at line 23 of file TrkMdcHotSelector.cxx.

23 :
24 _ignoreActive(!activeOnly)
25{}

◆ ~TrkMdcHotSelector()

TrkMdcHotSelector::~TrkMdcHotSelector ( )
virtual

Definition at line 27 of file TrkMdcHotSelector.cxx.

28{}

Member Function Documentation

◆ useHot()

bool TrkMdcHotSelector::useHot ( const TrkHitOnTrk hot) const
virtual

Implements TrkHotSelector.

Definition at line 31 of file TrkMdcHotSelector.cxx.

31 {
32 return (hot.mdcHitOnTrack() != 0) &&
33 (_ignoreActive || hot.isActive());
34}
virtual const MdcHitOnTrack * mdcHitOnTrack() const
Definition: TrkHitOnTrk.cxx:30
bool isActive() const
Definition: TrkHitOnTrk.h:200

The documentation for this class was generated from the following files: