I thought so that there might be something wrong with using a TProfile here.
Actually I changed back and forth between TH1F and TProfile. I have x, y data points which I have to plot and I have an error on y.
So i take a histo fill it with
Fill(eff, rej) where my y data point is just the weight then and then I set the error as before?
now I know why i took TProfile (or TH1F). It is because i also need to divide one by the other to get a better comparisson of them nad this does not seem to be possible with TGraphErrors. Is there a way to do that similar to TProfile::Divide() or do I have to manually divide the input arrays and create a new TGrapErrors?