35 #include "PrimaryGeneratorAction.hh"
36 #include "DetectorConstruction.hh"
75 int numberOfEvent = 1;
76 runManager->
BeamOn(numberOfEvent);
Definition of the MCTruthManager class.
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
virtual void BeamOn(G4int n_event, const char *macroFile=0, G4int n_select=-1)
The primary generator action class with particle gun.
void AddParticleType(G4int type)
int main(int argc, char **argv)
Definition of the MCTruthTrackingAction class.
void SetConfig(MCTruthConfig *c)
static MCTruthManager * GetInstance()
virtual void Initialize()
Simple detector construction with a box volume placed in a world.
Definition of the MCTruthEventAction class.