Importing/Using Langau

Hi,

I was trying to use a langau function for a fit but I always get an attribute error when I plug it into my TF1 fitfunction. I dont have the code here right now but I will provide it asap if required. Can someone maybe post a minimal example of how to use langau for fitting in python?

Cheers,
Chris

Chris,

an “attribute error” is a python thingy, but I don’t see anything called “langau” or “Langau” as member of TF1, so it’s not clear to me what you’re trying to do. Yes, some code please?

(Aside, landau instead of langau? I did see the langaus example, but sec “langau” does not appear anywhere in ROOT.)

Cheers,
Wim