ATLAS Offline Software
Public Member Functions | List of all members
ISF::ActsFatrasSimTool::HitSurfaceSelector Struct Reference

Simple struct to select surfaces where hits should be generated. More...

#include <ActsFatrasSimTool.h>

Collaboration diagram for ISF::ActsFatrasSimTool::HitSurfaceSelector:

Public Member Functions

bool operator() (const Acts::Surface &surface) const
 Check if the surface should be used. More...
 

Detailed Description

Simple struct to select surfaces where hits should be generated.

Definition at line 69 of file ActsFatrasSimTool.h.

Member Function Documentation

◆ operator()()

bool ISF::ActsFatrasSimTool::HitSurfaceSelector::operator() ( const Acts::Surface &  surface) const
inline

Check if the surface should be used.

Definition at line 71 of file ActsFatrasSimTool.h.

71  {
72  bool isSensitive = surface.associatedDetectorElement();
73  return isSensitive;
74  }

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