Message: Re: Adding layer of different material in TestEm1 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Adding layer of different material in TestEm1 

Forum: Documentation and Examples
Re: None Adding layer of different material in TestEm1 (Arshiya Anees Ahmed)
Date: 20 Sep, 2017
From: michel maire <michel maire>

On Tue, 19 Sep 2017 14:07:53 GMT, Arshiya Anees Ahmed wrote:
> Dear all, I'm new to Geant4 and trying to construct a detector which
> contains two absorbers (different materials). I'm using TestEm1 (from
> Extended -> Electromagnet example). After few modifications, I'm getting
> an error which is like this
> 
> /home/arshiya/g4-work/TestEm1/src/DetectorMessenger.cc:141:44: error: no matching function for call to &#65533;DetectorConstruction::SetAbsorThickness(G4int&, G4double&)&#65533;
>       fDetector->SetAbsorThickness(num,thick);

 The message is explicit : in your DetectorConstruction you do not have a function named SetAbsorThickness (G4int&, G4double&)

> 
> I tried to add a material layer as TestEm3.
> 

  Multilayers geometry is shown in basic/B4, electromagnetic/TestEm3 and TestEm11

 Add Message Add Message
to: "Re: Adding layer of different material in TestEm1"

 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 ]