Message: FillNtupleDColumn Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question FillNtupleDColumn 

Forum: Analysis
Date: 14 May, 2013
From: sergi <sergi>

Hello,

I am a new user of Geant4-9.6.p01 and I am making my own program based on example N05. In this example is printed the energy deposit for each event both in EM calorimeter cristals and HAD calorimeter towers. I am trying to put this information in a Ntuple making in, EndOfEventAction, this:

G4AnalysisManager* analysismanager = G4AnalysisManager::Instance();

analysismanager->FillNtupleDColumn(0,(*CaloHC)[i]->GetEdep());

analysismanager->FillNtupleDColumn(1,(*HadCaloHC)[i]->GetEdep());

It doesn't work and i tried to put more commands but always with the same result. I also have watched the example B4c where this is made but the steps in the sensitive detector class are quite different.

I hope that somebody could help me with this. Thank you very much.

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

1 None: Re: FillNtupleDColumn   (Ivana Hrivnacova - 14 May, 2013)
(_ None: Re: FillNtupleDColumn   (Sergi - 15 May, 2013)
(_ None: Re: FillNtupleDColumn   (Ivana Hrivnacova - 15 May, 2013)
 Add Message Add Message
to: "FillNtupleDColumn"

 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 ]