BOSS 7.0.1
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
 
 isMdcHitOnTrack (bool activeOnly=false)
 
bool operator() (const TrkHitOnTrk &h) const
 

Detailed Description

Constructor & Destructor Documentation

◆ isMdcHitOnTrack() [1/2]

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

Definition at line 57 of file InstallArea/include/TrkBase/TrkBase/TrkPredicates.h.

57: _activeOnly(activeOnly) { }

◆ isMdcHitOnTrack() [2/2]

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

Definition at line 57 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkPredicates.h.

57: _activeOnly(activeOnly) { }

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 58 of file InstallArea/include/TrkBase/TrkBase/TrkPredicates.h.

59 { return h.mdcHitOnTrack()!=0 && ( !_activeOnly || h.isActive() ); }
virtual const MdcHitOnTrack * mdcHitOnTrack() const
Definition: TrkHitOnTrk.cxx:30

◆ operator()() [2/2]

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

Definition at line 58 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkPredicates.h.

59 { return h.mdcHitOnTrack()!=0 && ( !_activeOnly || h.isActive() ); }

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