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: 20 Jul, 2009
From: Kosta Kliakhandler <Kosta Kliakhandler>


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?


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

1 None: Re: Root file creation   (Matej Bati&#269; - 08 Sep, 2010)
(_ None: Re: Root file creation   (Kosta - 17 Feb, 2011)
 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 ]