Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
testDetectorConstruction.cc File Reference

Test program for the detectorConstruction common classes. More...

#include "ExG4DetectorConstruction01.hh"
#include "ExG4DetectorConstruction02.hh"

Go to the source code of this file.

Functions

int main ()
 

Detailed Description

Test program for the detectorConstruction common classes.

Definition in file testDetectorConstruction.cc.

Function Documentation

int main ( )

Definition at line 38 of file testDetectorConstruction.cc.

39 {
40  // Instantiate all detector construction classes
41  ExG4DetectorConstruction01* detectorConstruction01
43  ExG4DetectorConstruction02* detectorConstruction02
45 
46  // delete all
47  delete detectorConstruction01;
48  delete detectorConstruction02;
49 
50  return 0;
51 }
Simple detector construction with only a world volume.
Simple detector construction with a box volume placed in a world.