5#ifndef FORWARDTRANSPORT_FORWARD_TRANSPORT_MODEL_H
6#define FORWARDTRANSPORT_FORWARD_TRANSPORT_MODEL_H
8#include "G4VFastSimulationModel.hh"
12#include "GaudiKernel/ServiceHandle.h"
20 ForwardTransportModel(
const std::string& name, G4Region* region,
const int verboseLevel,
const std::string& FwdTrSvcName);
23 G4bool
IsApplicable(
const G4ParticleDefinition&)
override final {
return true; }
24 G4bool
ModelTrigger(
const G4FastTrack&)
override final {
return true; }
25 void DoIt (
const G4FastTrack&, G4FastStep&)
override final;
ForwardTracker::Particle m_fwdParticle
ForwardTransportModel(const std::string &name, G4Region *region, const int verboseLevel, const std::string &FwdTrSvcName)
void DoIt(const G4FastTrack &, G4FastStep &) override final
PrimaryParticleInformation * getPrimaryParticleInformation(const G4FastTrack &fastTrack) const
G4bool IsApplicable(const G4ParticleDefinition &) override final
ServiceHandle< IForwardTransportSvc > m_fwdSvc
void KillPrimaryTrack(const G4FastTrack &, G4FastStep &)
G4bool ModelTrigger(const G4FastTrack &) override final
This class is attached to G4PrimaryParticle objects as UserInformation.