Message: Re: example B3 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: example B3 

Forum: Event and Track Management
Re: Sad example B3 (Hanan)
Re: None Re: example B3 (Ivana Hrivnacova)
Date: 11 Dec, 2013
From: Hanan <Hanan>

Thank you for your answer

I am working on geant4.9.6.1

I have worked on B3 and added analysis manager to my eventaction and runaction just as in B4

This is a part of my event action code

// get analysis manager
  G4AnalysisManager* analysisManager = G4AnalysisManager::Instance();

  // fill histograms
  analysisManager->FillH1(1, nbOfFired);
  analysisManager->FillH1(2, dose);
  analysisManager->FillH1(3, edep);

  // fill ntuple
  analysisManager->FillNtupleDColumn(0, nbOfFired);
  analysisManager->FillNtupleDColumn(1, dose);
  analysisManager->FillNtupleDColumn(2, edep);

when running number of events and patient dose are plotted and I can see their histograms but dose in crystal (edep) gives me error

 Add Message Add Message
to: "Re: example B3"

 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 ]