List of all members | Public Types | Public Member Functions | Private Attributes
fdet::FDetComponentSelector Class Reference

Predicate specifying whether telescope is selected or not. More...

#include <FDetComponentSelector.h>

Public Types

enum  Type { eAll = 0, ePhysical, eVirtual }
 Possible component status. More...
 

Public Member Functions

 FDetComponentSelector (const Type type=ePhysical)
 
bool operator() (const fdet::Eye &comp) const
 

Private Attributes

Type fType
 

Detailed Description

Predicate specifying whether telescope is selected or not.

Definition at line 17 of file FDetComponentSelector.h.

Member Enumeration Documentation

Possible component status.

Enumerator
eAll 
ePhysical 
eVirtual 

Definition at line 21 of file FDetComponentSelector.h.

Constructor & Destructor Documentation

FDetComponentSelector::FDetComponentSelector ( const Type  type = ePhysical)

Definition at line 11 of file FDetComponentSelector.cc.

Member Function Documentation

bool FDetComponentSelector::operator() ( const fdet::Eye comp) const

Definition at line 18 of file FDetComponentSelector.cc.

References eAll, ePhysical, eVirtual, fType, and fdet::Eye::IsVirtual().

Member Data Documentation

Type fdet::FDetComponentSelector::fType
private

Definition at line 32 of file FDetComponentSelector.h.

Referenced by operator()().


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

, generated on Tue Sep 26 2023.