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

None Re: Root file creation 

Forum: Persistency
Re: Question Root file creation (Kosta Kliakhandler)
Re: None Re: Root file creation (Matej Batic)
Date: 17 Feb, 2011
From: Kosta Kliakhandler <Kosta Kliakhandler>

--90e6ba6153e89915a2049c7c3bd6
Content-Type: text/plain; charset=UTF-8

Hi Matej,

Thanks for the reply.

I did solve the issue - by creating the ttree manually, instead of
serializing some object automatically.

Thanks for the help,
Kosta


On Wed, Sep 8, 2010 at 20:41, Matej Bati&#269; <matej.batic@ijs.si> wrote:

>
> *** Discussion title: Persistency
>
> Hi Kosta,
>
> I know quite some time has passed from your last post. Have you managed
> to solve your problem?
>
> The question is what would you like to write to root file? Root file is
> binary format, basically used to write TObjects. So if you would like to
> write your own data to the TFile, you either have to be able to use
> predefined TObjects, like TH** (histograms), trees, ntuples or you have
> to compile your own data structure that inherits from TObject (in order
> to get so-called dictionary, where streamers, used to write to/from
> .root file are generated)
>
> Let me know. Best, m
>
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or
> unsubscribe) at:
>
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/persistency/22/1.html
>

--90e6ba6153e89915a2049c7c3bd6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Matej,<br><br>Thanks for the reply.<br><br>I did solve =
the issue - by creating the ttree manually, instead of serializing some obj=
ect automatically.<br><br>Thanks for the help,<br>Kosta<br>
<br><br><div class=3D"gmail_quote">On Wed, Sep 8, 2010 at 20:41, Matej Bati=
&amp;#269; <span dir=3D"ltr">&lt;<a href=3D"mailto:matej.batic@ijs.si">mate=
j.batic@ijs.si</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
*** Discussion title: Persistency<br>
<br>
Hi Kosta,<br>
<br>
I know quite some time has passed from your last post. Have you managed<br>
to solve your problem?<br>
<br>
The question is what would you like to write to root file? Root file is<br>
binary format, basically used to write TObjects. So if you would like to<br=
>
write your own data to the TFile, you either have to be able to use<br>
predefined TObjects, like TH** (histograms), trees, ntuples or you have<br>
to compile your own data structure that inherits from TObject (in order<br>
to get so-called dictionary, where streamers, used to write to/from<br>
.root file are generated)<br>
<br>
Let me know. Best, m<br>
<div class=3D"im"><br>
-------------------------------------------------------------<br>
Visit this GEANT4 at <a href=3D"http://hypernews.slac.stanford.edu" target=
=3D"_blank">hypernews.slac.stanford.edu</a> message (to reply or unsubscrib=
e) at:<br>
</div><a href=3D"http://hypernews.slac.stanford.edu/HyperNews/geant4/get/pe=
rsistency/22/1.html" target=3D"_blank">http://hypernews.slac.stanford.edu/H=
yperNews/geant4/get/persistency/22/1.html</a><br>
</blockquote></div><br></div>

--90e6ba6153e89915a2049c7c3bd6--

 Add Message Add Message
to: "Re: 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 ]