BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkBase::Predicates::isMdcHitOnTrack Class Reference

#include <TrkPredicates.h>

+ Inheritance diagram for TrkBase::Predicates::isMdcHitOnTrack:

Public Member Functions

 isMdcHitOnTrack (bool activeOnly=false)
 
bool operator() (const TrkHitOnTrk &h) const
 

Detailed Description

Definition at line 55 of file TrkPredicates.h.

Constructor & Destructor Documentation

◆ isMdcHitOnTrack()

TrkBase::Predicates::isMdcHitOnTrack::isMdcHitOnTrack ( bool  activeOnly = false)
inline

Definition at line 57 of file TrkPredicates.h.

57: _activeOnly(activeOnly) { }

Member Function Documentation

◆ operator()()

bool TrkBase::Predicates::isMdcHitOnTrack::operator() ( const TrkHitOnTrk h) const
inline

Definition at line 58 of file TrkPredicates.h.

59 { return h.mdcHitOnTrack()!=0 && ( !_activeOnly || h.isActive() ); }
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 file: