python bindings to be tested (arm vs intep python issues)
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#define B4aActionInitialization_h 1
|
||||
|
||||
#include "G4VUserActionInitialization.hh"
|
||||
|
||||
#include "PrimaryGeneratorAction.hh"
|
||||
|
||||
namespace B4
|
||||
{
|
||||
@@ -52,8 +52,17 @@ class ActionInitialization : public G4VUserActionInitialization
|
||||
void BuildForMaster() const override;
|
||||
void Build() const override;
|
||||
|
||||
void setGeneratorProperties(G4double minEnergy, G4double maxEnergy, G4String partSpecies){
|
||||
this->minEnergy = minEnergy;
|
||||
this->maxEnergy = maxEnergy;
|
||||
this->partSpecies = partSpecies;
|
||||
}
|
||||
|
||||
private:
|
||||
B4::DetectorConstruction* fDetConstruction = nullptr;
|
||||
G4double minEnergy;
|
||||
G4double maxEnergy;
|
||||
G4String partSpecies;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user