Changeset 109 for MEMPHYS


Ignore:
Timestamp:
Jan 25, 2006, 4:25:55 PM (18 years ago)
Author:
barrand
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MEMPHYS/HEAD/applications/MEMPHYS_session.cxx

    r108 r109  
    154154  }
    155155
     156  //JEC 18/11/05 give the appManager to fill geometry ITuple
     157  MEMPHYS::DetectorConstruction* MEMPHYSdetector =
     158    new MEMPHYS::DetectorConstruction(*appManager);
     159
     160  runManager->SetUserInitialization(MEMPHYSdetector);
     161
     162  runManager->SetUserInitialization(new MEMPHYS::PhysicsList);
     163
    156164  G4UImanager* UI = G4UImanager::GetUIpointer();
    157165  if (UI) {
     
    162170
    163171 
    164   //JEC 18/11/05 give the appManager to fill geometry ITuple
    165   MEMPHYS::DetectorConstruction* MEMPHYSdetector =
    166     new MEMPHYS::DetectorConstruction(*appManager);
    167 
    168   runManager->SetUserInitialization(MEMPHYSdetector);
    169 
    170   runManager->SetUserInitialization(new MEMPHYS::PhysicsList);
    171 
    172172  // Set user action classes
    173173  MEMPHYS::PrimaryGeneratorAction* myGeneratorAction =
Note: See TracChangeset for help on using the changeset viewer.