|
Celeritas 0.7.0-dev.264+develop.12c52268
|
Run optical photons in a standalone simulation. More...
#include <LarCelerStandalone.hh>

Public Types | |
Type aliases | |
| using | Config = detail::LarCelerStandaloneConfig |
| using | Parameters = art::ToolConfigTable< Config > |
Public Types inherited from phot::IOpticalPropagation | |
| using | VecSED = std::vector< sim::SimEnergyDeposit > |
| using | UPVecBTR = std::unique_ptr< std::vector< sim::OpDetBacktrackerRecord > > |
Public Member Functions | |
| LarCelerStandalone (Parameters const &p) | |
| Construct with fcl parameters. | |
| void | beginJob () final |
| Start Celeritas at the beginning of the job. | |
| UPVecBTR | executeEvent (VecSED const &edeps) final |
| Run Celeritas on a single event. | |
| void | endJob () final |
| Free Celeritas memory at the end of the job. | |
Run optical photons in a standalone simulation.
This plugin implements a replacement for LArSim's phot::PDFastSimPAR class. It is instantiated by a FHiCL workflow file with a set of parameters. It takes a vector of energy-depositing steps and returns a vector of detector responses. It is executed after the detector simulation module (ionization, recombination, scintillation, etc.) with a vector of steps that contain local energy deposition.
The execution happens after LArG4 is complete, so it is completely independent of the Geant4 run manager and execution. It requires an input GDML with:
See celeritas::detail::LarCelerStandaloneConfig .
|
finalvirtual |
Start Celeritas at the beginning of the job.
Implements phot::IOpticalPropagation.
|
finalvirtual |
Free Celeritas memory at the end of the job.
Implements phot::IOpticalPropagation.
Run Celeritas on a single event.
Implements phot::IOpticalPropagation.