GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Hades » Pluto » [SOLVED] Beam Smear and Cross Sections
Re: Bear Smear and Cross Sections [message #13932 is a reply to message #13931] Wed, 05 September 2012 13:49 Go to previous messageGo to previous message
Michael Kunkel is currently offline  Michael Kunkel
Messages: 53
Registered: June 2011
continuous participant
From: *110.141.123.dynamic.ttnet.com.tr
Quote:


One can easily play with it already before the event loop by adding the following line in PScatterCrossSection.h:

PF2EvalBatch *GetFunction(void) {return pf2;};



When I add that line into the .h file, I get the error

Error: Can't call PScatterCrossSection::GetFunction() in current scope Draw_q_costheta.C:206:
Possible candidates are...
(in PScatterCrossSection)
(in PAngularDistribution)
(in PDistribution)
(in TF1)
(in TFormula)
Error: non class,struct,union object GetFunction() used with . or -> Draw_q_costheta.C:206:
*** Interpreter error recovered ***


I placed that line into the protected section of the .h file.
I also placed it in the public, but still did not work.


Also, what would linear interpolation do? I would think with the histograms fitted and filled to be smooth, further interpolation would not be needed.

[Updated on: Wed, 05 September 2012 13:50]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New Pluto web page
Next Topic: [SOLVED] PAnyDistribution broke in v5.40.5
Goto Forum:
  


Current Time: Tue Oct 26 14:05:58 CEST 2021

Total time taken to generate the page: 0.02706 seconds