Celeritas 0.7.0-dev.328+develop.a407567
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::inp::OpticalDetector Struct Reference

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.
 

Detailed Description

Enable detector callback for hits in optical physics simulations.


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