Celeritas 0.7.0-dev.245+develop.a7be925e
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::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.
 

Detailed Description

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:

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::OpticalSimInterface.

◆ endJob()

void celeritas::LarCelerStandalone::endJob ( )
finalvirtual

Free Celeritas memory at the end of the job.

Implements phot::OpticalSimInterface.

◆ executeEvent()

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

Run Celeritas on a single event.

Implements phot::OpticalSimInterface.


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