Message: Problem about c++ language in G4 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Problem about c++ language in G4  

Keywords: c++
Forum: Documentation and Examples
Date: 05 Nov, 2003
From: Kanin Aungskunsiri <>

Hi, everybody
I am a beginner for GEANT4 and c++. I try to learn G4 from the examples but I don't understand
some of c++ structures, i.e., these commands.......

[1]  G4Allocator<ExN04CalorimeterHit> ExN04CalorimeterHitAllocator;

[2]  ExN04CalorimeterHit::ExN04CalorimeterHit(const ExN04CalorimeterHit &right)
      : G4VHit()
       {  }

What do [1] and  &right  (in the [2] ) mean? 
And which topic about c++ I have to look for it?
I have books about c++, but I don't know where to find and understand 
for the language.

Does anybody help? 

Kanin Aungskunsiri

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

1 Idea: re: "Problem about c++ language in G4 "   (valerie - 06 Nov, 2003)
 Add Message Add Message
to: "Problem about c++ language in G4 "

 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 ]