Celeritas 0.7.0-dev.264+develop.12c52268
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::LarCelerStandalone Class Referencefinal

Run optical photons in a standalone simulation. More...

#include <LarCelerStandalone.hh>

Inheritance diagram for celeritas::LarCelerStandalone:
Inheritance graph
[legend]

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.
 

Detailed Description

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:

Parameter set definitions

See celeritas::detail::LarCelerStandaloneConfig .

Member Function Documentation

◆ beginJob()

void celeritas::LarCelerStandalone::beginJob ( )
finalvirtual

Start Celeritas at the beginning of the job.

Implements phot::IOpticalPropagation.

◆ endJob()

void celeritas::LarCelerStandalone::endJob ( )
finalvirtual

Free Celeritas memory at the end of the job.

Implements phot::IOpticalPropagation.

◆ executeEvent()

auto celeritas::LarCelerStandalone::executeEvent ( VecSED const edeps)
finalvirtual

Run Celeritas on a single event.

Implements phot::IOpticalPropagation.


The documentation for this class was generated from the following files: