BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkBase::Predicates::isSvtHitOnTrack Class Reference

#include <TrkPredicates.h>

+ Inheritance diagram for TrkBase::Predicates::isSvtHitOnTrack:

Public Member Functions

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

Detailed Description

Definition at line 46 of file TrkPredicates.h.

Constructor & Destructor Documentation

◆ isSvtHitOnTrack()

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

Definition at line 48 of file TrkPredicates.h.

48: _activeOnly(activeOnly) { }

Member Function Documentation

◆ operator()()

bool TrkBase::Predicates::isSvtHitOnTrack::operator() ( const TrkHitOnTrk & h) const
inline

Definition at line 49 of file TrkPredicates.h.

50 { return h.svtHitOnTrack()!=0 && ( !_activeOnly || h.isActive() ); }
virtual const SvtHitOnTrack * svtHitOnTrack() const
bool isActive() const

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