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 72 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 74 of file ActsFatrasSimTool.h.

74  {
75  bool isSensitive = surface.associatedDetectorElement();
76  return isSensitive;
77  }

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