Import Geant4 11.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2024-06-28 13:08:51 +02:00
parent f7b23877ed
commit e58e650b32
5232 changed files with 239416 additions and 244360 deletions
@@ -30,12 +30,12 @@
#ifndef GunPrimaryGeneratorAction_h
#define GunPrimaryGeneratorAction_h 1
#include "G4VUserPrimaryGeneratorAction.hh"
#include "G4ThreeVector.hh"
#include "globals.hh"
#include "CLHEP/Units/SystemOfUnits.h"
#include "G4ThreeVector.hh"
#include "G4VUserPrimaryGeneratorAction.hh"
#include "globals.hh"
class G4ParticleGun;
class G4Event;
@@ -49,11 +49,10 @@ namespace Common
class GunPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
GunPrimaryGeneratorAction(
const G4String& particleName = "geantino",
G4double energy = 1.*CLHEP::MeV,
G4ThreeVector position= G4ThreeVector(0,0,0),
G4ThreeVector momentumDirection = G4ThreeVector(0,0,1));
GunPrimaryGeneratorAction(const G4String& particleName = "geantino",
G4double energy = 1. * CLHEP::MeV,
G4ThreeVector position = G4ThreeVector(0, 0, 0),
G4ThreeVector momentumDirection = G4ThreeVector(0, 0, 1));
~GunPrimaryGeneratorAction() override;
// methods
@@ -61,9 +60,9 @@ class GunPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
private:
// data members
G4ParticleGun* fParticleGun = nullptr;
G4ParticleGun* fParticleGun = nullptr;
};
}
} // namespace Common
#endif