BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkBase::Predicates::isLayer Class Reference

#include <TrkPredicates.h>

+ Inheritance diagram for TrkBase::Predicates::isLayer:

Public Member Functions

 isLayer (int layer)
 
bool operator() (const TrkHitOnTrk &h) const
 
 isLayer (int layer)
 
bool operator() (const TrkHitOnTrk &h) const
 

Detailed Description

Constructor & Destructor Documentation

◆ isLayer() [1/2]

TrkBase::Predicates::isLayer::isLayer ( int  layer)
inline

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

34: _layer(layer) {}

◆ isLayer() [2/2]

TrkBase::Predicates::isLayer::isLayer ( int  layer)
inline

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

34: _layer(layer) {}

Member Function Documentation

◆ operator()() [1/2]

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

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

36 { return h.layerNumber() == _layer; }
virtual unsigned layerNumber() const =0

◆ operator()() [2/2]

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

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

36 { return h.layerNumber() == _layer; }

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