Message: Root file creation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Root file creation 

Forum: Persistency
Date: Jul 20, 16:41
From: Kliakhandler Kosta <Kliakhandler Kosta>

Hello,

I have not found many examples of creating a root file with data, and the one I found (Persistency 01) does not compile for some reason (can't find the Txxx.h headers).

Despite this, I have managed to create something which compiles and creates a file. However, The file is always 314 bytes long, no matter what I try to write out to it.

I use something very similar to the RootIO class from the Persistency 01 example. I would like to write out hits, but I tried writing almost anything, including just a bunch of integers. Nothing works.

I can provide the code if it would help diagnosis. Any ideas?

Thanks.

 Add Message Add Message
to: "Root file creation"

 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 ]