CGEM BOSS 6.6.5.i
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
 

Detailed Description

Definition at line 32 of file TrkPredicates.h.

Constructor & Destructor Documentation

◆ isLayer()

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

Definition at line 34 of file TrkPredicates.h.

34: _layer(layer) {}

Member Function Documentation

◆ operator()()

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

Definition at line 35 of file TrkPredicates.h.

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

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