56 int main(
int argc,
char** argv)
61 G4cout <<
"Please give 'write' or 'read' as argument " <<
G4endl;
67 if(std::string(argv[1]) ==
"read")
71 else if(std::string(argv[1]) ==
"write")
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
Primary generator action.
Definition of the ExP02DetectorConstruction class.
int main(int argc, char **argv)
Detector construction reader using ROOT I/O.
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
TFTFP_BERT< G4VModularPhysicsList > FTFP_BERT
Definition of the ExP02DetConstrReader class.
Definition of the ExP02PrimaryGeneratorAction class.
virtual void Initialize()
G4int ApplyCommand(const char *aCommand)
virtual void SetUserAction(G4UserRunAction *userAction)