42 lines
931 B
C++
42 lines
931 B
C++
// ********************************************
|
|
// * *
|
|
// * BrachyPrimaryGeneratorAction.hh *
|
|
// * *
|
|
// ********************************************
|
|
|
|
|
|
#ifndef BrachyPrimaryGeneratorAction_h
|
|
#define BrachyPrimaryGeneratorAction_h 1
|
|
|
|
#include "G4VUserPrimaryGeneratorAction.hh"
|
|
#include "G4RadioactiveDecay.hh"
|
|
|
|
class G4ParticleGun;
|
|
class G4Run;
|
|
class G4Event;
|
|
class BrachyAnalysisManager;
|
|
|
|
class BrachyPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
|
|
{
|
|
public:
|
|
BrachyPrimaryGeneratorAction();
|
|
~BrachyPrimaryGeneratorAction();
|
|
|
|
public:
|
|
void GeneratePrimaries(G4Event* anEvent);
|
|
|
|
|
|
private:
|
|
G4ParticleGun* m_pParticleGun;
|
|
|
|
G4RadioactiveDecay *m_pRadioactiveDecay;
|
|
G4double Energy;
|
|
|
|
// BrachyPrimaryGeneratorMessenger* gunMessenger;
|
|
G4std::vector<G4double> vettore;
|
|
};
|
|
|
|
#endif
|
|
|
|
|