|
Celeritas 0.7.0-dev.245+develop.a7be925e
|
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::OpticalSimInterface | |
| using | VecSED = std::vector< sim::SimEnergyDeposit > |
| using | VecBTR = std::vector< sim::OpDetBacktrackerRecord > |
| using | UPVecBTR = std::unique_ptr< VecBTR > |
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, taking a vector of energy-depositing steps and returning a vector is instantiated by a FHiCL workflow file with a set of parameters. It is executed after the detector simulation step (ionization, recombination, scintillation, etc.) with a vector of steps that contain energy deposition, and it returns a vector of detector responses.
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::OpticalSimInterface.
|
finalvirtual |
Free Celeritas memory at the end of the job.
Implements phot::OpticalSimInterface.
Run Celeritas on a single event.
Implements phot::OpticalSimInterface.