ATLAS Offline Software
Loading...
Searching...
No Matches
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.

Detailed Description

Simple struct to select surfaces where hits should be generated.

Definition at line 74 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 76 of file ActsFatrasSimTool.h.

76 {
77 bool isSensitive = surface.associatedDetectorElement() != nullptr;
78 return isSensitive;
79 }

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