Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -38,22 +38,21 @@ class G4Event;
|
||||
// virtual method GeneratePrimaries() which is invoked from G4RunManager
|
||||
// during the event loop.
|
||||
// Note that this class is NOT intended for generating primary vertex/particle
|
||||
// by itself. This class should
|
||||
// - have one or more G4VPrimaryGenerator concrete classes such as G4ParticleGun
|
||||
// by itself. This class should
|
||||
// - have one or more G4VPrimaryGenerator concrete classes such as
|
||||
// G4ParticleGun
|
||||
// - set/change properties of generator(s)
|
||||
// - pass G4Event object so that the generator(s) can generate primaries.
|
||||
//
|
||||
|
||||
class G4VUserPrimaryGeneratorAction
|
||||
{
|
||||
public:
|
||||
G4VUserPrimaryGeneratorAction();
|
||||
virtual ~G4VUserPrimaryGeneratorAction();
|
||||
public:
|
||||
G4VUserPrimaryGeneratorAction();
|
||||
virtual ~G4VUserPrimaryGeneratorAction();
|
||||
|
||||
public:
|
||||
virtual void GeneratePrimaries(G4Event* anEvent) = 0;
|
||||
public:
|
||||
virtual void GeneratePrimaries(G4Event* anEvent) = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user