Regarding Some Problem in TProfile [message #17553] |
Thu, 20 November 2014 14:48 |
Shyam Kumar
Messages: 78 Registered: September 2012 Location: Mumbai, Maharashtra India
|
continuous participant |
From: 103.21.125*
|
|
Dear All,
I am facing a problem in the use of TProfile I have plotted radiation length map by using TH2D and TProfile in TH2D X/X_0 vs theta is going up to 1.5% of X_0 but in TProfile It is going up to 0.7% of X_0 however macro used is same. Is there some problem with TProfile? Plots are attached.
Thank You
Shyam
|
|
|
|
|
|
|
|
|
Re: Regarding Some Problem in TProfile [message #17561 is a reply to message #17560] |
Sat, 22 November 2014 11:12 |
Shyam Kumar
Messages: 78 Registered: September 2012 Location: Mumbai, Maharashtra India
|
continuous participant |
From: 103.21.126*
|
|
Hi,
The Problem is solved, Since TH2D and TProfile are the two different approaches, In TH2D entries are filled like (x,y) but Tprofile It shows the values mean value of Y for each bin interms of entries so we can not compare them. I have written a test macro (attached) to check it.
Thank You
Shyam
-
Attachment: test.C
(Size: 0.30KB, Downloaded 268 times)
[Updated on: Sat, 22 November 2014 11:14] Report message to a moderator
|
|
|