19#ifndef BDSBUNCHFACTORY_H
20#define BDSBUNCHFACTORY_H
22#include "BDSBunchType.hh"
25#include "G4Transform3D.hh"
51 const G4Transform3D& beamlineTransform = G4Transform3D::Identity,
52 G4double beamlineS = 0,
53 G4bool generatePrimariesOnlyIn =
false);
58 const G4Transform3D& beamlineTransform = G4Transform3D::Identity,
59 G4double beamlineS = 0,
60 G4bool generatePrimariesOnlyIn =
false);
Factory class for BDSBunch.
static BDSBunch * CreateBunch(const BDSParticleDefinition *beamParticle, const GMAD::Beam &beam, const G4Transform3D &beamlineTransform=G4Transform3D::Identity, G4double beamlineS=0, G4bool generatePrimariesOnlyIn=false)
factory method
The base class for bunch distribution generators.
Wrapper for particle definition.
Improve type-safety of native enum data type in C++.
Parser namespace for GMAD language. Combination of Geant4 and MAD.