[Gate-users] Merging muliple root files on cluster
Marc Chamberland
MarcChamberland at cmail.carleton.ca
Fri Oct 12 11:38:54 CEST 2012
Hi!
Just use the hadd utility (it comes with Root). For example, if you want to merge output1.root and output2.root into one file called mergedOutput.root, you would type:
> hadd mergedOutput.root output1.root output2.root
Hope this helps!
Marc
__________________________
Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)
Le 2012-10-12 à 4:01 AM, bassim <bassim.aklan at imp.uni-erlangen.de>
a écrit :
> Hallo Gate user,
> I have a problem with the root file merger "gjm", when I use it to combine my root files. I am using Gate (v6.1) for my Monto Carlo simulation. Ich habe benn run a simulation on the cluster and I get as output two large root files each with 5 GB. I try to use the gjm in the cluster_tool to merge my root files but I get flowing error: Merge: No latest_event_ID histogram - exit!. Can anybody help me with this problem or is there any anther method to combine root files. By the way I was trying combining the root files on our cluster. I would be appreciated, if someone can give some solutions.
>
> Best regards,
> B. Aklan
>
> --
> Bassim Aklan, M.Sc.
> Institute of Medical Physics - Section for MR Imaging
> University of Erlangen-Nuremberg
> Henkestr. 91
> 91052 Erlangen, Germany
> phone: +49-(0)9131/85-25545
> Mobile phone: +49-17665299782
> bassim.aklan at imp.uni-erlangen.de
> Homepage: www.imp.uni-erlangen.de/mri
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
More information about the Gate-users
mailing list