Message: Construct() in exampleN02 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Construct() in exampleN02 

Keywords: Construct()
Forum: Documentation and Examples
Date: 16 Oct, 2002
From: Takefumi Sora <Takefumi Sora>

Hi.
User concrete class derived from G4VUserDeterctorConstruction often
include the method "G4VPhysicalVolume* Construct()".
I wonder when the method is implemented.

In main function,
ExN02DetectorConstruction* ExN02detector = new ExN02DetectorConstruction.
 //at first we call ExN02DetectorConstruction default
 //constructor
runManager->SetUserInitialization(ExN02detctor)

There are only two lines related to DetectorConstruction class.

which line does call the method "Construct()"?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Construct() in exampleN02   (Makoto Asai - 16 Oct, 2002)
(_ Ok: I understood   (Takefumi Sora - 16 Oct, 2002)
 Add Message Add Message
to: "Construct() in exampleN02"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]