![]() |
Project
|
#include <ToyAbsorberFastSim.h>
Inherits o2::fastsim::FastSimModel.
Public Member Functions | |
| FastSimModel (const G4String &name, const G4String &envelopeVolume, double minEnergyGeV) | |
Public Member Functions inherited from o2::fastsim::FastSimModel | |
| FastSimModel (const G4String &name, const G4String &envelopeVolume, double minEnergyGeV) | |
| G4bool | IsApplicable (const G4ParticleDefinition &particle) override |
| G4bool | ModelTrigger (const G4FastTrack &fastTrack) override |
| void | DoIt (const G4FastTrack &fastTrack, G4FastStep &fastStep) override |
Protected Member Functions | |
| std::vector< FastSimOutput > | sample (const FastSimInput &input) const override |
A toy fast simulation model for the absorber: one particle out, continuing along the incident direction with the energy exponentially attenuated over the path through the envelope.
Definition at line 23 of file ToyAbsorberFastSim.h.
| o2::fastsim::FastSimModel::FastSimModel | ( | const G4String & | name, |
| const G4String & | envelopeVolume, | ||
| double | minEnergyGeV | ||
| ) |
Definition at line 76 of file FastSimModel.cxx.
|
overrideprotectedvirtual |
Given the particle that entered, return everything that leaves. This is the function a trained model implements.
Implements o2::fastsim::FastSimModel.
Definition at line 26 of file ToyAbsorberFastSim.cxx.