/[PAMELA software]/PamVMC_update/config/g4Config.C
ViewVC logotype

Diff of /PamVMC_update/config/g4Config.C

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by formato, Tue Oct 15 15:51:32 2013 UTC revision 1.2 by pam-fi, Fri Mar 27 15:43:38 2015 UTC
# Line 1  Line 1 
1  // $Id: g4Config.C,v 1.5 2009-06-12 18:39:13 pam-rm2 Exp $  // $Id: g4Config.C,v 1.1.1.1 2013-10-15 15:51:32 formato Exp $
2  //  //
3  // Configuration macro for Geant4 VirtualMC for PamG4VMC  // Configuration macro for Geant4 VirtualMC for PamG4VMC
4  // for geometry defined with Root and selected Geant4 native navigation  // for geometry defined with Root and selected Geant4 native navigation
# Line 19  void Config() Line 19  void Config()
19    
20    printf("Config() :: runConfiguration created\n");    printf("Config() :: runConfiguration created\n");
21    
22      char **argv = (char**) new char*[1];
23    
24      argv[0] = new char[10];
25      strcpy("PamVMC.exe", argv[0]);
26    
27    TGeant4* geant4    TGeant4* geant4
28      = new TGeant4("TGeant4_PAMELA", "The Geant4 PAMELA Monte Carlo", runConfiguration);      = new TGeant4("TGeant4_PAMELA", "The Geant4 PAMELA Monte Carlo", runConfiguration, 1, argv);
29    
30    printf("Config() :: TGeant4 object created\n");    printf("Config() :: TGeant4 object created\n");
31    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23