Ignore:
Timestamp:
Nov 5, 2010, 4:08:39 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/novice/N03/exampleN03.cc

    r1341 r1342  
    2525//
    2626//
     27<<<<<<< exampleN03.cc
    2728// $Id: exampleN03.cc,v 1.37 2009/10/30 15:06:01 allison Exp $
    2829// GEANT4 tag $Name: geant4-09-04-beta-01 $
     30=======
     31// $Id: exampleN03.cc,v 1.38 2010/10/18 15:56:17 maire Exp $
     32// GEANT4 tag $Name:  $
     33>>>>>>> 1.38
    2934//
    3035//
     
    3742#include "Randomize.hh"
    3843
    39 #include "ExN03DetectorConstruction.hh"
    40 #include "ExN03PhysicsList.hh"
    41 #include "ExN03PrimaryGeneratorAction.hh"
    42 #include "ExN03RunAction.hh"
    43 #include "ExN03EventAction.hh"
    44 #include "ExN03SteppingAction.hh"
    45 #include "ExN03SteppingVerbose.hh"
     44#include "DetectorConstruction.hh"
     45#include "PhysicsList.hh"
     46#include "PrimaryGeneratorAction.hh"
     47#include "RunAction.hh"
     48#include "EventAction.hh"
     49#include "SteppingAction.hh"
     50#include "SteppingVerbose.hh"
    4651
    4752#ifdef G4VIS_USE
     
    6772  // User Verbose output class
    6873  //
    69   G4VSteppingVerbose::SetInstance(new ExN03SteppingVerbose);
     74  G4VSteppingVerbose::SetInstance(new SteppingVerbose);
    7075     
    7176  // Construct the default run manager
     
    7580  // Set mandatory initialization classes
    7681  //
    77   ExN03DetectorConstruction* detector = new ExN03DetectorConstruction;
     82  DetectorConstruction* detector = new DetectorConstruction;
    7883  runManager->SetUserInitialization(detector);
    7984  //
    80   G4VUserPhysicsList* physics = new ExN03PhysicsList;
     85  PhysicsList* physics = new PhysicsList;
    8186  runManager->SetUserInitialization(physics);
    8287   
    8388  // Set user action classes
    8489  //
    85   G4VUserPrimaryGeneratorAction* gen_action =
    86                           new ExN03PrimaryGeneratorAction(detector);
     90  PrimaryGeneratorAction* gen_action =
     91                          new PrimaryGeneratorAction(detector);
    8792  runManager->SetUserAction(gen_action);
    8893  //
    89   ExN03RunAction* run_action = new ExN03RunAction; 
     94  RunAction* run_action = new RunAction; 
    9095  runManager->SetUserAction(run_action);
    9196  //
    92   ExN03EventAction* event_action = new ExN03EventAction(run_action);
     97  EventAction* event_action = new EventAction(run_action);
    9398  runManager->SetUserAction(event_action);
    9499  //
    95   G4UserSteppingAction* stepping_action =
    96                     new ExN03SteppingAction(detector, event_action);
     100  SteppingAction* stepping_action =
     101                    new SteppingAction(detector, event_action);
    97102  runManager->SetUserAction(stepping_action);
    98103 
Note: See TracChangeset for help on using the changeset viewer.