Message: Scoring using parallel world Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Scoring using parallel world 

Forum: Biasing and Scoring
Date: May 09, 06:30
From: elnaz yazd <elnaz yazd>

I am computing dose profile by readout Geometry (G4Parallel world). The mass geometry is a world and phantom and a detector inside phantom. I defined a parallel world and a phantom and detector inside it with dimensions equal with the mass ones. I checked the geometries by /vis/drawVolume worlds command in vis.mac file. They are Ok. Then I define a sensitive and a hit class to score edep and positions in ProcessHits method of sensitive class. Also I assigned the sensitive class to logical volume of detector in ConstructSD() method of parallel world as following:

void MRTParallelWorld::ConstructSD()
{
  G4String detectorSDname = "/mydet/dosimeter";
  RE05TrackerSD * detectorSD = new RE05TrackerSD(detectorSDname);
  G4SDManager::GetSDMpointer()->AddNewDetector(detectorSD);
  SetSensitiveDetector(logicDetectorRO,detectorSD);
  //G4cout<<" Function ConstructSD() is called edep is:  "<<G4endl;
}

my problem is that, the ProcessHits method is not called during executing application and my root file is empty. this sensitive detector works when I assign it to detector of real mass world. What can be problem?. with Best Regards, Yazdan

 Add Message Add Message
to: "Scoring using parallel world"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews