Hi Thomas, I agree that it would be nice to have an automatic link between the projection and its parent in such a way that a pad update will automatically show the status of the projection without recreating it. I have to think on the best way to implement this. Any suggestions? Rene Brun On Fri, 9 May 2003, Thomas Bretz wrote: > Hi all, > > I have some kind of online display in which I can display histograms > (TH?D drawn in a TRootEmbeddedCanvas). When our calculation is filling > the histogram I update the histogram continously (let's say each 5sec) > by calling pad->Modified() pad->Update() for the corresponding pad. This > works fine for the histograms we fill ourself, but how can I provide > online update of Projections of 2D histograms? I don't want to rebuild > the object every time. In principal it would be enough if I could update > the contants of a projection from the contants of its 'parent' > histogram. Any idea how I can do this (without Copy&Paste the code from > TH2::Project to my code)? > > Thanks in advance, > Thomas. >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET