Hello Arthur,
thank you for answer. Actually I tried to use this function, but
don't succeed.
Could you please check what is wrong with short macro attached to
this mail?
Anton
Thursday, September 18, 2008, 10:33:37 PM, you wrote:
> virtual Double_t getVal(const RooArgSet* set=0) const ;
> inline Double_t
> getVal(const RooArgSet& set) const { return getVal(&set) ; }
> I believe that these functions from |RooAbsReal| (one of base classes of
> |RooAbsPdf|) should do what you want.
> -Art
> A.E. Snyder, Group EC \!c*p?/
> SLAC Mail Stop #95 ((. .))
> Box 4349 |
> Stanford, Ca, USA, 94309 '\|/`
> e-mail:snyder_at_slac.stanford.edu o
> phone:650-926-2701 _
> http://www.slac.stanford.edu/~snyder BaBar
> FAX:650-926-2657 Collaboration
> On Thu, 18 Sep 2008, Anton Korneev wrote:
>> Hello dear rooters, >> >> how can I calculate value of PDF in given point? >> Let say I have this function declaration: >> >> double calc(const RooAbsPdf& pdf, const RooArgSet& p) >> { >> ??? >> } >> >> -- >> Best regards, >> Anton >> >>Received on Fri Sep 19 2008 - 15:17:36 CEST
- text/plain attachment: fittest2.cxx
This archive was generated by hypermail 2.2.0 : Sat Sep 20 2008 - 05:50:05 CEST