Project
Loading...
Searching...
No Matches
o2::fastsim::ToyAbsorberFastSim Class Reference

#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< FastSimOutputsample (const FastSimInput &input) const override
 

Detailed Description

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.

Member Function Documentation

◆ FastSimModel()

o2::fastsim::FastSimModel::FastSimModel ( const G4String &  name,
const G4String &  envelopeVolume,
double  minEnergyGeV 
)

Definition at line 76 of file FastSimModel.cxx.

◆ sample()

std::vector< FastSimOutput > o2::fastsim::ToyAbsorberFastSim::sample ( const FastSimInput input) const
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.


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