Skip to content
Snippets Groups Projects
Commit 666145fa authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

WIP: setup DummyFastSimG4Model

parent 4f52b394
No related branches found
No related tags found
No related merge requests found
#include "DummyFastSimG4Model.h"
DummyFastSimG4Model::DummyFastSimG4Model(G4String aModelName, G4Region* aEnvelope)
: G4VFastSimulationModel(aModelName, aEnvelope) {
}
DummyFastSimG4Model::~DummyFastSimG4Model() {
}
G4bool DummyFastSimG4Model::IsApplicable(const G4ParticleDefinition& aParticle) {
return true;
}
G4bool DummyFastSimG4Model::ModelTrigger(const G4FastTrack& aFastTrack) {
return true;
}
void DummyFastSimG4Model::DoIt(const G4FastTrack& aFastTrack, G4FastStep& aFastStep) {
}
#ifndef DummyFastSimG4Model_h
#define DummyFastSimG4Model_h
#include "G4VFastSimulationModel.hh"
class DummyFastSimG4Model: public G4VFastSimulationModel {
public:
DummyFastSimG4Model(G4String aModelName, G4Region* aEnvelope);
~DummyFastSimG4Model();
virtual G4bool IsApplicable( const G4ParticleDefinition& aParticle );
virtual G4bool ModelTrigger( const G4FastTrack& aFastTrack );
virtual void DoIt( const G4FastTrack& aFastTrack, G4FastStep& aFastStep );
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment