Message: Double_t against G4double Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Double_t against G4double 

Keywords: ROOT casting
Forum: Analysis
Date: 08 Jan, 2006
From: Sara Vecchio <sara.vecchio@pi.infn.it>

I am trying to use ROOT Trees to store data from my G4 montecarlo. But when I define the tree elements, I must use the Double_t/Int_t/... formats from ROOT. However my results are from G4, and then I only have G4double/G4int/.. values! What I get is a good ROOT file, with wrong numbers inside. I am preatty sure that there is something very stupid that I am missing to solve the conversion: could someone give me a hint?

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

1 None: Re: Double_t against G4double   (Klaus Grimm - 08 Jan, 2006)
(_ More: Re: Double_t against G4double   (Sara Vecchio - 09 Jan, 2006)
(_ Warning: Re: Double_t against G4double   (Sara Vecchio - 09 Jan, 2006)
 Add Message Add Message
to: "Double_t against G4double"

 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 ]