Geant4 examples
Functions
extended/common/detectorConstruction/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.

{
  // Instantiate all detector construction classes
  ExG4DetectorConstruction01* detectorConstruction01
    = new ExG4DetectorConstruction01;
  ExG4DetectorConstruction02* detectorConstruction02
    = new ExG4DetectorConstruction02;
  
  // delete all
  delete detectorConstruction01;
  delete detectorConstruction02;

  return 0;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines