Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -32,10 +32,9 @@
|
||||
// * *
|
||||
// *******************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: BrachyFactoryI.cc 69765 2013-05-14 10:11:22Z gcosmo $
|
||||
//
|
||||
#include "BrachyFactoryI.hh"
|
||||
#include "BrachyPrimaryGeneratorActionI.hh"
|
||||
#include "BrachyDetectorConstructionI.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "Randomize.hh"
|
||||
@@ -49,7 +48,6 @@
|
||||
BrachyFactoryI:: BrachyFactoryI()
|
||||
{
|
||||
iodiumSource = new BrachyDetectorConstructionI();
|
||||
iodiumPrimaryParticle = new BrachyPrimaryGeneratorActionI();
|
||||
}
|
||||
|
||||
BrachyFactoryI::~BrachyFactoryI()
|
||||
@@ -57,15 +55,13 @@ BrachyFactoryI::~BrachyFactoryI()
|
||||
delete iodiumSource;
|
||||
}
|
||||
|
||||
void BrachyFactoryI::CreatePrimaryGeneratorAction(G4Event* anEvent)
|
||||
{
|
||||
iodiumPrimaryParticle -> GeneratePrimaries(anEvent);
|
||||
}
|
||||
|
||||
void BrachyFactoryI::CreateSource(G4VPhysicalVolume* mother)
|
||||
{
|
||||
iodiumSource -> ConstructIodium(mother);
|
||||
}
|
||||
|
||||
void BrachyFactoryI::CleanSource()
|
||||
{;}
|
||||
{
|
||||
iodiumSource -> CleanIodium();
|
||||
iodiumSource = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user