Message: Set() and Get() methods in Hadrontherapy Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Set() and Get() methods in Hadrontherapy 

Forum: Geometry
Date: 12 Nov, 2008
From: Jonathan Mbewe <Jonathan Mbewe>

Hallo all
In the HadrontherapyBeamLine class of the Hadrontherapy example, there are
the following function definitions;

void HadrontherapyBeamLine::SetSecondScatteringFoilXSize(G4double value)
{
  secondScatteringFoil -> SetXHalfLength(value);
  G4cout <<"The X size of the second scattering foil is (mm):"<<
  ((secondScatteringFoil -> GetXHalfLength())*2.)/mm
<< G4endl;
}

void HadrontherapyBeamLine::SetOuterRadiusStopper(G4double value)
{
  solidStopper -> SetOuterRadius(value);
  G4cout << "OuterRadius od the Stopper is (mm):"
<< solidStopper -> GetOuterRadius()/mm
<< G4endl;
}

My question is, where are SetXHalfLength(), SetOuterRadius(), GetOuterRadius() and GetInnerRadius() methods prototyped and defined?

Thanks.

Jonathan

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

1 More: Re: Set() and Get() methods in Hadrontherapy   (Jonathan Mbewe - 13 Nov, 2008)
 Add Message Add Message
to: "Set() and Get() methods in Hadrontherapy"

 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 ]