Message: Re: G4LogcalVolume class in ExampleN01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4LogcalVolume class in ExampleN01 

Keywords: G4LogicalVolume
Forum: Documentation and Examples
Re: Question G4LogcalVolume class in ExampleN01 (Takefumi Sora)
Date: 10 Oct, 2002
From: Makoto Asai <Makoto Asai>

 :  experimentalHall_log(0), tracker_log(0),
    calorimeterBlock_log(0), calorimeterLayer_log(0),
    experimentalHall_phys(0), calorimeterLayer_phys(0),
    calorimeterBlock_phys(0), tracker_phys(0)

"experimentalHall_log" is a pointer to G4LogicalVolume object
and thus this piece of code just means initializing this pointer 
to zero (NULL). It has nothing to do with the constructor of  
G4LogicalVolume. I would suggest you to consult to any C++ book
for "constructor initializer".

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

1 Ok: Thank you   (Takefumi Sora - 10 Oct, 2002)
 Add Message Add Message
to: "Re: G4LogcalVolume class in ExampleN01"

 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 ]