Message: Re: Problem with scorer after changing the geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem with scorer after changing the geometry 

Forum: Hits, Digitization and Pileup
Re: Question Problem with scorer after changing the geometry (E Becheva)
Re: None Re: Problem with scorer after changing the geometry (Tsukasa Aso)
Date: 11 Jan, 2011
From: E Becheva <E Becheva>

Hello,

I investigated a little bit more. The problem seems to appear in G4PSEnergyDeposit::ProcessHits() when calling EvtMap->add(index,edep); where EvtMap is G4THitsMap<G4double> object.

There are values for index and for edep, so the problem should come from this G4HitsMap EvtMap.

I resolved the problem calling "G4RunManager::GetRunManager()->GeometryHasBeenModified();" in each Set() method (when setting a new volume value) instead of reconstructing the geometry using the method : G4RunManager::GetRunManager()->DefineWorldVolume(ConstructGeometry());.

It works now but I would like to undestand why the first method I used did not work, so I would be very happy if you can give me any explanations.

Thank you,

Cheers,

Emilia

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

1 None: Re: Problem with scorer after changing the geometry   (Tsukasa Aso - 20 Feb, 2011)
 Add Message Add Message
to: "Re: Problem with scorer after changing the geometry"

 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 ]