54 int main(
int argc,
char** argv)
59 std::cout <<
"Please give 'write' or 'read' as argument " << std::endl;
65 if(std::string(argv[1]) ==
"read")
69 else if(std::string(argv[1]) ==
"write")
75 std::cout <<
"Wrong argument!" << std::endl;
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
Definition of the ExP02PhysicsList class.
Primary generator action.
Definition of the ExP02DetectorConstruction class.
int main(int argc, char **argv)
Detector construction reader using ROOT I/O.
static G4UImanager * GetUIpointer()
Definition of the ExP02DetConstrReader class.
Definition of the ExP02PrimaryGeneratorAction class.
virtual void Initialize()
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)