[Gate-users] ROOT file merging

Rajaram, Ramya (H USA) ramya.rajaram at siemens.com
Fri Jun 3 16:57:20 CEST 2011


Hi Didar,

The 'hadd' command is used to combine two or more root files - hadd
outputfile rootfile1 rootfile2 (or more).

Ramya
 

-----Original Message-----
From: gate-users-bounces at lists.opengatecollaboration.org
[mailto:gate-users-bounces at lists.opengatecollaboration.org] On Behalf Of
gate-users-request at lists.opengatecollaboration.org
Sent: Friday, June 03, 2011 5:00 AM
To: gate-users at lists.opengatecollaboration.org
Subject: Gate-users Digest, Vol 61, Issue 3

Send Gate-users mailing list submissions to
	gate-users at lists.opengatecollaboration.org

To subscribe or unsubscribe via the World Wide Web, visit
	
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
or, via email, send a message with subject or body 'help' to
	gate-users-request at lists.opengatecollaboration.org

You can reach the person managing the list at
	gate-users-owner at lists.opengatecollaboration.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gate-users digest..."


Today's Topics:

   1. Cluster tool - ROOT file merging (didar talat)
   2. Display projection (Yanfei Mao)


----------------------------------------------------------------------

Message: 1
Date: Thu, 2 Jun 2011 18:20:04 +0300
From: didar talat <didartalat at gmail.com>
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] Cluster tool - ROOT file merging
Message-ID: <BANLkTikwtMw9ybJhrtz4BBFYDxcWev3YFA at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Dear all,


I was able to split my macro and run my simulations on a cluster, but I
could not merge my root files. I get the following error:

Error in <TFile::TFile>: file root2.root does not exist         (I don't
get
the message for root1.root)
Not a readable file root2.root - exit!

I checked the root2.root output file using ROOT and everything seems to
be
normal.

What can be the problem?

Any suggestion and help will be appreciated!

Thank you,

Didar

-- 
Didar Talat
Research Assistant, PhD Candidate

Bogazici University
Kandilli Campus
Institute of Biomedical Engineering
34684 Cengelkoy - Istanbul / Turkey

Office:+90 216 516 34 76
Fax   :+90 216 516 34 79


------------------------------

Message: 2
Date: Thu, 2 Jun 2011 12:19:51 -0700 (PDT)
From: Yanfei Mao <yanfei_mao017 at yahoo.com>
To: GATE <gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] Display projection
Message-ID: <991749.94764.qm at web45209.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

Hello all,

I launch the example benchSPECT and get two files, a .hdr and a .sin.
How can I view the .sin file? What's the precision of .sin file, uint16
or float? I try matlab's interfileread function
img=interfileread('projec.hdr'), but it shows?Invalid expression in line
29 of projec.hdr.
line 29 of projec.hdr:? !scaling factor (mm/pixel) [1] := 0.904

When I use fread, all the data I get is zero. How can I get the
projection image?

Thank you!
Yanfei Mao

------------------------------

_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

End of Gate-users Digest, Vol 61, Issue 3
*****************************************


More information about the Gate-users mailing list