|
Celeritas 0.7.0-dev.328+develop.a407567
|
Enable detector callback for hits in optical physics simulations. More...
#include <Scoring.hh>
Public Types | |
Type aliases | |
| using | HitCallbackFunc = std::function< void(Span< optical::DetectorHit const >)> |
Public Member Functions | |
| operator bool () const | |
| Whether detector input is valid and should be built. | |
Public Attributes | |
| HitCallbackFunc | callback |
| Hit callback function for optical detectors. | |
Enable detector callback for hits in optical physics simulations.