#include <G4VFastSimulationModel.hh>
Inheritance diagram for G4VFastSimulationModel:
Public Member Functions | |
G4VFastSimulationModel (const G4String &aName) | |
G4VFastSimulationModel (const G4String &aName, G4Envelope *, G4bool IsUnique=FALSE) | |
virtual | ~G4VFastSimulationModel () |
virtual G4bool | IsApplicable (const G4ParticleDefinition &)=0 |
virtual G4bool | ModelTrigger (const G4FastTrack &)=0 |
virtual void | DoIt (const G4FastTrack &, G4FastStep &)=0 |
virtual G4bool | AtRestModelTrigger (const G4FastTrack &) |
virtual void | AtRestDoIt (const G4FastTrack &, G4FastStep &) |
const G4String | GetName () const |
G4bool | operator== (const G4VFastSimulationModel &) const |
Definition at line 66 of file G4VFastSimulationModel.hh.
G4VFastSimulationModel::G4VFastSimulationModel | ( | const G4String & | aName | ) |
G4VFastSimulationModel::G4VFastSimulationModel | ( | const G4String & | aName, | |
G4Envelope * | , | |||
G4bool | IsUnique = FALSE | |||
) |
Definition at line 54 of file G4VFastSimulationModel.cc.
References G4FastSimulationManager::AddFastSimulationModel(), and G4Region::GetFastSimulationManager().
00057 : theModelName(aName) 00058 { 00059 // Retrieves the Fast Simulation Manager ou creates one if needed. 00060 G4FastSimulationManager* theFastSimulationManager; 00061 if ((theFastSimulationManager = anEnvelope->GetFastSimulationManager()) == 0) 00062 theFastSimulationManager = new G4FastSimulationManager(anEnvelope,IsUnique); 00063 // adds this model to the Fast Simulation Manager. 00064 theFastSimulationManager->AddFastSimulationModel(this); 00065 }
virtual G4VFastSimulationModel::~G4VFastSimulationModel | ( | ) | [inline, virtual] |
virtual void G4VFastSimulationModel::AtRestDoIt | ( | const G4FastTrack & | , | |
G4FastStep & | ||||
) | [inline, virtual] |
Definition at line 132 of file G4VFastSimulationModel.hh.
Referenced by G4FastSimulationManager::InvokeAtRestDoIt().
virtual G4bool G4VFastSimulationModel::AtRestModelTrigger | ( | const G4FastTrack & | ) | [inline, virtual] |
virtual void G4VFastSimulationModel::DoIt | ( | const G4FastTrack & | , | |
G4FastStep & | ||||
) | [pure virtual] |
const G4String G4VFastSimulationModel::GetName | ( | ) | const [inline] |
virtual G4bool G4VFastSimulationModel::IsApplicable | ( | const G4ParticleDefinition & | ) | [pure virtual] |
Implemented in GFlashShowerModel.
virtual G4bool G4VFastSimulationModel::ModelTrigger | ( | const G4FastTrack & | ) | [pure virtual] |
Implemented in GFlashShowerModel.
G4bool G4VFastSimulationModel::operator== | ( | const G4VFastSimulationModel & | ) | const [inline] |