28 #ifndef toROOTGPSPrimaryGeneratorAction_h
29 #define toROOTGPSPrimaryGeneratorAction_h 1
32 #include "G4ParticleMomentum.hh"
33 #include "G4ParticleDefinition.hh"
35 #include "G4SPSPosDistribution.hh"
36 #include "G4SPSAngDistribution.hh"
37 #include "G4SPSEneDistribution.hh"
38 #include "G4SPSRandomGenerator.hh"
40 #include "G4VUserPrimaryGeneratorAction.hh"
92 TChain *theChainOfPrimaryEvents;
96 Long64_t fCurrentEntry;
103 #include "G4UImessenger.hh"
106 class G4UIcmdWithAString;
126 G4UIdirectory *theDirectory;
127 G4UIcmdWithAString *resetParametersCmd;
virtual ~toROOTGPSPrimaryGeneratorAction()
virtual void GeneratePrimaries(G4Event *anEvent)
toROOTGPSPrimaryGeneratorActionMessanger(toROOTGPSPrimaryGeneratorAction *)
void GetInputFiles(G4String filename="setup/toROOTGPS")
from a given file, it reads the characteristics of the gamma cascade
~toROOTGPSPrimaryGeneratorActionMessanger()
first step to a general file (ROOT) GPS generator in which events are read from files and/or generata...
void SetNewValue(G4UIcommand *, G4String)
Messanger class for ParisBasicPrimaryGenerator.
toROOTGPSPrimaryGeneratorAction()